mirror of
https://github.com/KhronosGroup/SPIRV-Tools
synced 2024-12-25 17:21:06 +00:00
Merge branch 'fix-failing-test' into 'master'
Fix failing test The generator number is set to `SPV_GENERATOR_KHRONOS` in the `spvBinaryHeaderSet` function, so tests should catch up. See merge request !2
This commit is contained in:
commit
67cdf9fba6
@ -92,7 +92,7 @@ OpTypeVector %15 4 2
|
||||
// TODO: Verify binary
|
||||
ASSERT_EQ(SPV_MAGIC_NUMBER, binary->code[SPV_INDEX_MAGIC_NUMBER]);
|
||||
ASSERT_EQ(SPV_VERSION_NUMBER, binary->code[SPV_INDEX_VERSION_NUMBER]);
|
||||
ASSERT_EQ(SPV_GENERATOR_CODEPLAY, binary->code[SPV_INDEX_GENERATOR_NUMBER]);
|
||||
ASSERT_EQ(SPV_GENERATOR_KHRONOS, binary->code[SPV_INDEX_GENERATOR_NUMBER]);
|
||||
ASSERT_EQ(16, binary->code[SPV_INDEX_BOUND]); // TODO: Bound?
|
||||
ASSERT_EQ(0, binary->code[SPV_INDEX_SCHEMA]); // Reserved: schema
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user