Fix failing tests.
The generator number is set to SPV_GENERATOR_KHRONOS in the spvBinaryHeaderSet function, so tests should catch up.
This commit is contained in:
Родитель
81d7d49a20
Коммит
3a7315498f
|
@ -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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче