diff options
| -rw-r--r-- | source/slang/slang-reflection-json.cpp | 2 | ||||
| -rw-r--r-- | tests/reflection/attribute.slang.expected | 40 |
2 files changed, 4 insertions, 38 deletions
diff --git a/source/slang/slang-reflection-json.cpp b/source/slang/slang-reflection-json.cpp index 26cdafa46..d21161a12 100644 --- a/source/slang/slang-reflection-json.cpp +++ b/source/slang/slang-reflection-json.cpp @@ -420,8 +420,6 @@ static void emitReflectionVarLayoutJSON(PrettyWriter& writer, slang::VariableLay emitReflectionModifierInfoJSON(writer, var->getVariable()); emitReflectionVarBindingInfoJSON(writer, var); - - emitUserAttributes(writer, var->getVariable()); writer.dedent(); writer << "\n}"; } diff --git a/tests/reflection/attribute.slang.expected b/tests/reflection/attribute.slang.expected index 664613aef..dd969cf47 100644 --- a/tests/reflection/attribute.slang.expected +++ b/tests/reflection/attribute.slang.expected @@ -35,15 +35,7 @@ standard output = { ] } ], - "binding": {"kind": "uniform", "offset": 4, "size": 4, "elementStride": 0}, - "userAttribs": [ - { - "name": "DefaultValue", - "arguments": [ - 1 - ] - } - ] + "binding": {"kind": "uniform", "offset": 4, "size": 4, "elementStride": 0} } ], "userAttribs": [ @@ -87,15 +79,7 @@ standard output = { ] } ], - "binding": {"kind": "uniform", "offset": 4, "size": 4, "elementStride": 0}, - "userAttribs": [ - { - "name": "DefaultValue", - "arguments": [ - 1 - ] - } - ] + "binding": {"kind": "uniform", "offset": 4, "size": 4, "elementStride": 0} } ], "userAttribs": [ @@ -144,15 +128,7 @@ standard output = { ] } ], - "binding": {"kind": "uniform", "offset": 4, "size": 4, "elementStride": 0}, - "userAttribs": [ - { - "name": "DefaultValue", - "arguments": [ - 2 - ] - } - ] + "binding": {"kind": "uniform", "offset": 4, "size": 4, "elementStride": 0} } ], "userAttribs": [ @@ -196,15 +172,7 @@ standard output = { ] } ], - "binding": {"kind": "uniform", "offset": 4, "size": 4, "elementStride": 0}, - "userAttribs": [ - { - "name": "DefaultValue", - "arguments": [ - 2 - ] - } - ] + "binding": {"kind": "uniform", "offset": 4, "size": 4, "elementStride": 0} } ], "userAttribs": [ |
