-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
Hi, I'm attempting to use vcc and tried compiling the shader from #40 (comment) with vcc x.c -o x.c.spv. This seems to generate a spir-v binary that has a lot of extra elements, but most problematically it has this descriptor set for lifted globals:
OpDecorate %_arr_v2float_uint_3 ArrayStride 8
OpDecorate %_arr_v3float_uint_3 ArrayStride 12
OpDecorate %_struct_6 Block
OpMemberDecorate %_struct_6 0 Offset 0
OpMemberDecorate %_struct_6 1 Offset 64
OpDecorate %lifted_globals DescriptorSet 0
OpDecorate %lifted_globals Binding 0
OpDecorate %_arr_uint_ulong_17 ArrayStride 4
OpMemberDecorate %_struct_26 0 Offset 0
OpMemberDecorate %_struct_26 1 Offset 4
OpDecorate %SubgroupId BuiltIn SubgroupIdThese are not used in the actual shader. Is it possible that get rid of the runtime/scheduler stuff like this?
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request