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:
authorHans-Kristian Arntzen <post@arntzen-software.no>2019-10-07 11:29:04 +0300
committerHans-Kristian Arntzen <post@arntzen-software.no>2019-10-07 11:29:04 +0300
commit2d20b1ab936a41b567279c2e80f7bc3bd8785c58 (patch)
tree4d04860c6ee9564d0fac4eeb2ce2f4592df4c9cc /spirv_reflect.cpp
parentf5e6a5476fcc9ce409d5de0827ec7576c50d8411 (diff)
Run format_all.sh.
Diffstat (limited to 'spirv_reflect.cpp')
-rw-r--r--spirv_reflect.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/spirv_reflect.cpp b/spirv_reflect.cpp
index 4fe377ad..1e8f615c 100644
--- a/spirv_reflect.cpp
+++ b/spirv_reflect.cpp
@@ -443,9 +443,12 @@ void CompilerReflection::emit_entry_points()
get_work_group_size_specialization_constants(spec_x, spec_y, spec_z);
json_stream->emit_json_key_array("workgroup_size");
- json_stream->emit_json_array_value(spec_x.id != ID(0) ? spec_x.constant_id : spv_entry.workgroup_size.x);
- json_stream->emit_json_array_value(spec_y.id != ID(0) ? spec_y.constant_id : spv_entry.workgroup_size.y);
- json_stream->emit_json_array_value(spec_z.id != ID(0) ? spec_z.constant_id : spv_entry.workgroup_size.z);
+ json_stream->emit_json_array_value(spec_x.id != ID(0) ? spec_x.constant_id :
+ spv_entry.workgroup_size.x);
+ json_stream->emit_json_array_value(spec_y.id != ID(0) ? spec_y.constant_id :
+ spv_entry.workgroup_size.y);
+ json_stream->emit_json_array_value(spec_z.id != ID(0) ? spec_z.constant_id :
+ spv_entry.workgroup_size.z);
json_stream->end_json_array();
json_stream->emit_json_key_array("workgroup_size_is_spec_constant_id");