X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fglsl%2Fspirv.cpp;h=13c58a695ab3668d9c0a605ce679f1d00565a997;hp=7f0d0b702d1ba3c75d2e3465308dc090bc83e6a0;hb=e98188ff6c9bba9761b71f2a69f3be7eb89ba3da;hpb=f7682c3c2e9f028cef6945ffbada66cff33585c0 diff --git a/source/glsl/spirv.cpp b/source/glsl/spirv.cpp index 7f0d0b70..13c58a69 100644 --- a/source/glsl/spirv.cpp +++ b/source/glsl/spirv.cpp @@ -1609,11 +1609,6 @@ void SpirVGenerator::visit(VariableDeclaration &var) writer.write_op_decorate(var_id, DECO_SPEC_ID, spec_id); *spec_var_id = var_id; } - - /* It's unclear what should be done if a specialization constant is - initialized with anything other than a literal. GLSL doesn't seem to - prohibit that but SPIR-V says OpSpecConstantOp can't be updated via - specialization. */ } else {