Skip to content

Commit 9cb6df3

Browse files
committed
Fixes issue #290 - set is_parent_rta for ParseDescriptorBlockVariableSizes so that they don't get padded to 16-byte size.
1 parent 4c6d3f3 commit 9cb6df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spirv_reflect.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4016,7 +4016,7 @@ static SpvReflectResult ParsePushConstantBlocks(SpvReflectPrvParser* p_parser, S
40164016
}
40174017

40184018
p_push_constant->name = p_node->name;
4019-
result = ParseDescriptorBlockVariableSizes(p_parser, p_module, true, false, false, p_push_constant);
4019+
result = ParseDescriptorBlockVariableSizes(p_parser, p_module, true, false, true, p_push_constant);
40204020
if (result != SPV_REFLECT_RESULT_SUCCESS) {
40214021
return result;
40224022
}

0 commit comments

Comments
 (0)