rt test: the plain-draws test matches the mixed buffer's error alone, as the buffer is not Debug (red still)
Job m3-max-81201 (msi, lavapipe) at 2ce4455b36 did not compile the runtime's tests: the match on
new_indirect_command_buffer's Result printed its other arm with {:?}, and IndirectCommandBuffer
is not Debug. The check now matches the Result's error, an Option. The engine leg of that job
was red as meant: a_kernels_plain_triangle_draws_into_commands_compile_under_the_identity_domains
failed and the four other engine tests passed.
This commit is contained in:
1 parent
e9efa22405
commit
2fe776acf3
1 file changed
+3
-3
@@ -609,11 +609,11 @@ mod on_device {
|
||||
each_device("icb_encoded_plain_draws", |name, _, device| {
|
||||
let mut both = descriptor(3, 0);
|
||||
both.command_types = IndirectCommandType::DRAW | IndirectCommandType::DRAW_INDEXED;
|
||||
match device.new_indirect_command_buffer(&both, N) {
|
||||
Err(Error::Unsupported(Gap::IndirectCommandBuffers {
|
||||
match device.new_indirect_command_buffer(&both, N).err() {
|
||||
Some(Error::Unsupported(Gap::IndirectCommandBuffers {
|
||||
kind: IndirectCommandsKind::CommandTypes,
|
||||
})) => {}
|
||||
Err(Error::Unsupported(Gap::IndirectCommandBuffers {
|
||||
Some(Error::Unsupported(Gap::IndirectCommandBuffers {
|
||||
kind: IndirectCommandsKind::Extension,
|
||||
})) if device.core().indirect.is_none() => {}
|
||||
other => panic!("{name}: plain and indexed draws together: {other:?}"),
|
||||
|
||||
Reference in new issue
Block a user