]> git.tdb.fi Git - libs/gl.git/blobdiff - source/glsl/spirv.cpp
Comment fixes
[libs/gl.git] / source / glsl / spirv.cpp
index 7f0d0b702d1ba3c75d2e3465308dc090bc83e6a0..13c58a695ab3668d9c0a605ce679f1d00565a997 100644 (file)
@@ -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
        {