Build: Switch to Rev. 6 of headers, removing "BadValue" enum stuff.
Note: Technically, this is glslang's modified private copy of official headers. Official headers will appear in other places, like https://github.com/KhronosGroup/SPIRV-Headers.
This commit is contained in:
parent
efb89a3d2e
commit
4016e38bea
4 changed files with 950 additions and 918 deletions
|
|
@ -907,7 +907,7 @@ void Builder::addLine(Id target, Id fileName, int lineNum, int column)
|
|||
|
||||
void Builder::addDecoration(Id id, Decoration decoration, int num)
|
||||
{
|
||||
if (decoration == (spv::Decoration)spv::BadValue)
|
||||
if (decoration == spv::DecorationMax)
|
||||
return;
|
||||
Instruction* dec = new Instruction(OpDecorate);
|
||||
dec->addIdOperand(id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue