Fix english

This commit is contained in:
Pierre Krieger 2016-08-21 12:44:10 +02:00
parent 98dcde4101
commit 7f8b8ae09c
6 changed files with 28 additions and 28 deletions

View File

@ -119,15 +119,15 @@ unsafe impl<'a, L, Pl, S, Pc> StdCommandsList for DispatchCommand<'a, L, Pl, S,
}
#[inline]
fn is_compute_pipeline_binded<OPl>(&self, pipeline: &Arc<ComputePipeline<OPl>>) -> bool {
fn is_compute_pipeline_bound<OPl>(&self, pipeline: &Arc<ComputePipeline<OPl>>) -> bool {
pipeline.internal_object() == self.pipeline.internal_object()
}
#[inline]
fn is_graphics_pipeline_binded<Pv, OPl, Prp>(&self, pipeline: &Arc<GraphicsPipeline<Pv, OPl, Prp>>)
fn is_graphics_pipeline_bound<Pv, OPl, Prp>(&self, pipeline: &Arc<GraphicsPipeline<Pv, OPl, Prp>>)
-> bool
{
self.previous.is_graphics_pipeline_binded(pipeline)
self.previous.is_graphics_pipeline_bound(pipeline)
}
#[inline]
@ -169,7 +169,7 @@ unsafe impl<'a, L, Pl, S, Pc> StdCommandsList for DispatchCommand<'a, L, Pl, S,
let my_sets = self.sets;
let my_push_constants = self.push_constants;
let my_dimensions = self.dimensions;
let bind_pipeline = !self.previous.is_compute_pipeline_binded(&my_pipeline);
let bind_pipeline = !self.previous.is_compute_pipeline_bound(&my_pipeline);
// Passing to the parent.
let parent = self.previous.raw_build(|cb| {

View File

@ -156,13 +156,13 @@ unsafe impl<'a, L, Pv, Pl, Prp, S, Pc> StdCommandsList for DrawCommand<'a, L, Pv
}
#[inline]
fn is_compute_pipeline_binded<OPl>(&self, pipeline: &Arc<ComputePipeline<OPl>>) -> bool {
fn is_compute_pipeline_bound<OPl>(&self, pipeline: &Arc<ComputePipeline<OPl>>) -> bool {
self.previous.is_compute_pipeline_binded(pipeline)
self.previous.is_compute_pipeline_bound(pipeline)
}
#[inline]
fn is_graphics_pipeline_binded<OPv, OPl, OPrp>(&self, pipeline: &Arc<GraphicsPipeline<OPv, OPl, OPrp>>)
fn is_graphics_pipeline_bound<OPv, OPl, OPrp>(&self, pipeline: &Arc<GraphicsPipeline<OPv, OPl, OPrp>>)
-> bool
{
pipeline.internal_object() == self.pipeline.internal_object()
@ -204,7 +204,7 @@ unsafe impl<'a, L, Pv, Pl, Prp, S, Pc> StdCommandsList for DrawCommand<'a, L, Pv
// while it's partially moved out.
let my_barrier = self.pipeline_barrier;
let my_pipeline = self.pipeline;
let bind_pipeline = !self.previous.is_graphics_pipeline_binded(&my_pipeline);
let bind_pipeline = !self.previous.is_graphics_pipeline_bound(&my_pipeline);
let my_sets = self.sets;
let my_push_constants = self.push_constants;
let my_vertex_buffers = self.vertex_buffers;

View File

@ -88,13 +88,13 @@ unsafe impl<P> StdCommandsList for PrimaryCbBuilder<P> where P: CommandPool {
}
#[inline]
fn is_compute_pipeline_binded<Pl>(&self, pipeline: &Arc<ComputePipeline<Pl>>) -> bool {
fn is_compute_pipeline_bound<Pl>(&self, pipeline: &Arc<ComputePipeline<Pl>>) -> bool {
false
}
#[inline]
fn is_graphics_pipeline_binded<Pv, Pl, Prp>(&self, pipeline: &Arc<GraphicsPipeline<Pv, Pl, Prp>>)
fn is_graphics_pipeline_bound<Pv, Pl, Prp>(&self, pipeline: &Arc<GraphicsPipeline<Pv, Pl, Prp>>)
-> bool
{
false

View File

@ -172,10 +172,10 @@ pub unsafe trait StdCommandsList {
where I: TrackedImage;
/// Returns true if the given compute pipeline is currently binded in the commands list.
fn is_compute_pipeline_binded<Pl>(&self, pipeline: &Arc<ComputePipeline<Pl>>) -> bool;
fn is_compute_pipeline_bound<Pl>(&self, pipeline: &Arc<ComputePipeline<Pl>>) -> bool;
/// Returns true if the given graphics pipeline is currently binded in the commands list.
fn is_graphics_pipeline_binded<Pv, Pl, Prp>(&self, pipeline: &Arc<GraphicsPipeline<Pv, Pl, Prp>>)
fn is_graphics_pipeline_bound<Pv, Pl, Prp>(&self, pipeline: &Arc<GraphicsPipeline<Pv, Pl, Prp>>)
-> bool;
/// Turns the commands list into a command buffer.

View File

@ -113,16 +113,16 @@ unsafe impl<L, Rp, Rpf> StdCommandsList for BeginRenderPassCommand<L, Rp, Rpf>
}
#[inline]
fn is_compute_pipeline_binded<Pl>(&self, pipeline: &Arc<ComputePipeline<Pl>>) -> bool {
fn is_compute_pipeline_bound<Pl>(&self, pipeline: &Arc<ComputePipeline<Pl>>) -> bool {
self.previous.is_compute_pipeline_binded(pipeline)
self.previous.is_compute_pipeline_bound(pipeline)
}
#[inline]
fn is_graphics_pipeline_binded<Pv, Pl, Prp>(&self, pipeline: &Arc<GraphicsPipeline<Pv, Pl, Prp>>)
fn is_graphics_pipeline_bound<Pv, Pl, Prp>(&self, pipeline: &Arc<GraphicsPipeline<Pv, Pl, Prp>>)
-> bool
{
self.previous.is_graphics_pipeline_binded(pipeline)
self.previous.is_graphics_pipeline_bound(pipeline)
}
unsafe fn raw_build<I, F>(self, additional_elements: F, barriers: I,
@ -275,16 +275,16 @@ unsafe impl<L> StdCommandsList for NextSubpassCommand<L>
}
#[inline]
fn is_compute_pipeline_binded<Pl>(&self, pipeline: &Arc<ComputePipeline<Pl>>) -> bool {
fn is_compute_pipeline_bound<Pl>(&self, pipeline: &Arc<ComputePipeline<Pl>>) -> bool {
self.previous.is_compute_pipeline_binded(pipeline)
self.previous.is_compute_pipeline_bound(pipeline)
}
#[inline]
fn is_graphics_pipeline_binded<Pv, Pl, Prp>(&self, pipeline: &Arc<GraphicsPipeline<Pv, Pl, Prp>>)
fn is_graphics_pipeline_bound<Pv, Pl, Prp>(&self, pipeline: &Arc<GraphicsPipeline<Pv, Pl, Prp>>)
-> bool
{
self.previous.is_graphics_pipeline_binded(pipeline)
self.previous.is_graphics_pipeline_bound(pipeline)
}
unsafe fn raw_build<I, F>(self, additional_elements: F, barriers: I,
@ -415,16 +415,16 @@ unsafe impl<L> StdCommandsList for EndRenderPassCommand<L> where L: StdCommandsL
}
#[inline]
fn is_compute_pipeline_binded<Pl>(&self, pipeline: &Arc<ComputePipeline<Pl>>) -> bool {
fn is_compute_pipeline_bound<Pl>(&self, pipeline: &Arc<ComputePipeline<Pl>>) -> bool {
self.previous.is_compute_pipeline_binded(pipeline)
self.previous.is_compute_pipeline_bound(pipeline)
}
#[inline]
fn is_graphics_pipeline_binded<Pv, Pl, Prp>(&self, pipeline: &Arc<GraphicsPipeline<Pv, Pl, Prp>>)
fn is_graphics_pipeline_bound<Pv, Pl, Prp>(&self, pipeline: &Arc<GraphicsPipeline<Pv, Pl, Prp>>)
-> bool
{
self.previous.is_graphics_pipeline_binded(pipeline)
self.previous.is_graphics_pipeline_bound(pipeline)
}
unsafe fn raw_build<I, F>(self, additional_elements: F, barriers: I,

View File

@ -136,16 +136,16 @@ unsafe impl<'a, L, B, D: ?Sized> StdCommandsList for UpdateCommand<'a, L, B, D>
}
#[inline]
fn is_compute_pipeline_binded<Pl>(&self, pipeline: &Arc<ComputePipeline<Pl>>) -> bool {
fn is_compute_pipeline_bound<Pl>(&self, pipeline: &Arc<ComputePipeline<Pl>>) -> bool {
self.previous.is_compute_pipeline_binded(pipeline)
self.previous.is_compute_pipeline_bound(pipeline)
}
#[inline]
fn is_graphics_pipeline_binded<Pv, Pl, Prp>(&self, pipeline: &Arc<GraphicsPipeline<Pv, Pl, Prp>>)
fn is_graphics_pipeline_bound<Pv, Pl, Prp>(&self, pipeline: &Arc<GraphicsPipeline<Pv, Pl, Prp>>)
-> bool
{
self.previous.is_graphics_pipeline_binded(pipeline)
self.previous.is_graphics_pipeline_bound(pipeline)
}
unsafe fn raw_build<I, F>(mut self, additional_elements: F, barriers: I,