conformance: the rt side draws the indirect steps through the runtime's indirect draws
RenderStep::DrawIndirect and DrawIndexedIndirect were Unavailable ("render step DrawIndirect")
on the rt side; they now call draw_primitives_indirect and draw_indexed_primitives_indirect
with the case's arguments buffer and offset, the indexed one's indices at its index offset.
This commit is contained in:
1 parent
aed460e0da
commit
f0198015f1
1 file changed
+21
@@ -643,6 +643,27 @@ impl RtSide<'_> {
|
||||
0,
|
||||
)
|
||||
.map_err(of_rt),
|
||||
RenderStep::DrawIndirect {
|
||||
primitive,
|
||||
arguments,
|
||||
offset,
|
||||
} => (encoder.draw_primitives_indirect(*primitive, buffer(*arguments)?, *offset))
|
||||
.map_err(of_rt),
|
||||
RenderStep::DrawIndexedIndirect {
|
||||
primitive,
|
||||
index_type,
|
||||
indices: held,
|
||||
index_offset,
|
||||
arguments,
|
||||
offset,
|
||||
} => encoder
|
||||
.draw_indexed_primitives_indirect(
|
||||
*primitive,
|
||||
indices(*held, *index_offset, *index_type)?,
|
||||
buffer(*arguments)?,
|
||||
*offset,
|
||||
)
|
||||
.map_err(of_rt),
|
||||
RenderStep::TessellationFactorBuffer {
|
||||
buffer: held,
|
||||
offset,
|
||||
|
||||
Reference in new issue
Block a user