Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/KhronosGroup/SPIRV-Cross.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Davis <bdavis@saintandreas.org>2018-06-20 00:35:25 +0300
committerBrad Davis <bdavis@saintandreas.org>2018-06-20 19:20:45 +0300
commitd0a67ba6a7fd45132caebdd120c439c242b7902f (patch)
tree9940f30615fc3a9112f1fdb4653db70b46df0ef1 /spirv_reflect.cpp
parent3a825349bc0fec77fd47241a897072f7aa622497 (diff)
Code consolidation, const correctness, faster regression testing
Diffstat (limited to 'spirv_reflect.cpp')
-rw-r--r--spirv_reflect.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/spirv_reflect.cpp b/spirv_reflect.cpp
index a53cd4bd..dd1112ec 100644
--- a/spirv_reflect.cpp
+++ b/spirv_reflect.cpp
@@ -306,8 +306,8 @@ void CompilerReflection::emit_type(const SPIRType &type, bool &emitted_open_tag)
json_stream->emit_json_key_object(std::to_string(type.self));
json_stream->emit_json_key_value("name", name);
- // FIXME I'd like to emit the size here, but it triggers a crash in some shaders
- // due to a missing offset decoration.
+ // FIXME I'd like to emit the size here, but it triggers a crash in some shaders
+ // due to a missing offset decoration.
#if 0
json_stream->emit_json_key_value("size", uint32_t(get_declared_struct_size(type)));
#endif