Skip to content

Commit 2adabda

Browse files
committed
Fixed used push constant index prefix
1 parent 6b938b5 commit 2adabda

16 files changed

+17
-17
lines changed

common/output_stream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2364,7 +2364,7 @@ void SpvReflectToYaml::Write(std::ostream& os) {
23642364
assert(found_bv);
23652365
auto itor = block_variable_to_index_.find(found_bv);
23662366
assert(itor != block_variable_to_index_.end());
2367-
os << t4 << "- *db" << itor->second << " # " << SafeString(found_bv->name) << std::endl;
2367+
os << t4 << "- *bv" << itor->second << " # " << SafeString(found_bv->name) << std::endl;
23682368
}
23692369

23702370
// uint32_t execution_mode_count;

tests/glsl/buffer_handle_2.spv.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,7 @@ module:
838838
- *db0 # "image0_0"
839839
used_push_constant_block_count: 1
840840
used_push_constant_blocks:
841-
- *db8 # "pc"
841+
- *bv8 # "pc"
842842
execution_mode_count: 1
843843
execution_modes: [7]
844844
local_size: [0, 0, 0]

tests/glsl/buffer_handle_4.spv.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ module:
342342
used_descriptor_bindings:
343343
used_push_constant_block_count: 1
344344
used_push_constant_blocks:
345-
- *db5 # "params"
345+
- *bv5 # "params"
346346
execution_mode_count: 1
347347
execution_modes: [17]
348348
local_size: [1, 1, 1]

tests/glsl/buffer_handle_5.spv.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ module:
235235
used_descriptor_bindings:
236236
used_push_constant_block_count: 1
237237
used_push_constant_blocks:
238-
- *db3 # "params"
238+
- *bv3 # "params"
239239
execution_mode_count: 1
240240
execution_modes: [17]
241241
local_size: [1, 1, 1]

tests/glsl/buffer_handle_6.spv.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ module:
287287
used_descriptor_bindings:
288288
used_push_constant_block_count: 1
289289
used_push_constant_blocks:
290-
- *db4 # "g_GlobalsBDAPushConstant_0"
290+
- *bv4 # "g_GlobalsBDAPushConstant_0"
291291
execution_mode_count: 1
292292
execution_modes: [7]
293293
local_size: [0, 0, 0]

tests/glsl/buffer_handle_7.spv.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ module:
341341
used_descriptor_bindings:
342342
used_push_constant_block_count: 1
343343
used_push_constant_blocks:
344-
- *db4 # "params"
344+
- *bv4 # "params"
345345
execution_mode_count: 1
346346
execution_modes: [17]
347347
local_size: [1, 1, 1]

tests/glsl/buffer_handle_uvec2_pc.spv.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ module:
9393
used_descriptor_bindings:
9494
used_push_constant_block_count: 1
9595
used_push_constant_blocks:
96-
- *db1 # "pc"
96+
- *bv1 # "pc"
9797
execution_mode_count: 1
9898
execution_modes: [17]
9999
local_size: [1, 1, 1]

tests/glsl/buffer_pointer.spv.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ module:
285285
used_descriptor_bindings:
286286
used_push_constant_block_count: 1
287287
used_push_constant_blocks:
288-
- *db4 # "push"
288+
- *bv4 # "push"
289289
execution_mode_count: 1
290290
execution_modes: [7]
291291
local_size: [0, 0, 0]

tests/hlsl/pushconstant.spv.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ module:
199199
used_descriptor_bindings:
200200
used_push_constant_block_count: 1
201201
used_push_constant_blocks:
202-
- *db3 # "g_PushConstants"
202+
- *bv3 # "g_PushConstants"
203203
execution_mode_count: 0
204204
execution_modes: []
205205
local_size: [0, 0, 0]

tests/multi_entrypoint/multi_entrypoint.spv.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ module:
523523
- *db1 # "ubo"
524524
used_push_constant_block_count: 1
525525
used_push_constant_blocks:
526-
- *db4 # "push_constant_vert"
526+
- *bv4 # "push_constant_vert"
527527
execution_mode_count: 0
528528
execution_modes: []
529529
local_size: [0, 0, 0]
@@ -552,7 +552,7 @@ module:
552552
- *db0 # "tex"
553553
used_push_constant_block_count: 1
554554
used_push_constant_blocks:
555-
- *db6 # "push_constant_frag"
555+
- *bv6 # "push_constant_frag"
556556
execution_mode_count: 0
557557
execution_modes: []
558558
local_size: [0, 0, 0]

0 commit comments

Comments
 (0)