Remove unnecessary semi-colons and add warning about them
These are causing integration issues with Chromium down stream since it is more strict about these.
This commit is contained in:
parent
696703800e
commit
7c9accb653
7 changed files with 18 additions and 17 deletions
|
|
@ -100,11 +100,11 @@ struct OpDecorations {
|
|||
spv::Decoration precision;
|
||||
|
||||
#ifdef GLSLANG_WEB
|
||||
void addNoContraction(spv::Builder&, spv::Id) const { };
|
||||
void addNonUniform(spv::Builder&, spv::Id) const { };
|
||||
void addNoContraction(spv::Builder&, spv::Id) const { }
|
||||
void addNonUniform(spv::Builder&, spv::Id) const { }
|
||||
#else
|
||||
void addNoContraction(spv::Builder& builder, spv::Id t) { builder.addDecoration(t, noContraction); };
|
||||
void addNonUniform(spv::Builder& builder, spv::Id t) { builder.addDecoration(t, nonUniform); };
|
||||
void addNoContraction(spv::Builder& builder, spv::Id t) { builder.addDecoration(t, noContraction); }
|
||||
void addNonUniform(spv::Builder& builder, spv::Id t) { builder.addDecoration(t, nonUniform); }
|
||||
protected:
|
||||
spv::Decoration noContraction;
|
||||
spv::Decoration nonUniform;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue