From d2d07b042869c4d694bbc6e81464316203bde7d9 Mon Sep 17 00:00:00 2001 From: xavier Date: Thu, 8 Aug 2019 21:00:07 +0200 Subject: [PATCH 1/4] Include more tests files in the test suite, and refresh with latest dxc.exe --- common/output_stream.cpp | 1 + tests/build_all_shaders.py | 5 + tests/build_golden_yaml.py | 3 +- tests/glsl/built_in_format.spv.yaml | 562 +-- tests/glsl/input_attachment.spv.yaml | 360 +- tests/glsl/texel_buffer.spv.yaml | 696 +-- tests/hlsl/append_consume.spv | Bin 2324 -> 2780 bytes tests/hlsl/append_consume.spv.yaml | 946 ++-- tests/hlsl/binding_array.spv | Bin 1920 -> 2332 bytes tests/hlsl/binding_array.spv.yaml | 366 +- tests/hlsl/binding_types.spv | Bin 6660 -> 7912 bytes tests/hlsl/binding_types.spv.yaml | 3816 ++++++++--------- tests/hlsl/cbuffer.spv | Bin 3360 -> 3568 bytes tests/hlsl/cbuffer.spv.yaml | 1898 ++++---- tests/hlsl/constantbuffer.spv | Bin 2540 -> 3700 bytes tests/hlsl/constantbuffer.spv.yaml | 239 +- tests/hlsl/constantbuffer_nested_structs.spv | Bin 3524 -> 5092 bytes .../constantbuffer_nested_structs.spv.yaml | 571 +-- tests/hlsl/counter_buffers.spv | Bin 2424 -> 2912 bytes tests/hlsl/counter_buffers.spv.yaml | 1108 ++--- tests/hlsl/semantics.spv | Bin 6124 -> 7596 bytes tests/hlsl/semantics.spv.yaml | 1244 +++--- tests/hlsl/structuredbuffer.spv | Bin 1532 -> 2376 bytes tests/hlsl/structuredbuffer.spv.yaml | 70 +- tests/test-spirv-reflect.cpp | 5 + 25 files changed, 5786 insertions(+), 6104 deletions(-) diff --git a/common/output_stream.cpp b/common/output_stream.cpp index 0372d193..cacc80bf 100644 --- a/common/output_stream.cpp +++ b/common/output_stream.cpp @@ -1001,6 +1001,7 @@ void WriteReflection(const spv_reflect::ShaderModule& obj, bool flatten_cbuffers } } } + (void)result; } ////////////////////////////////// diff --git a/tests/build_all_shaders.py b/tests/build_all_shaders.py index d30c0cca..82892aa6 100644 --- a/tests/build_all_shaders.py +++ b/tests/build_all_shaders.py @@ -24,13 +24,18 @@ def my_which(cmd): {'source':"glsl/built_in_format.glsl", 'entry':"main", 'stage':'vert'}, {'source':"glsl/input_attachment.glsl", 'entry':"main", 'stage':'frag'}, {'source':"glsl/texel_buffer.glsl", 'entry':"main", 'stage':'vert'}, + {'source':"glsl/io_vars_vs.glsl", 'entry':"main", 'stage':'vert'}, {'source':"hlsl/append_consume.hlsl", 'entry':"main", 'profile':'ps_6_0', 'stage':'frag'}, +# {'source':"hlsl/array_of_structured_buffer.hlsl", 'entry':"main", 'profile':'cs_6_0', 'stage':'compute'}, {'source':"hlsl/binding_array.hlsl", 'entry':"main", 'profile':'ps_6_0', 'stage':'frag'}, {'source':"hlsl/binding_types.hlsl", 'entry':"main", 'profile':'ps_6_0', 'stage':'frag'}, {'source':"hlsl/cbuffer.hlsl", 'entry':"main", 'profile':'vs_6_0', 'stage':'vert'}, + {'source':"hlsl/constantbuffer.hlsl", 'entry':"main", 'profile':'vs_6_0', 'stage':'vert'}, + {'source':"hlsl/constantbuffer_nested_structs.hlsl", 'entry':"main", 'profile':'vs_6_0', 'stage':'vert'}, {'source':"hlsl/counter_buffers.hlsl", 'entry':"main", 'profile':'ps_6_0', 'stage':'frag'}, {'source':"hlsl/semantics.hlsl", 'entry':"main", 'profile':'ps_6_0', 'stage':'frag'}, + {'source':"hlsl/structuredbuffer.hlsl", 'entry':"main", 'profile':'ps_6_0', 'stage':'frag'}, ] if __name__ == "__main__": diff --git a/tests/build_golden_yaml.py b/tests/build_golden_yaml.py index 3b596cd3..c5c29227 100644 --- a/tests/build_golden_yaml.py +++ b/tests/build_golden_yaml.py @@ -48,7 +48,8 @@ yaml_cmd_args = [spirv_reflect_exe, "-y", "-v", "1", spv_path] if args.verbose: print(" ".join(yaml_cmd_args)) - subprocess.call(yaml_cmd_args, stdout=file(yaml_path, "w")) + with open(yaml_path, "w") as f: + subprocess.call(yaml_cmd_args, stdout=f) print("%s -> %s" % (spv_path, yaml_path)) except NameError: print("spirv-reflect application not found; did you build it first?") diff --git a/tests/glsl/built_in_format.spv.yaml b/tests/glsl/built_in_format.spv.yaml index 3802a211..c41bd530 100644 --- a/tests/glsl/built_in_format.spv.yaml +++ b/tests/glsl/built_in_format.spv.yaml @@ -1,281 +1,281 @@ -%YAML 1.0 ---- -all_type_descriptions: - - &td0 - id: 14 - op: 21 - type_name: - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00000004 # INT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td1 - id: 7 - op: 23 - type_name: - struct_member_name: "gl_Position" - storage_class: 0 # UniformConstant - type_flags: 0x00000108 # VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td2 - id: 6 - op: 22 - type_name: - struct_member_name: "gl_PointSize" - storage_class: 0 # UniformConstant - type_flags: 0x00000008 # FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td3 - id: 10 - op: 28 - type_name: - struct_member_name: "gl_ClipDistance" - storage_class: 0 # UniformConstant - type_flags: 0x20000008 # ARRAY FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 1, dims: [1,], stride: 0 } - member_count: 0 - members: - - &td4 - id: 10 - op: 28 - type_name: - struct_member_name: "gl_CullDistance" - storage_class: 0 # UniformConstant - type_flags: 0x20000008 # ARRAY FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 1, dims: [1,], stride: 0 } - member_count: 0 - members: - - &td5 - id: 11 - op: 30 - type_name: "gl_PerVertex" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000001 # BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 4 - members: - - *td1 - - *td2 - - *td3 - - *td4 - - &td6 - id: 25 - op: 23 - type_name: - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00000108 # VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 3 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: -all_block_variables: -all_descriptor_bindings: -all_interface_variables: - - &iv0 - spirv_id: 17 - name: "gl_VertexIndex" - location: 4294967295 - storage_class: 1 # Input - semantic: - decoration_flags: 0x00000010 # BUILT_IN - built_in: 42 # VertexIndex - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 99 # VK_FORMAT_R32_SINT - type_description: *td0 - word_offset: { location: 0 } - - &iv1 - spirv_id: 0 - name: - location: 0 - storage_class: 0 # UniformConstant - semantic: - decoration_flags: 0x00000010 # BUILT_IN - built_in: 0 # Position - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT - type_description: *td1 - word_offset: { location: 0 } - - &iv2 - spirv_id: 0 - name: - location: 0 - storage_class: 0 # UniformConstant - semantic: - decoration_flags: 0x00000010 # BUILT_IN - built_in: 1 # PointSize - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 100 # VK_FORMAT_R32_SFLOAT - type_description: *td2 - word_offset: { location: 0 } - - &iv3 - spirv_id: 0 - name: - location: 0 - storage_class: 0 # UniformConstant - semantic: - decoration_flags: 0x00000010 # BUILT_IN - built_in: 3 # ClipDistance - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 1, dims: [1,], stride: 0 } - member_count: 0 - members: - format: 100 # VK_FORMAT_R32_SFLOAT - type_description: *td3 - word_offset: { location: 0 } - - &iv4 - spirv_id: 0 - name: - location: 0 - storage_class: 0 # UniformConstant - semantic: - decoration_flags: 0x00000010 # BUILT_IN - built_in: 4 # CullDistance - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 1, dims: [1,], stride: 0 } - member_count: 0 - members: - format: 100 # VK_FORMAT_R32_SFLOAT - type_description: *td4 - word_offset: { location: 0 } - - &iv5 - spirv_id: 13 - name: "" - location: 4294967295 - storage_class: 3 # Output - semantic: - decoration_flags: 0x00000011 # BUILT_IN BLOCK - built_in: -1 # ??? - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 4 - members: - - *iv1 # - - *iv2 # - - *iv3 # - - *iv4 # - format: 0 # VK_FORMAT_UNDEFINED - type_description: *td5 - word_offset: { location: 0 } - - &iv6 - spirv_id: 27 - name: "texcoord" - location: 0 - storage_class: 3 # Output - semantic: - decoration_flags: 0x00000000 # NONE - built_in: -1 # ??? - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 3 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 106 # VK_FORMAT_R32G32B32_SFLOAT - type_description: *td6 - word_offset: { location: 126 } -module: - generator: 13 # Google Shaderc over Glslang - entry_point_name: "main" - entry_point_id: 4 - source_language: 2 # GLSL - source_language_version: 450 - spirv_execution_model: 0 # Vertex - shader_stage: 0x00000001 # VS - descriptor_binding_count: 0 - descriptor_bindings: - descriptor_set_count: 0 - descriptor_sets: - input_variable_count: 1, - input_variables: - - *iv0 # "gl_VertexIndex" - output_variable_count: 2, - output_variables: - - *iv5 # "" - - *iv6 # "texcoord" - push_constant_count: 0, - push_constants: -... +%YAML 1.0 +--- +all_type_descriptions: + - &td0 + id: 14 + op: 21 + type_name: + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00000004 # INT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td1 + id: 7 + op: 23 + type_name: + struct_member_name: "gl_Position" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td2 + id: 6 + op: 22 + type_name: + struct_member_name: "gl_PointSize" + storage_class: 0 # UniformConstant + type_flags: 0x00000008 # FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td3 + id: 10 + op: 28 + type_name: + struct_member_name: "gl_ClipDistance" + storage_class: 0 # UniformConstant + type_flags: 0x20000008 # ARRAY FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 1, dims: [1,], stride: 0 } + member_count: 0 + members: + - &td4 + id: 10 + op: 28 + type_name: + struct_member_name: "gl_CullDistance" + storage_class: 0 # UniformConstant + type_flags: 0x20000008 # ARRAY FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 1, dims: [1,], stride: 0 } + member_count: 0 + members: + - &td5 + id: 11 + op: 30 + type_name: "gl_PerVertex" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000001 # BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 4 + members: + - *td1 + - *td2 + - *td3 + - *td4 + - &td6 + id: 25 + op: 23 + type_name: + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 3 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: +all_block_variables: +all_descriptor_bindings: +all_interface_variables: + - &iv0 + spirv_id: 17 + name: "gl_VertexIndex" + location: 4294967295 + storage_class: 1 # Input + semantic: + decoration_flags: 0x00000010 # BUILT_IN + built_in: 42 # VertexIndex + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 99 # VK_FORMAT_R32_SINT + type_description: *td0 + word_offset: { location: 0 } + - &iv1 + spirv_id: 0 + name: + location: 0 + storage_class: 0 # UniformConstant + semantic: + decoration_flags: 0x00000010 # BUILT_IN + built_in: 0 # Position + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT + type_description: *td1 + word_offset: { location: 0 } + - &iv2 + spirv_id: 0 + name: + location: 0 + storage_class: 0 # UniformConstant + semantic: + decoration_flags: 0x00000010 # BUILT_IN + built_in: 1 # PointSize + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 100 # VK_FORMAT_R32_SFLOAT + type_description: *td2 + word_offset: { location: 0 } + - &iv3 + spirv_id: 0 + name: + location: 0 + storage_class: 0 # UniformConstant + semantic: + decoration_flags: 0x00000010 # BUILT_IN + built_in: 3 # ClipDistance + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 1, dims: [1,], stride: 0 } + member_count: 0 + members: + format: 100 # VK_FORMAT_R32_SFLOAT + type_description: *td3 + word_offset: { location: 0 } + - &iv4 + spirv_id: 0 + name: + location: 0 + storage_class: 0 # UniformConstant + semantic: + decoration_flags: 0x00000010 # BUILT_IN + built_in: 4 # CullDistance + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 1, dims: [1,], stride: 0 } + member_count: 0 + members: + format: 100 # VK_FORMAT_R32_SFLOAT + type_description: *td4 + word_offset: { location: 0 } + - &iv5 + spirv_id: 13 + name: "" + location: 4294967295 + storage_class: 3 # Output + semantic: + decoration_flags: 0x00000011 # BUILT_IN BLOCK + built_in: -1 # ??? + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 4 + members: + - *iv1 # + - *iv2 # + - *iv3 # + - *iv4 # + format: 0 # VK_FORMAT_UNDEFINED + type_description: *td5 + word_offset: { location: 0 } + - &iv6 + spirv_id: 27 + name: "texcoord" + location: 0 + storage_class: 3 # Output + semantic: + decoration_flags: 0x00000000 # NONE + built_in: -1 # ??? + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 3 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 106 # VK_FORMAT_R32G32B32_SFLOAT + type_description: *td6 + word_offset: { location: 126 } +module: + generator: 13 # Google Shaderc over Glslang + entry_point_name: "main" + entry_point_id: 4 + source_language: 2 # GLSL + source_language_version: 450 + spirv_execution_model: 0 # Vertex + shader_stage: 0x00000001 # VS + descriptor_binding_count: 0 + descriptor_bindings: + descriptor_set_count: 0 + descriptor_sets: + input_variable_count: 1, + input_variables: + - *iv0 # "gl_VertexIndex" + output_variable_count: 2, + output_variables: + - *iv5 # "" + - *iv6 # "texcoord" + push_constant_count: 0, + push_constants: +... diff --git a/tests/glsl/input_attachment.spv.yaml b/tests/glsl/input_attachment.spv.yaml index 47b0a46a..5a919d3e 100644 --- a/tests/glsl/input_attachment.spv.yaml +++ b/tests/glsl/input_attachment.spv.yaml @@ -1,180 +1,180 @@ -%YAML 1.0 ---- -all_type_descriptions: - - &td0 - id: 10 - op: 25 - type_name: - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 6, depth: 0, arrayed: 0, ms: 0, sampled: 2, image_format: 0 } # dim=SubpassData image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td1 - id: 7 - op: 23 - type_name: - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00000108 # VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: -all_block_variables: - - &bv0 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv1 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv2 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: -all_descriptor_bindings: - - &db0 - spirv_id: 12 - name: "MyInputAttachment0" - binding: 0 - input_attachment_index: 0 - set: 0 - descriptor_type: 10 # VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT - resource_type: 0 # UNDEFINED - image: { dim: 6, depth: 0, arrayed: 0, ms: 0, sampled: 2, image_format: 0 } # dim=SubpassData image_format=Unknown - block: *bv0 # - array: { dims_count: 0, dims: [] } - accessed: 1 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td0 - word_offset: { binding: 106, set: 102 } - - &db1 - spirv_id: 19 - name: "MyInputAttachment1" - binding: 1 - input_attachment_index: 1 - set: 0 - descriptor_type: 10 # VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT - resource_type: 0 # UNDEFINED - image: { dim: 6, depth: 0, arrayed: 0, ms: 0, sampled: 2, image_format: 0 } # dim=SubpassData image_format=Unknown - block: *bv1 # - array: { dims_count: 0, dims: [] } - accessed: 1 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td0 - word_offset: { binding: 118, set: 114 } - - &db2 - spirv_id: 23 - name: "MyInputAttachment4" - binding: 2 - input_attachment_index: 4 - set: 0 - descriptor_type: 10 # VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT - resource_type: 0 # UNDEFINED - image: { dim: 6, depth: 0, arrayed: 0, ms: 0, sampled: 2, image_format: 0 } # dim=SubpassData image_format=Unknown - block: *bv2 # - array: { dims_count: 0, dims: [] } - accessed: 1 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td0 - word_offset: { binding: 130, set: 126 } -all_interface_variables: - - &iv0 - spirv_id: 9 - name: "oColor" - location: 0 - storage_class: 3 # Output - semantic: - decoration_flags: 0x00000000 # NONE - built_in: -1 # ??? - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT - type_description: *td1 - word_offset: { location: 98 } -module: - generator: 13 # Google Shaderc over Glslang - entry_point_name: "main" - entry_point_id: 4 - source_language: 2 # GLSL - source_language_version: 450 - spirv_execution_model: 4 # Fragment - shader_stage: 0x00000010 # PS - descriptor_binding_count: 3 - descriptor_bindings: - - *db0 # "MyInputAttachment0" - - *db1 # "MyInputAttachment1" - - *db2 # "MyInputAttachment4" - descriptor_set_count: 1 - descriptor_sets: - - set: 0 - binding_count: 3 - bindings: - - *db0 # "MyInputAttachment0" - - *db1 # "MyInputAttachment1" - - *db2 # "MyInputAttachment4" - input_variable_count: 0, - input_variables: - output_variable_count: 1, - output_variables: - - *iv0 # "oColor" - push_constant_count: 0, - push_constants: -... +%YAML 1.0 +--- +all_type_descriptions: + - &td0 + id: 10 + op: 25 + type_name: + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 6, depth: 0, arrayed: 0, ms: 0, sampled: 2, image_format: 0 } # dim=SubpassData image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td1 + id: 7 + op: 23 + type_name: + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: +all_block_variables: + - &bv0 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv1 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv2 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: +all_descriptor_bindings: + - &db0 + spirv_id: 12 + name: "MyInputAttachment0" + binding: 0 + input_attachment_index: 0 + set: 0 + descriptor_type: 10 # VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT + resource_type: 0 # UNDEFINED + image: { dim: 6, depth: 0, arrayed: 0, ms: 0, sampled: 2, image_format: 0 } # dim=SubpassData image_format=Unknown + block: *bv0 # + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td0 + word_offset: { binding: 106, set: 102 } + - &db1 + spirv_id: 19 + name: "MyInputAttachment1" + binding: 1 + input_attachment_index: 1 + set: 0 + descriptor_type: 10 # VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT + resource_type: 0 # UNDEFINED + image: { dim: 6, depth: 0, arrayed: 0, ms: 0, sampled: 2, image_format: 0 } # dim=SubpassData image_format=Unknown + block: *bv1 # + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td0 + word_offset: { binding: 118, set: 114 } + - &db2 + spirv_id: 23 + name: "MyInputAttachment4" + binding: 2 + input_attachment_index: 4 + set: 0 + descriptor_type: 10 # VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT + resource_type: 0 # UNDEFINED + image: { dim: 6, depth: 0, arrayed: 0, ms: 0, sampled: 2, image_format: 0 } # dim=SubpassData image_format=Unknown + block: *bv2 # + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td0 + word_offset: { binding: 130, set: 126 } +all_interface_variables: + - &iv0 + spirv_id: 9 + name: "oColor" + location: 0 + storage_class: 3 # Output + semantic: + decoration_flags: 0x00000000 # NONE + built_in: -1 # ??? + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT + type_description: *td1 + word_offset: { location: 98 } +module: + generator: 13 # Google Shaderc over Glslang + entry_point_name: "main" + entry_point_id: 4 + source_language: 2 # GLSL + source_language_version: 450 + spirv_execution_model: 4 # Fragment + shader_stage: 0x00000010 # PS + descriptor_binding_count: 3 + descriptor_bindings: + - *db0 # "MyInputAttachment0" + - *db1 # "MyInputAttachment1" + - *db2 # "MyInputAttachment4" + descriptor_set_count: 1 + descriptor_sets: + - set: 0 + binding_count: 3 + bindings: + - *db0 # "MyInputAttachment0" + - *db1 # "MyInputAttachment1" + - *db2 # "MyInputAttachment4" + input_variable_count: 0, + input_variables: + output_variable_count: 1, + output_variables: + - *iv0 # "oColor" + push_constant_count: 0, + push_constants: +... diff --git a/tests/glsl/texel_buffer.spv.yaml b/tests/glsl/texel_buffer.spv.yaml index d01cc220..2867048f 100644 --- a/tests/glsl/texel_buffer.spv.yaml +++ b/tests/glsl/texel_buffer.spv.yaml @@ -1,348 +1,348 @@ -%YAML 1.0 ---- -all_type_descriptions: - - &td0 - id: 10 - op: 27 - type_name: - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00050000 # EXTERNAL_SAMPLED_IMAGE EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 5, depth: 0, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=Buffer image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td1 - id: 27 - op: 27 - type_name: - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00050000 # EXTERNAL_SAMPLED_IMAGE EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 5, depth: 0, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=Buffer image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td2 - id: 6 - op: 21 - type_name: - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00000004 # INT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td3 - id: 33 - op: 23 - type_name: - struct_member_name: "gl_Position" - storage_class: 0 # UniformConstant - type_flags: 0x00000108 # VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td4 - id: 23 - op: 22 - type_name: - struct_member_name: "gl_PointSize" - storage_class: 0 # UniformConstant - type_flags: 0x00000008 # FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td5 - id: 37 - op: 28 - type_name: - struct_member_name: "gl_ClipDistance" - storage_class: 0 # UniformConstant - type_flags: 0x20000008 # ARRAY FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 1, dims: [1,], stride: 0 } - member_count: 0 - members: - - &td6 - id: 37 - op: 28 - type_name: - struct_member_name: "gl_CullDistance" - storage_class: 0 # UniformConstant - type_flags: 0x20000008 # ARRAY FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 1, dims: [1,], stride: 0 } - member_count: 0 - members: - - &td7 - id: 38 - op: 30 - type_name: "gl_PerVertex" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000001 # BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 4 - members: - - *td3 - - *td4 - - *td5 - - *td6 -all_block_variables: - - &bv0 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv1 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: -all_descriptor_bindings: - - &db0 - spirv_id: 12 - name: "texel_buffer_i" - binding: 1 - input_attachment_index: 0 - set: 0 - descriptor_type: 4 # VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER - resource_type: 4 # SRV - image: { dim: 5, depth: 0, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=Buffer image_format=Unknown - block: *bv0 # - array: { dims_count: 0, dims: [] } - accessed: 1 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td0 - word_offset: { binding: 136, set: 132 } - - &db1 - spirv_id: 29 - name: "texel_buffer_f" - binding: 2 - input_attachment_index: 0 - set: 0 - descriptor_type: 4 # VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER - resource_type: 4 # SRV - image: { dim: 5, depth: 0, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=Buffer image_format=Unknown - block: *bv1 # - array: { dims_count: 0, dims: [] } - accessed: 1 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td1 - word_offset: { binding: 148, set: 144 } -all_interface_variables: - - &iv0 - spirv_id: 15 - name: "gl_InstanceIndex" - location: 4294967295 - storage_class: 1 # Input - semantic: - decoration_flags: 0x00000010 # BUILT_IN - built_in: 43 # InstanceIndex - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 99 # VK_FORMAT_R32_SINT - type_description: *td2 - word_offset: { location: 0 } - - &iv1 - spirv_id: 0 - name: - location: 0 - storage_class: 0 # UniformConstant - semantic: - decoration_flags: 0x00000010 # BUILT_IN - built_in: 0 # Position - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT - type_description: *td3 - word_offset: { location: 0 } - - &iv2 - spirv_id: 0 - name: - location: 0 - storage_class: 0 # UniformConstant - semantic: - decoration_flags: 0x00000010 # BUILT_IN - built_in: 1 # PointSize - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 100 # VK_FORMAT_R32_SFLOAT - type_description: *td4 - word_offset: { location: 0 } - - &iv3 - spirv_id: 0 - name: - location: 0 - storage_class: 0 # UniformConstant - semantic: - decoration_flags: 0x00000010 # BUILT_IN - built_in: 3 # ClipDistance - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 1, dims: [1,], stride: 0 } - member_count: 0 - members: - format: 100 # VK_FORMAT_R32_SFLOAT - type_description: *td5 - word_offset: { location: 0 } - - &iv4 - spirv_id: 0 - name: - location: 0 - storage_class: 0 # UniformConstant - semantic: - decoration_flags: 0x00000010 # BUILT_IN - built_in: 4 # CullDistance - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 1, dims: [1,], stride: 0 } - member_count: 0 - members: - format: 100 # VK_FORMAT_R32_SFLOAT - type_description: *td6 - word_offset: { location: 0 } - - &iv5 - spirv_id: 40 - name: "" - location: 4294967295 - storage_class: 3 # Output - semantic: - decoration_flags: 0x00000011 # BUILT_IN BLOCK - built_in: -1 # ??? - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 4 - members: - - *iv1 # - - *iv2 # - - *iv3 # - - *iv4 # - format: 0 # VK_FORMAT_UNDEFINED - type_description: *td7 - word_offset: { location: 0 } -module: - generator: 13 # Google Shaderc over Glslang - entry_point_name: "main" - entry_point_id: 4 - source_language: 2 # GLSL - source_language_version: 450 - spirv_execution_model: 0 # Vertex - shader_stage: 0x00000001 # VS - descriptor_binding_count: 2 - descriptor_bindings: - - *db0 # "texel_buffer_i" - - *db1 # "texel_buffer_f" - descriptor_set_count: 1 - descriptor_sets: - - set: 0 - binding_count: 2 - bindings: - - *db0 # "texel_buffer_i" - - *db1 # "texel_buffer_f" - input_variable_count: 1, - input_variables: - - *iv0 # "gl_InstanceIndex" - output_variable_count: 1, - output_variables: - - *iv5 # "" - push_constant_count: 0, - push_constants: -... +%YAML 1.0 +--- +all_type_descriptions: + - &td0 + id: 10 + op: 27 + type_name: + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00050000 # EXTERNAL_SAMPLED_IMAGE EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 5, depth: 0, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=Buffer image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td1 + id: 27 + op: 27 + type_name: + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00050000 # EXTERNAL_SAMPLED_IMAGE EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 5, depth: 0, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=Buffer image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td2 + id: 6 + op: 21 + type_name: + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00000004 # INT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td3 + id: 33 + op: 23 + type_name: + struct_member_name: "gl_Position" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td4 + id: 23 + op: 22 + type_name: + struct_member_name: "gl_PointSize" + storage_class: 0 # UniformConstant + type_flags: 0x00000008 # FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td5 + id: 37 + op: 28 + type_name: + struct_member_name: "gl_ClipDistance" + storage_class: 0 # UniformConstant + type_flags: 0x20000008 # ARRAY FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 1, dims: [1,], stride: 0 } + member_count: 0 + members: + - &td6 + id: 37 + op: 28 + type_name: + struct_member_name: "gl_CullDistance" + storage_class: 0 # UniformConstant + type_flags: 0x20000008 # ARRAY FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 1, dims: [1,], stride: 0 } + member_count: 0 + members: + - &td7 + id: 38 + op: 30 + type_name: "gl_PerVertex" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000001 # BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 4 + members: + - *td3 + - *td4 + - *td5 + - *td6 +all_block_variables: + - &bv0 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv1 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: +all_descriptor_bindings: + - &db0 + spirv_id: 12 + name: "texel_buffer_i" + binding: 1 + input_attachment_index: 0 + set: 0 + descriptor_type: 4 # VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER + resource_type: 4 # SRV + image: { dim: 5, depth: 0, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=Buffer image_format=Unknown + block: *bv0 # + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td0 + word_offset: { binding: 136, set: 132 } + - &db1 + spirv_id: 29 + name: "texel_buffer_f" + binding: 2 + input_attachment_index: 0 + set: 0 + descriptor_type: 4 # VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER + resource_type: 4 # SRV + image: { dim: 5, depth: 0, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=Buffer image_format=Unknown + block: *bv1 # + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td1 + word_offset: { binding: 148, set: 144 } +all_interface_variables: + - &iv0 + spirv_id: 15 + name: "gl_InstanceIndex" + location: 4294967295 + storage_class: 1 # Input + semantic: + decoration_flags: 0x00000010 # BUILT_IN + built_in: 43 # InstanceIndex + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 99 # VK_FORMAT_R32_SINT + type_description: *td2 + word_offset: { location: 0 } + - &iv1 + spirv_id: 0 + name: + location: 0 + storage_class: 0 # UniformConstant + semantic: + decoration_flags: 0x00000010 # BUILT_IN + built_in: 0 # Position + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT + type_description: *td3 + word_offset: { location: 0 } + - &iv2 + spirv_id: 0 + name: + location: 0 + storage_class: 0 # UniformConstant + semantic: + decoration_flags: 0x00000010 # BUILT_IN + built_in: 1 # PointSize + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 100 # VK_FORMAT_R32_SFLOAT + type_description: *td4 + word_offset: { location: 0 } + - &iv3 + spirv_id: 0 + name: + location: 0 + storage_class: 0 # UniformConstant + semantic: + decoration_flags: 0x00000010 # BUILT_IN + built_in: 3 # ClipDistance + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 1, dims: [1,], stride: 0 } + member_count: 0 + members: + format: 100 # VK_FORMAT_R32_SFLOAT + type_description: *td5 + word_offset: { location: 0 } + - &iv4 + spirv_id: 0 + name: + location: 0 + storage_class: 0 # UniformConstant + semantic: + decoration_flags: 0x00000010 # BUILT_IN + built_in: 4 # CullDistance + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 1, dims: [1,], stride: 0 } + member_count: 0 + members: + format: 100 # VK_FORMAT_R32_SFLOAT + type_description: *td6 + word_offset: { location: 0 } + - &iv5 + spirv_id: 40 + name: "" + location: 4294967295 + storage_class: 3 # Output + semantic: + decoration_flags: 0x00000011 # BUILT_IN BLOCK + built_in: -1 # ??? + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 4 + members: + - *iv1 # + - *iv2 # + - *iv3 # + - *iv4 # + format: 0 # VK_FORMAT_UNDEFINED + type_description: *td7 + word_offset: { location: 0 } +module: + generator: 13 # Google Shaderc over Glslang + entry_point_name: "main" + entry_point_id: 4 + source_language: 2 # GLSL + source_language_version: 450 + spirv_execution_model: 0 # Vertex + shader_stage: 0x00000001 # VS + descriptor_binding_count: 2 + descriptor_bindings: + - *db0 # "texel_buffer_i" + - *db1 # "texel_buffer_f" + descriptor_set_count: 1 + descriptor_sets: + - set: 0 + binding_count: 2 + bindings: + - *db0 # "texel_buffer_i" + - *db1 # "texel_buffer_f" + input_variable_count: 1, + input_variables: + - *iv0 # "gl_InstanceIndex" + output_variable_count: 1, + output_variables: + - *iv5 # "" + push_constant_count: 0, + push_constants: +... diff --git a/tests/hlsl/append_consume.spv b/tests/hlsl/append_consume.spv index 266aaf347c88d8170ca18273b29df8d1e2b48280..964f372a3ffef449396ce51c221c10390ddee6a9 100644 GIT binary patch literal 2780 zcmaKuZBJZ96vqd4x4=bdYnA%cI)Ju|#cipzPuMnC8#HMGO4I18&1HM3n=E%Xckd-3 zrit<6>KE{h#{X~T4h+zC;4pK}`Jd;R8yb^KQ^rgfW9H0#{bijulTMPD8MD3hyt}cv zx$*Q#_qV}#(A}-_UfCb!>7ZX8tQwP;sTfm@v!Yubj57SpnFgElbym1$ecns^Ir2#n zh;#Z&21-OU<8TDKo{mOY{-WC(=HqHF>mU&+MvQe3Q{)l8nou z>Xr8Uv`p>qiM3TfFKzL1CtXWkttH80A7a~~sv>*wUA4QL72kq?Xg%{|ZtvS7d)XhC zS<$X;tl04=?PaUWYstDx^sUyLRe8*OwKl&g^JI50Ov_uA#SAyz%5&LK&`}{d8a-946VRYiY}|t)&Xy@j12yc8Ve^t0K2PT3gwu9)6{K zl^FGR)?83;nPu>Jvc3+{g=uLDA84;xb4C()7AK%{sy~oQzt`{EVxisaorAkNLa|MS53fD?-P4PGrmd0IUE;%?!4O&oQ*H&^r2iXNMQCmwGGJoUn(hX>D{j`6D=&lPrlJF zin#Mu6#FEuVzB!@K%hNc7~2oVg?CP5mi6x{e4vve+l@WL=)PA2&qY0c^q3JMN4A zWpcXMj$D5dni<}#G1^Y~-jWaQ=+`1}CwcTF@F&FA2$2%f&iS^_W>bzTHv>n6XgF5NeJrTH*KB$vC&<7p9$@4$m K1-@C_tN#Ho$28jj literal 2324 zcmaKu?QaxS6vj_?yKNa%1f=)|-fa=KQU{92TLrTssU{??mJs~3nJ!b@WIMZ=ooUh- z662q%|A1dKKEFG2%V5wOPVYU>dA-lMJE7fLT{N3Bvv=&C{<2P6%OjDUu-%=fgRSlD zt;dfBKaXeQ!G4(yi_s)Y#-rkBgQ&KTA;T$Kw0Z4kB?rkU!|+Ml(m?pDX6EOi@h<-dYfqG(p+<*;zyCPm_YiJU7( zS>f^*d&y?>ax;n^RwZ`5SDB~JzbW_k)BG#^AGk{SK6Ce6p1v5(iZt()*Vo-_nhev8 zwauvS8~xwt?Xq|+e4`G(q3~#bJV}b14q|%sd3HFMPG$<(eLC2g%tjEqR;f?=KW;sG z5^)WGpTlJA?jJW9*LUeDv8z!PkE%mcku{E}Wk9p8VrTiN2_ zq|C%R`Il6|tOnx4B#&Q@KWT3r$G>qbp}cZ+^hQH{ailZ(PrWgJuy^!c&1U&94(}LV zn(vxhy)U0>k|zhg!)lmz+9Po#4R?{CW_`@;& z@Jc`Y?wKLFEiZVzEqmjodz^1WjURJFJUGHa=MBNjTtn~b%)(B6?5&25J^0g0GakKZ zr_W|QddPoH`N``ftc$ue_XfM56P%-i!#lduU*>@i7&(?aUiE}8d{@}K>F4Nu!LY$? z$n$n>13N3P)7rc8IisEPvd-tUJIQ%PiDs{d`18`?51hU}&_37DFX&AF*t@cSQlE*V zm%t0LtHQ!8u1e>ApGsIkzpOL)(YfE1S|`4zGcn=b>$OgO{JF<%iP^7T2mOxM&DK?! z9`8!<0S~gNSoo$l@}t8ka}GK@`ghu}Gv{E37v3$s6Av%`eQLj@DZ(}102bW;smS-V z;|o`O52$}%I(>d5A>UoaqJJ#myMo^X@k(y6zf|##gc|ta!(tA%+CDaOieOY7Ld|%YOB>|@|@}U2%Tkx)!!#@M>6b%3X diff --git a/tests/hlsl/append_consume.spv.yaml b/tests/hlsl/append_consume.spv.yaml index e8050d26..504664f6 100644 --- a/tests/hlsl/append_consume.spv.yaml +++ b/tests/hlsl/append_consume.spv.yaml @@ -1,473 +1,473 @@ -%YAML 1.0 ---- -all_type_descriptions: - - &td0 - id: 2 - op: 21 - type_name: - struct_member_name: "rgba" - storage_class: 0 # UniformConstant - type_flags: 0x00000004 # INT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td1 - id: 4 - op: 29 - type_name: "Data" - struct_member_name: - storage_class: 0 # UniformConstant - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td0 - - &td2 - id: 5 - op: 30 - type_name: "type.ConsumeStructuredBuffer.Data" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000002 # BUFFER_BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td1 - - &td3 - id: 2 - op: 21 - type_name: - struct_member_name: "rgba" - storage_class: 0 # UniformConstant - type_flags: 0x00000004 # INT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td4 - id: 8 - op: 21 - type_name: - struct_member_name: - storage_class: 0 # UniformConstant - type_flags: 0x00000004 # INT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td5 - id: 9 - op: 30 - type_name: "type.ACSBuffer.counter" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000002 # BUFFER_BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td4 - - &td6 - id: 2 - op: 21 - type_name: - struct_member_name: "rgba" - storage_class: 0 # UniformConstant - type_flags: 0x00000004 # INT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td7 - id: 4 - op: 29 - type_name: "Data" - struct_member_name: - storage_class: 0 # UniformConstant - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td6 - - &td8 - id: 12 - op: 30 - type_name: "type.AppendStructuredBuffer.Data" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000002 # BUFFER_BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td7 - - &td9 - id: 22 - op: 23 - type_name: - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00000108 # VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: -all_block_variables: - - &bv0 - name: "rgba" - offset: 0 - absolute_offset: 0 - size: 4 - padded_size: 4 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td3 - - &bv1 - name: - offset: 0 - absolute_offset: 0 - size: 4 - padded_size: 4 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv0 - type_description: *td1 - - &bv2 - name: "BufferIn" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv1 - type_description: *td2 - - &bv3 - name: - offset: 0 - absolute_offset: 0 - size: 4 - padded_size: 4 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td4 - - &bv4 - name: "counter.var.BufferOut" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv3 - type_description: *td5 - - &bv5 - name: - offset: 0 - absolute_offset: 0 - size: 4 - padded_size: 4 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td4 - - &bv6 - name: "counter.var.BufferIn" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv5 - type_description: *td5 - - &bv7 - name: "rgba" - offset: 0 - absolute_offset: 0 - size: 4 - padded_size: 4 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td3 - - &bv8 - name: - offset: 0 - absolute_offset: 0 - size: 4 - padded_size: 4 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv7 - type_description: *td7 - - &bv9 - name: "BufferOut" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv8 - type_description: *td8 -all_descriptor_bindings: - - &db0 - spirv_id: 11 - name: "counter.var.BufferIn" - binding: 1 - input_attachment_index: 0 - set: 1 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 8 # UAV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv6 # "counter.var.BufferIn" - array: { dims_count: 0, dims: [] } - accessed: 1 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td5 - word_offset: { binding: 320, set: 316 } - - &db1 - spirv_id: 7 - name: "BufferIn" - binding: 0 - input_attachment_index: 0 - set: 1 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 8 # UAV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv2 # "BufferIn" - array: { dims_count: 0, dims: [] } - accessed: 1 - uav_counter_id: 11 - uav_counter_binding: *db0 # "counter.var.BufferIn" - type_description: *td2 - word_offset: { binding: 304, set: 300 } - - &db2 - spirv_id: 15 - name: "counter.var.BufferOut" - binding: 0 - input_attachment_index: 0 - set: 2 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 8 # UAV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv4 # "counter.var.BufferOut" - array: { dims_count: 0, dims: [] } - accessed: 1 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td5 - word_offset: { binding: 328, set: 324 } - - *db0 - - &db3 - spirv_id: 14 - name: "BufferOut" - binding: 1 - input_attachment_index: 0 - set: 2 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 8 # UAV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv9 # "BufferOut" - array: { dims_count: 0, dims: [] } - accessed: 1 - uav_counter_id: 15 - uav_counter_binding: *db2 # "counter.var.BufferOut" - type_description: *td8 - word_offset: { binding: 312, set: 308 } -all_interface_variables: - - &iv0 - spirv_id: 26 - name: - location: 4294967295 - storage_class: 1 # Input - semantic: "SV_Position" - decoration_flags: 0x00000010 # BUILT_IN - built_in: 15 # FragCoord - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT - type_description: *td9 - word_offset: { location: 0 } - - &iv1 - spirv_id: 30 - name: "out.var.SV_TARGET" - location: 0 - storage_class: 3 # Output - semantic: "SV_TARGET" - decoration_flags: 0x00000000 # NONE - built_in: -1 # ??? - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT - type_description: *td9 - word_offset: { location: 296 } -module: - generator: 14 # Google spiregg - entry_point_name: "main" - entry_point_id: 19 - source_language: 5 # HLSL - source_language_version: 600 - spirv_execution_model: 4 # Fragment - shader_stage: 0x00000010 # PS - descriptor_binding_count: 4 - descriptor_bindings: - - *db1 # "BufferIn" - - *db2 # "counter.var.BufferOut" - - *db0 # "counter.var.BufferIn" - - *db3 # "BufferOut" - descriptor_set_count: 2 - descriptor_sets: - - set: 1 - binding_count: 2 - bindings: - - *db1 # "BufferIn" - - *db0 # "counter.var.BufferIn" - - set: 2 - binding_count: 2 - bindings: - - *db2 # "counter.var.BufferOut" - - *db3 # "BufferOut" - input_variable_count: 1, - input_variables: - - *iv0 # - output_variable_count: 1, - output_variables: - - *iv1 # "out.var.SV_TARGET" - push_constant_count: 0, - push_constants: -... +%YAML 1.0 +--- +all_type_descriptions: + - &td0 + id: 9 + op: 21 + type_name: + struct_member_name: "rgba" + storage_class: 0 # UniformConstant + type_flags: 0x00000004 # INT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td1 + id: 20 + op: 29 + type_name: "Data" + struct_member_name: + storage_class: 0 # UniformConstant + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td0 + - &td2 + id: 19 + op: 30 + type_name: "type.ConsumeStructuredBuffer.Data" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000002 # BUFFER_BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td1 + - &td3 + id: 9 + op: 21 + type_name: + struct_member_name: "rgba" + storage_class: 0 # UniformConstant + type_flags: 0x00000004 # INT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td4 + id: 11 + op: 21 + type_name: + struct_member_name: "counter" + storage_class: 0 # UniformConstant + type_flags: 0x00000004 # INT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td5 + id: 23 + op: 30 + type_name: "type.ACSBuffer.counter" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000002 # BUFFER_BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td4 + - &td6 + id: 9 + op: 21 + type_name: + struct_member_name: "rgba" + storage_class: 0 # UniformConstant + type_flags: 0x00000004 # INT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td7 + id: 20 + op: 29 + type_name: "Data" + struct_member_name: + storage_class: 0 # UniformConstant + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td6 + - &td8 + id: 25 + op: 30 + type_name: "type.AppendStructuredBuffer.Data" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000002 # BUFFER_BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td7 + - &td9 + id: 16 + op: 23 + type_name: + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: +all_block_variables: + - &bv0 + name: "rgba" + offset: 0 + absolute_offset: 0 + size: 4 + padded_size: 4 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td3 + - &bv1 + name: + offset: 0 + absolute_offset: 0 + size: 4 + padded_size: 4 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv0 + type_description: *td1 + - &bv2 + name: "BufferIn" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv1 + type_description: *td2 + - &bv3 + name: "counter" + offset: 0 + absolute_offset: 0 + size: 4 + padded_size: 4 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td4 + - &bv4 + name: "counter.var.BufferOut" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv3 + type_description: *td5 + - &bv5 + name: "counter" + offset: 0 + absolute_offset: 0 + size: 4 + padded_size: 4 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td4 + - &bv6 + name: "counter.var.BufferIn" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv5 + type_description: *td5 + - &bv7 + name: "rgba" + offset: 0 + absolute_offset: 0 + size: 4 + padded_size: 4 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td3 + - &bv8 + name: + offset: 0 + absolute_offset: 0 + size: 4 + padded_size: 4 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv7 + type_description: *td7 + - &bv9 + name: "BufferOut" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv8 + type_description: *td8 +all_descriptor_bindings: + - &db0 + spirv_id: 6 + name: "counter.var.BufferIn" + binding: 1 + input_attachment_index: 0 + set: 1 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 8 # UAV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv6 # "counter.var.BufferIn" + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td5 + word_offset: { binding: 299, set: 295 } + - &db1 + spirv_id: 5 + name: "BufferIn" + binding: 0 + input_attachment_index: 0 + set: 1 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 8 # UAV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv2 # "BufferIn" + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 6 + uav_counter_binding: *db0 # "counter.var.BufferIn" + type_description: *td2 + word_offset: { binding: 283, set: 279 } + - &db2 + spirv_id: 8 + name: "counter.var.BufferOut" + binding: 0 + input_attachment_index: 0 + set: 2 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 8 # UAV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv4 # "counter.var.BufferOut" + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td5 + word_offset: { binding: 307, set: 303 } + - *db0 + - &db3 + spirv_id: 7 + name: "BufferOut" + binding: 1 + input_attachment_index: 0 + set: 2 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 8 # UAV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv9 # "BufferOut" + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 8 + uav_counter_binding: *db2 # "counter.var.BufferOut" + type_description: *td8 + word_offset: { binding: 291, set: 287 } +all_interface_variables: + - &iv0 + spirv_id: 2 + name: + location: 4294967295 + storage_class: 1 # Input + semantic: "SV_Position" + decoration_flags: 0x00000010 # BUILT_IN + built_in: 15 # FragCoord + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT + type_description: *td9 + word_offset: { location: 0 } + - &iv1 + spirv_id: 3 + name: "out.var.SV_TARGET" + location: 0 + storage_class: 3 # Output + semantic: "SV_TARGET" + decoration_flags: 0x00000000 # NONE + built_in: -1 # ??? + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT + type_description: *td9 + word_offset: { location: 275 } +module: + generator: 14 # Google spiregg + entry_point_name: "main" + entry_point_id: 1 + source_language: 5 # HLSL + source_language_version: 600 + spirv_execution_model: 4 # Fragment + shader_stage: 0x00000010 # PS + descriptor_binding_count: 4 + descriptor_bindings: + - *db1 # "BufferIn" + - *db2 # "counter.var.BufferOut" + - *db0 # "counter.var.BufferIn" + - *db3 # "BufferOut" + descriptor_set_count: 2 + descriptor_sets: + - set: 1 + binding_count: 2 + bindings: + - *db1 # "BufferIn" + - *db0 # "counter.var.BufferIn" + - set: 2 + binding_count: 2 + bindings: + - *db2 # "counter.var.BufferOut" + - *db3 # "BufferOut" + input_variable_count: 1, + input_variables: + - *iv0 # + output_variable_count: 1, + output_variables: + - *iv1 # "out.var.SV_TARGET" + push_constant_count: 0, + push_constants: +... diff --git a/tests/hlsl/binding_array.spv b/tests/hlsl/binding_array.spv index 8a6f600dae180831bc8667b38828fc6df6e3e955..e2651ea89f4ad093ab83b002e2cc2b128f0de87c 100644 GIT binary patch literal 2332 zcmZ{l?N1Xy5XM)ipr?ZPg712~s73H>t0GD?G0_kc6=MmS7}6YaVv|zH^=fR4AN;TV zqVf6d-r{O>&9FN&&&)nEJ6DH?W=4%UV2l|v5A>HcVTP+W)7HmM zuhaU_@4heEyWOH1kW^p~9{!hSk6h+N+XRnjx%_1$b z_{E@9-z{#$58^!AZug2Tul8zl%h6i)x#;IvZn2H6q`i}F^WY#yEVk^OwT;?0-t8C3r!-I09oG))tJrt<^KekFe?|7aG*5Rd z+BH=sn|oS&FMpr>##hWNHrslKxhj2gGs(I|KG0Ed6?08H^?Lof(>1;LM@^zVsC&Pl z6~!{6Mhv%4qvJmWM)#vv zbWc%E>X!7=%FDMCOZblFOWnpupA?J3+T+s4Ig+r>2upp~sC7XM(T_^NAU@wQox}WN z(y5R8C$z^B7I^d%68N51W@hW6?8mip#urPsebpJek5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+++ b/tests/hlsl/binding_types.spv.yaml @@ -1,1908 +1,1908 @@ -%YAML 1.0 ---- -all_type_descriptions: - - &td0 - id: 2 - op: 22 - type_name: - struct_member_name: "x" - storage_class: 0 # UniformConstant - type_flags: 0x00000008 # FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td1 - id: 3 - op: 30 - type_name: "type.MyCBuffer" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000001 # BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td0 - - &td2 - id: 2 - op: 22 - type_name: - struct_member_name: "x" - storage_class: 0 # UniformConstant - type_flags: 0x00000008 # FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td3 - id: 6 - op: 30 - type_name: "type.ConstantBuffer.Data" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000001 # BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td2 - - &td4 - id: 9 - op: 25 - type_name: "type.1d.image" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td5 - id: 12 - op: 25 - type_name: "type.2d.image" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 1, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td6 - id: 15 - op: 25 - type_name: "type.3d.image" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 2, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=3D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td7 - id: 18 - op: 25 - type_name: "type.1d.image.array" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 2, arrayed: 1, ms: 0, sampled: 1, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td8 - id: 21 - op: 25 - type_name: "type.2d.image.array" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 1, depth: 2, arrayed: 1, ms: 0, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td9 - id: 24 - op: 25 - type_name: "type.1d.image" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=1D image_format=Rgba32f - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td10 - id: 27 - op: 25 - type_name: "type.2d.image" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 1, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=2D image_format=Rgba32f - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td11 - id: 30 - op: 25 - type_name: "type.3d.image" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 2, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=3D image_format=Rgba32f - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td12 - id: 33 - op: 25 - type_name: "type.1d.image.array" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 2, arrayed: 1, ms: 0, sampled: 2, image_format: 1 } # dim=1D image_format=Rgba32f - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td13 - id: 36 - op: 25 - type_name: "type.2d.image.array" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 1, depth: 2, arrayed: 1, ms: 0, sampled: 2, image_format: 1 } # dim=2D image_format=Rgba32f - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td14 - id: 39 - op: 25 - type_name: "type.2d.image" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 1, depth: 2, arrayed: 0, ms: 1, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td15 - id: 42 - op: 25 - type_name: "type.2d.image.array" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 1, depth: 2, arrayed: 1, ms: 1, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td16 - id: 45 - op: 25 - type_name: "type.cube.image" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 3, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=Cube image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td17 - id: 48 - op: 25 - type_name: "type.cube.image.array" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 3, depth: 2, arrayed: 1, ms: 0, sampled: 1, image_format: 0 } # dim=Cube image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td18 - id: 2 - op: 22 - type_name: - struct_member_name: "q" - storage_class: 0 # UniformConstant - type_flags: 0x00000008 # FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td19 - id: 51 - op: 30 - type_name: "type.MyTBuffer" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000002 # BUFFER_BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td18 - - &td20 - id: 54 - op: 23 - type_name: - struct_member_name: "x" - storage_class: 0 # UniformConstant - type_flags: 0x00000108 # VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td21 - id: 55 - op: 30 - type_name: "type.TextureBuffer.Data2" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000002 # BUFFER_BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td20 - - &td22 - id: 58 - op: 25 - type_name: "type.buffer.image" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 5, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 1 } # dim=Buffer image_format=Rgba32f - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td23 - id: 61 - op: 25 - type_name: "type.buffer.image" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00010000 # EXTERNAL_IMAGE - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 5, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=Buffer image_format=Rgba32f - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td24 - id: 64 - op: 29 - type_name: - struct_member_name: - storage_class: 0 # UniformConstant - type_flags: 0x00000008 # FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td25 - id: 65 - op: 30 - type_name: "type.StructuredBuffer.float" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000002 # BUFFER_BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td24 - - &td26 - id: 64 - op: 29 - type_name: - struct_member_name: - storage_class: 0 # UniformConstant - type_flags: 0x00000008 # FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td27 - id: 68 - op: 30 - type_name: "type.RWStructuredBuffer.float" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000002 # BUFFER_BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td26 - - &td28 - id: 71 - op: 21 - type_name: - struct_member_name: - storage_class: 0 # UniformConstant - type_flags: 0x00000004 # INT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td29 - id: 72 - op: 30 - type_name: "type.ACSBuffer.counter" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000002 # BUFFER_BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td28 - - &td30 - id: 64 - op: 29 - type_name: - struct_member_name: - storage_class: 0 # UniformConstant - type_flags: 0x00000008 # FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td31 - id: 75 - op: 30 - type_name: "type.AppendStructuredBuffer.float" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000002 # BUFFER_BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td30 - - &td32 - id: 64 - op: 29 - type_name: - struct_member_name: - storage_class: 0 # UniformConstant - type_flags: 0x00000008 # FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td33 - id: 79 - op: 30 - type_name: "type.ConsumeStructuredBuffer.float" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000002 # BUFFER_BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td32 - - &td34 - id: 84 - op: 29 - type_name: - struct_member_name: - storage_class: 0 # UniformConstant - type_flags: 0x00000004 # INT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td35 - id: 85 - op: 30 - type_name: "type.ByteAddressBuffer" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000002 # BUFFER_BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td34 - - &td36 - id: 84 - op: 29 - type_name: - struct_member_name: - storage_class: 0 # UniformConstant - type_flags: 0x00000004 # INT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td37 - id: 88 - op: 30 - type_name: "type.RWByteAddressBuffer" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000002 # BUFFER_BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td36 - - &td38 - id: 54 - op: 23 - type_name: - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00000108 # VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: -all_block_variables: - - &bv0 - name: "x" - offset: 0 - absolute_offset: 0 - size: 4 - padded_size: 16 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td0 - - &bv1 - name: "MyCBuffer" - offset: 0 - absolute_offset: 0 - size: 16 - padded_size: 16 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv0 - type_description: *td1 - - &bv2 - name: "x" - offset: 0 - absolute_offset: 0 - size: 4 - padded_size: 16 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td2 - - &bv3 - name: "MyConstantBuffer" - offset: 0 - absolute_offset: 0 - size: 16 - padded_size: 16 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv2 - type_description: *td3 - - &bv4 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv5 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv6 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv7 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv8 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv9 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv10 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv11 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv12 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv13 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv14 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv15 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv16 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv17 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv18 - name: "q" - offset: 0 - absolute_offset: 0 - size: 4 - padded_size: 4 - decorations: 0x00000080 # NON_WRITABLE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td18 - - &bv19 - name: "MyTBuffer" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000080 # NON_WRITABLE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv18 - type_description: *td19 - - &bv20 - name: "x" - offset: 0 - absolute_offset: 0 - size: 16 - padded_size: 16 - decorations: 0x00000080 # NON_WRITABLE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td20 - - &bv21 - name: "MyTextureBuffer" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000080 # NON_WRITABLE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv20 - type_description: *td21 - - &bv22 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv23 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: - - &bv24 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000080 # NON_WRITABLE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td24 - - &bv25 - name: "MyStructuredBuffer" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000080 # NON_WRITABLE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv24 - type_description: *td25 - - &bv26 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td26 - - &bv27 - name: "MyRWStructuredBuffer" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv26 - type_description: *td27 - - &bv28 - name: - offset: 0 - absolute_offset: 0 - size: 4 - padded_size: 4 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td28 - - &bv29 - name: "counter.var.MyRWStructuredBuffer" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv28 - type_description: *td29 - - &bv30 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td30 - - &bv31 - name: "MyAppendStructuredBuffer" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv30 - type_description: *td31 - - &bv32 - name: - offset: 0 - absolute_offset: 0 - size: 4 - padded_size: 4 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td28 - - &bv33 - name: "counter.var.MyAppendStructuredBuffer" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv32 - type_description: *td29 - - &bv34 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td32 - - &bv35 - name: "MyConsumeStructuredBuffer" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv34 - type_description: *td33 - - &bv36 - name: - offset: 0 - absolute_offset: 0 - size: 4 - padded_size: 4 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td28 - - &bv37 - name: "counter.var.MyConsumeStructuredBuffer" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv36 - type_description: *td29 - - &bv38 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000080 # NON_WRITABLE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td34 - - &bv39 - name: "MyByteAddressBuffer" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000080 # NON_WRITABLE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv38 - type_description: *td35 - - &bv40 - name: - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td36 - - &bv41 - name: "MyRWByteAddressBuffer" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv40 - type_description: *td37 -all_descriptor_bindings: - - &db0 - spirv_id: 5 - name: "MyCBuffer" - binding: 0 - input_attachment_index: 0 - set: 0 - descriptor_type: 6 # VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER - resource_type: 2 # CBV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv1 # "MyCBuffer" - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td1 - word_offset: { binding: 940, set: 936 } - - &db1 - spirv_id: 8 - name: "MyConstantBuffer" - binding: 1 - input_attachment_index: 0 - set: 0 - descriptor_type: 6 # VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER - resource_type: 2 # CBV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv3 # "MyConstantBuffer" - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td3 - word_offset: { binding: 948, set: 944 } - - &db2 - spirv_id: 11 - name: "MyTexture1D" - binding: 2 - input_attachment_index: 0 - set: 0 - descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE - resource_type: 4 # SRV - image: { dim: 0, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=1D image_format=Unknown - block: *bv4 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td4 - word_offset: { binding: 956, set: 952 } - - &db3 - spirv_id: 14 - name: "MyTexture2D" - binding: 3 - input_attachment_index: 0 - set: 0 - descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE - resource_type: 4 # SRV - image: { dim: 1, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown - block: *bv5 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td5 - word_offset: { binding: 964, set: 960 } - - &db4 - spirv_id: 17 - name: "MyTexture3D" - binding: 4 - input_attachment_index: 0 - set: 0 - descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE - resource_type: 4 # SRV - image: { dim: 2, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=3D image_format=Unknown - block: *bv6 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td6 - word_offset: { binding: 972, set: 968 } - - &db5 - spirv_id: 20 - name: "MyTexture1DArray" - binding: 5 - input_attachment_index: 0 - set: 0 - descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE - resource_type: 4 # SRV - image: { dim: 0, depth: 2, arrayed: 1, ms: 0, sampled: 1, image_format: 0 } # dim=1D image_format=Unknown - block: *bv7 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td7 - word_offset: { binding: 980, set: 976 } - - &db6 - spirv_id: 23 - name: "MyTexture2DArray" - binding: 6 - input_attachment_index: 0 - set: 0 - descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE - resource_type: 4 # SRV - image: { dim: 1, depth: 2, arrayed: 1, ms: 0, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown - block: *bv8 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td8 - word_offset: { binding: 988, set: 984 } - - &db7 - spirv_id: 26 - name: "MyRWTexture1D" - binding: 7 - input_attachment_index: 0 - set: 0 - descriptor_type: 3 # VK_DESCRIPTOR_TYPE_STORAGE_IMAGE - resource_type: 8 # UAV - image: { dim: 0, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=1D image_format=Rgba32f - block: *bv9 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td9 - word_offset: { binding: 996, set: 992 } - - &db8 - spirv_id: 29 - name: "MyRWTexture2D" - binding: 8 - input_attachment_index: 0 - set: 0 - descriptor_type: 3 # VK_DESCRIPTOR_TYPE_STORAGE_IMAGE - resource_type: 8 # UAV - image: { dim: 1, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=2D image_format=Rgba32f - block: *bv10 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td10 - word_offset: { binding: 1004, set: 1000 } - - &db9 - spirv_id: 32 - name: "MyRWTexture3D" - binding: 9 - input_attachment_index: 0 - set: 0 - descriptor_type: 3 # VK_DESCRIPTOR_TYPE_STORAGE_IMAGE - resource_type: 8 # UAV - image: { dim: 2, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=3D image_format=Rgba32f - block: *bv11 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td11 - word_offset: { binding: 1012, set: 1008 } - - &db10 - spirv_id: 35 - name: "MyRWTexture1DArray" - binding: 10 - input_attachment_index: 0 - set: 0 - descriptor_type: 3 # VK_DESCRIPTOR_TYPE_STORAGE_IMAGE - resource_type: 8 # UAV - image: { dim: 0, depth: 2, arrayed: 1, ms: 0, sampled: 2, image_format: 1 } # dim=1D image_format=Rgba32f - block: *bv12 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td12 - word_offset: { binding: 1020, set: 1016 } - - &db11 - spirv_id: 38 - name: "MyRWTexture2DArray" - binding: 11 - input_attachment_index: 0 - set: 0 - descriptor_type: 3 # VK_DESCRIPTOR_TYPE_STORAGE_IMAGE - resource_type: 8 # UAV - image: { dim: 1, depth: 2, arrayed: 1, ms: 0, sampled: 2, image_format: 1 } # dim=2D image_format=Rgba32f - block: *bv13 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td13 - word_offset: { binding: 1028, set: 1024 } - - &db12 - spirv_id: 41 - name: "MyTexture2DMS" - binding: 12 - input_attachment_index: 0 - set: 0 - descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE - resource_type: 4 # SRV - image: { dim: 1, depth: 2, arrayed: 0, ms: 1, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown - block: *bv14 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td14 - word_offset: { binding: 1036, set: 1032 } - - &db13 - spirv_id: 44 - name: "MyTexture2DMSArray" - binding: 13 - input_attachment_index: 0 - set: 0 - descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE - resource_type: 4 # SRV - image: { dim: 1, depth: 2, arrayed: 1, ms: 1, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown - block: *bv15 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td15 - word_offset: { binding: 1044, set: 1040 } - - &db14 - spirv_id: 47 - name: "MyTextureCube" - binding: 14 - input_attachment_index: 0 - set: 0 - descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE - resource_type: 4 # SRV - image: { dim: 3, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=Cube image_format=Unknown - block: *bv16 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td16 - word_offset: { binding: 1052, set: 1048 } - - &db15 - spirv_id: 50 - name: "MyTextureCubeArray" - binding: 15 - input_attachment_index: 0 - set: 0 - descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE - resource_type: 4 # SRV - image: { dim: 3, depth: 2, arrayed: 1, ms: 0, sampled: 1, image_format: 0 } # dim=Cube image_format=Unknown - block: *bv17 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td17 - word_offset: { binding: 1060, set: 1056 } - - &db16 - spirv_id: 53 - name: "MyTBuffer" - binding: 16 - input_attachment_index: 0 - set: 0 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 4 # SRV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv19 # "MyTBuffer" - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td19 - word_offset: { binding: 1068, set: 1064 } - - &db17 - spirv_id: 57 - name: "MyTextureBuffer" - binding: 17 - input_attachment_index: 0 - set: 0 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 4 # SRV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv21 # "MyTextureBuffer" - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td21 - word_offset: { binding: 1076, set: 1072 } - - &db18 - spirv_id: 60 - name: "MyBuffer" - binding: 18 - input_attachment_index: 0 - set: 0 - descriptor_type: 4 # VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER - resource_type: 4 # SRV - image: { dim: 5, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 1 } # dim=Buffer image_format=Rgba32f - block: *bv22 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td22 - word_offset: { binding: 1084, set: 1080 } - - &db19 - spirv_id: 63 - name: "MyRWBuffer" - binding: 19 - input_attachment_index: 0 - set: 0 - descriptor_type: 5 # VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER - resource_type: 8 # UAV - image: { dim: 5, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=Buffer image_format=Rgba32f - block: *bv23 # - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td23 - word_offset: { binding: 1092, set: 1088 } - - &db20 - spirv_id: 67 - name: "MyStructuredBuffer" - binding: 20 - input_attachment_index: 0 - set: 0 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 4 # SRV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv25 # "MyStructuredBuffer" - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td25 - word_offset: { binding: 1100, set: 1096 } - - &db21 - spirv_id: 74 - name: "counter.var.MyRWStructuredBuffer" - binding: 22 - input_attachment_index: 0 - set: 0 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 8 # UAV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv29 # "counter.var.MyRWStructuredBuffer" - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td29 - word_offset: { binding: 1116, set: 1112 } - - &db22 - spirv_id: 70 - name: "MyRWStructuredBuffer" - binding: 21 - input_attachment_index: 0 - set: 0 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 8 # UAV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv27 # "MyRWStructuredBuffer" - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 74 - uav_counter_binding: *db21 # "counter.var.MyRWStructuredBuffer" - type_description: *td27 - word_offset: { binding: 1108, set: 1104 } - - *db21 - - &db23 - spirv_id: 78 - name: "counter.var.MyAppendStructuredBuffer" - binding: 24 - input_attachment_index: 0 - set: 0 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 8 # UAV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv33 # "counter.var.MyAppendStructuredBuffer" - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td29 - word_offset: { binding: 1132, set: 1128 } - - &db24 - spirv_id: 77 - name: "MyAppendStructuredBuffer" - binding: 23 - input_attachment_index: 0 - set: 0 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 8 # UAV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv31 # "MyAppendStructuredBuffer" - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 78 - uav_counter_binding: *db23 # "counter.var.MyAppendStructuredBuffer" - type_description: *td31 - word_offset: { binding: 1124, set: 1120 } - - *db23 - - &db25 - spirv_id: 82 - name: "counter.var.MyConsumeStructuredBuffer" - binding: 26 - input_attachment_index: 0 - set: 0 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 8 # UAV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv37 # "counter.var.MyConsumeStructuredBuffer" - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td29 - word_offset: { binding: 1148, set: 1144 } - - &db26 - spirv_id: 81 - name: "MyConsumeStructuredBuffer" - binding: 25 - input_attachment_index: 0 - set: 0 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 8 # UAV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv35 # "MyConsumeStructuredBuffer" - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 82 - uav_counter_binding: *db25 # "counter.var.MyConsumeStructuredBuffer" - type_description: *td33 - word_offset: { binding: 1140, set: 1136 } - - *db25 - - &db27 - spirv_id: 87 - name: "MyByteAddressBuffer" - binding: 27 - input_attachment_index: 0 - set: 0 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 4 # SRV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv39 # "MyByteAddressBuffer" - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td35 - word_offset: { binding: 1156, set: 1152 } - - &db28 - spirv_id: 90 - name: "MyRWByteAddressBuffer" - binding: 28 - input_attachment_index: 0 - set: 0 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 8 # UAV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv41 # "MyRWByteAddressBuffer" - array: { dims_count: 0, dims: [] } - accessed: 0 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td37 - word_offset: { binding: 1164, set: 1160 } -all_interface_variables: - - &iv0 - spirv_id: 99 - name: - location: 4294967295 - storage_class: 1 # Input - semantic: "SV_POSITION" - decoration_flags: 0x00000010 # BUILT_IN - built_in: 15 # FragCoord - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT - type_description: *td38 - word_offset: { location: 0 } - - &iv1 - spirv_id: 103 - name: "out.var.SV_TARGET" - location: 0 - storage_class: 3 # Output - semantic: "SV_TARGET" - decoration_flags: 0x00000000 # NONE - built_in: -1 # ??? - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT - type_description: *td38 - word_offset: { location: 932 } -module: - generator: 14 # Google spiregg - entry_point_name: "main" - entry_point_id: 94 - source_language: 5 # HLSL - source_language_version: 600 - spirv_execution_model: 4 # Fragment - shader_stage: 0x00000010 # PS - descriptor_binding_count: 29 - descriptor_bindings: - - *db0 # "MyCBuffer" - - *db1 # "MyConstantBuffer" - - *db2 # "MyTexture1D" - - *db3 # "MyTexture2D" - - *db4 # "MyTexture3D" - - *db5 # "MyTexture1DArray" - - *db6 # "MyTexture2DArray" - - *db7 # "MyRWTexture1D" - - *db8 # "MyRWTexture2D" - - *db9 # "MyRWTexture3D" - - *db10 # "MyRWTexture1DArray" - - *db11 # "MyRWTexture2DArray" - - *db12 # "MyTexture2DMS" - - *db13 # "MyTexture2DMSArray" - - *db14 # "MyTextureCube" - - *db15 # "MyTextureCubeArray" - - *db16 # "MyTBuffer" - - *db17 # "MyTextureBuffer" - - *db18 # "MyBuffer" - - *db19 # "MyRWBuffer" - - *db20 # "MyStructuredBuffer" - - *db22 # "MyRWStructuredBuffer" - - *db21 # "counter.var.MyRWStructuredBuffer" - - *db24 # "MyAppendStructuredBuffer" - - *db23 # "counter.var.MyAppendStructuredBuffer" - - *db26 # "MyConsumeStructuredBuffer" - - *db25 # "counter.var.MyConsumeStructuredBuffer" - - *db27 # "MyByteAddressBuffer" - - *db28 # "MyRWByteAddressBuffer" - descriptor_set_count: 1 - descriptor_sets: - - set: 0 - binding_count: 29 - bindings: - - *db0 # "MyCBuffer" - - *db1 # "MyConstantBuffer" - - *db2 # "MyTexture1D" - - *db3 # "MyTexture2D" - - *db4 # "MyTexture3D" - - *db5 # "MyTexture1DArray" - - *db6 # "MyTexture2DArray" - - *db7 # "MyRWTexture1D" - - *db8 # "MyRWTexture2D" - - *db9 # "MyRWTexture3D" - - *db10 # "MyRWTexture1DArray" - - *db11 # "MyRWTexture2DArray" - - *db12 # "MyTexture2DMS" - - *db13 # "MyTexture2DMSArray" - - *db14 # "MyTextureCube" - - *db15 # "MyTextureCubeArray" - - *db16 # "MyTBuffer" - - *db17 # "MyTextureBuffer" - - *db18 # "MyBuffer" - - *db19 # "MyRWBuffer" - - *db20 # "MyStructuredBuffer" - - *db22 # "MyRWStructuredBuffer" - - *db21 # "counter.var.MyRWStructuredBuffer" - - *db24 # "MyAppendStructuredBuffer" - - *db23 # "counter.var.MyAppendStructuredBuffer" - - *db26 # "MyConsumeStructuredBuffer" - - *db25 # "counter.var.MyConsumeStructuredBuffer" - - *db27 # "MyByteAddressBuffer" - - *db28 # "MyRWByteAddressBuffer" - input_variable_count: 1, - input_variables: - - *iv0 # - output_variable_count: 1, - output_variables: - - *iv1 # "out.var.SV_TARGET" - push_constant_count: 0, - push_constants: -... +%YAML 1.0 +--- +all_type_descriptions: + - &td0 + id: 34 + op: 22 + type_name: + struct_member_name: "x" + storage_class: 0 # UniformConstant + type_flags: 0x00000008 # FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td1 + id: 39 + op: 30 + type_name: "type.MyCBuffer" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000001 # BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td0 + - &td2 + id: 34 + op: 22 + type_name: + struct_member_name: "x" + storage_class: 0 # UniformConstant + type_flags: 0x00000008 # FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td3 + id: 41 + op: 30 + type_name: "type.ConstantBuffer.Data" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000001 # BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td2 + - &td4 + id: 43 + op: 25 + type_name: "type.1d.image" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td5 + id: 45 + op: 25 + type_name: "type.2d.image" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 1, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td6 + id: 47 + op: 25 + type_name: "type.3d.image" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 2, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=3D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td7 + id: 49 + op: 25 + type_name: "type.1d.image.array" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 2, arrayed: 1, ms: 0, sampled: 1, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td8 + id: 51 + op: 25 + type_name: "type.2d.image.array" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 1, depth: 2, arrayed: 1, ms: 0, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td9 + id: 53 + op: 25 + type_name: "type.1d.image" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=1D image_format=Rgba32f + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td10 + id: 55 + op: 25 + type_name: "type.2d.image" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 1, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=2D image_format=Rgba32f + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td11 + id: 57 + op: 25 + type_name: "type.3d.image" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 2, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=3D image_format=Rgba32f + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td12 + id: 59 + op: 25 + type_name: "type.1d.image.array" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 2, arrayed: 1, ms: 0, sampled: 2, image_format: 1 } # dim=1D image_format=Rgba32f + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td13 + id: 61 + op: 25 + type_name: "type.2d.image.array" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 1, depth: 2, arrayed: 1, ms: 0, sampled: 2, image_format: 1 } # dim=2D image_format=Rgba32f + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td14 + id: 63 + op: 25 + type_name: "type.2d.image" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 1, depth: 2, arrayed: 0, ms: 1, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td15 + id: 65 + op: 25 + type_name: "type.2d.image.array" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 1, depth: 2, arrayed: 1, ms: 1, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td16 + id: 67 + op: 25 + type_name: "type.cube.image" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 3, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=Cube image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td17 + id: 69 + op: 25 + type_name: "type.cube.image.array" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 3, depth: 2, arrayed: 1, ms: 0, sampled: 1, image_format: 0 } # dim=Cube image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td18 + id: 34 + op: 22 + type_name: + struct_member_name: "q" + storage_class: 0 # UniformConstant + type_flags: 0x00000008 # FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td19 + id: 71 + op: 30 + type_name: "type.MyTBuffer" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000002 # BUFFER_BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td18 + - &td20 + id: 36 + op: 23 + type_name: + struct_member_name: "x" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td21 + id: 73 + op: 30 + type_name: "type.TextureBuffer.Data2" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000002 # BUFFER_BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td20 + - &td22 + id: 75 + op: 25 + type_name: "type.buffer.image" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 5, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 1 } # dim=Buffer image_format=Rgba32f + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td23 + id: 77 + op: 25 + type_name: "type.buffer.image" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00010000 # EXTERNAL_IMAGE + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 5, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=Buffer image_format=Rgba32f + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td24 + id: 80 + op: 29 + type_name: + struct_member_name: + storage_class: 0 # UniformConstant + type_flags: 0x00000008 # FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td25 + id: 79 + op: 30 + type_name: "type.StructuredBuffer.float" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000002 # BUFFER_BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td24 + - &td26 + id: 80 + op: 29 + type_name: + struct_member_name: + storage_class: 0 # UniformConstant + type_flags: 0x00000008 # FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td27 + id: 82 + op: 30 + type_name: "type.RWStructuredBuffer.float" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000002 # BUFFER_BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td26 + - &td28 + id: 85 + op: 21 + type_name: + struct_member_name: "counter" + storage_class: 0 # UniformConstant + type_flags: 0x00000004 # INT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td29 + id: 84 + op: 30 + type_name: "type.ACSBuffer.counter" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000002 # BUFFER_BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td28 + - &td30 + id: 80 + op: 29 + type_name: + struct_member_name: + storage_class: 0 # UniformConstant + type_flags: 0x00000008 # FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td31 + id: 87 + op: 30 + type_name: "type.AppendStructuredBuffer.float" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000002 # BUFFER_BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td30 + - &td32 + id: 80 + op: 29 + type_name: + struct_member_name: + storage_class: 0 # UniformConstant + type_flags: 0x00000008 # FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td33 + id: 89 + op: 30 + type_name: "type.ConsumeStructuredBuffer.float" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000002 # BUFFER_BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td32 + - &td34 + id: 92 + op: 29 + type_name: + struct_member_name: + storage_class: 0 # UniformConstant + type_flags: 0x00000004 # INT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td35 + id: 91 + op: 30 + type_name: "type.ByteAddressBuffer" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000002 # BUFFER_BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td34 + - &td36 + id: 92 + op: 29 + type_name: + struct_member_name: + storage_class: 0 # UniformConstant + type_flags: 0x00000004 # INT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td37 + id: 95 + op: 30 + type_name: "type.RWByteAddressBuffer" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000002 # BUFFER_BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td36 + - &td38 + id: 36 + op: 23 + type_name: + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: +all_block_variables: + - &bv0 + name: "x" + offset: 0 + absolute_offset: 0 + size: 4 + padded_size: 16 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td0 + - &bv1 + name: "MyCBuffer" + offset: 0 + absolute_offset: 0 + size: 16 + padded_size: 16 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv0 + type_description: *td1 + - &bv2 + name: "x" + offset: 0 + absolute_offset: 0 + size: 4 + padded_size: 16 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td2 + - &bv3 + name: "MyConstantBuffer" + offset: 0 + absolute_offset: 0 + size: 16 + padded_size: 16 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv2 + type_description: *td3 + - &bv4 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv5 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv6 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv7 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv8 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv9 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv10 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv11 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv12 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv13 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv14 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv15 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv16 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv17 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv18 + name: "q" + offset: 0 + absolute_offset: 0 + size: 4 + padded_size: 4 + decorations: 0x00000080 # NON_WRITABLE + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td18 + - &bv19 + name: "MyTBuffer" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000080 # NON_WRITABLE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv18 + type_description: *td19 + - &bv20 + name: "x" + offset: 0 + absolute_offset: 0 + size: 16 + padded_size: 16 + decorations: 0x00000080 # NON_WRITABLE + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td20 + - &bv21 + name: "MyTextureBuffer" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000080 # NON_WRITABLE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv20 + type_description: *td21 + - &bv22 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv23 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: + - &bv24 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000080 # NON_WRITABLE + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td24 + - &bv25 + name: "MyStructuredBuffer" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000080 # NON_WRITABLE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv24 + type_description: *td25 + - &bv26 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td26 + - &bv27 + name: "MyRWStructuredBuffer" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv26 + type_description: *td27 + - &bv28 + name: "counter" + offset: 0 + absolute_offset: 0 + size: 4 + padded_size: 4 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td28 + - &bv29 + name: "counter.var.MyRWStructuredBuffer" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv28 + type_description: *td29 + - &bv30 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td30 + - &bv31 + name: "MyAppendStructuredBuffer" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv30 + type_description: *td31 + - &bv32 + name: "counter" + offset: 0 + absolute_offset: 0 + size: 4 + padded_size: 4 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td28 + - &bv33 + name: "counter.var.MyAppendStructuredBuffer" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv32 + type_description: *td29 + - &bv34 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td32 + - &bv35 + name: "MyConsumeStructuredBuffer" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv34 + type_description: *td33 + - &bv36 + name: "counter" + offset: 0 + absolute_offset: 0 + size: 4 + padded_size: 4 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td28 + - &bv37 + name: "counter.var.MyConsumeStructuredBuffer" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv36 + type_description: *td29 + - &bv38 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000080 # NON_WRITABLE + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td34 + - &bv39 + name: "MyByteAddressBuffer" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000080 # NON_WRITABLE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv38 + type_description: *td35 + - &bv40 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td36 + - &bv41 + name: "MyRWByteAddressBuffer" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv40 + type_description: *td37 +all_descriptor_bindings: + - &db0 + spirv_id: 11 + name: "MyCBuffer" + binding: 0 + input_attachment_index: 0 + set: 0 + descriptor_type: 6 # VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER + resource_type: 2 # CBV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv1 # "MyCBuffer" + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td1 + word_offset: { binding: 842, set: 838 } + - &db1 + spirv_id: 12 + name: "MyConstantBuffer" + binding: 1 + input_attachment_index: 0 + set: 0 + descriptor_type: 6 # VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER + resource_type: 2 # CBV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv3 # "MyConstantBuffer" + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td3 + word_offset: { binding: 850, set: 846 } + - &db2 + spirv_id: 13 + name: "MyTexture1D" + binding: 2 + input_attachment_index: 0 + set: 0 + descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE + resource_type: 4 # SRV + image: { dim: 0, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=1D image_format=Unknown + block: *bv4 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td4 + word_offset: { binding: 858, set: 854 } + - &db3 + spirv_id: 14 + name: "MyTexture2D" + binding: 3 + input_attachment_index: 0 + set: 0 + descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE + resource_type: 4 # SRV + image: { dim: 1, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown + block: *bv5 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td5 + word_offset: { binding: 866, set: 862 } + - &db4 + spirv_id: 15 + name: "MyTexture3D" + binding: 4 + input_attachment_index: 0 + set: 0 + descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE + resource_type: 4 # SRV + image: { dim: 2, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=3D image_format=Unknown + block: *bv6 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td6 + word_offset: { binding: 874, set: 870 } + - &db5 + spirv_id: 16 + name: "MyTexture1DArray" + binding: 5 + input_attachment_index: 0 + set: 0 + descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE + resource_type: 4 # SRV + image: { dim: 0, depth: 2, arrayed: 1, ms: 0, sampled: 1, image_format: 0 } # dim=1D image_format=Unknown + block: *bv7 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td7 + word_offset: { binding: 882, set: 878 } + - &db6 + spirv_id: 17 + name: "MyTexture2DArray" + binding: 6 + input_attachment_index: 0 + set: 0 + descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE + resource_type: 4 # SRV + image: { dim: 1, depth: 2, arrayed: 1, ms: 0, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown + block: *bv8 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td8 + word_offset: { binding: 890, set: 886 } + - &db7 + spirv_id: 18 + name: "MyRWTexture1D" + binding: 7 + input_attachment_index: 0 + set: 0 + descriptor_type: 3 # VK_DESCRIPTOR_TYPE_STORAGE_IMAGE + resource_type: 8 # UAV + image: { dim: 0, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=1D image_format=Rgba32f + block: *bv9 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td9 + word_offset: { binding: 898, set: 894 } + - &db8 + spirv_id: 19 + name: "MyRWTexture2D" + binding: 8 + input_attachment_index: 0 + set: 0 + descriptor_type: 3 # VK_DESCRIPTOR_TYPE_STORAGE_IMAGE + resource_type: 8 # UAV + image: { dim: 1, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=2D image_format=Rgba32f + block: *bv10 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td10 + word_offset: { binding: 906, set: 902 } + - &db9 + spirv_id: 20 + name: "MyRWTexture3D" + binding: 9 + input_attachment_index: 0 + set: 0 + descriptor_type: 3 # VK_DESCRIPTOR_TYPE_STORAGE_IMAGE + resource_type: 8 # UAV + image: { dim: 2, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=3D image_format=Rgba32f + block: *bv11 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td11 + word_offset: { binding: 914, set: 910 } + - &db10 + spirv_id: 21 + name: "MyRWTexture1DArray" + binding: 10 + input_attachment_index: 0 + set: 0 + descriptor_type: 3 # VK_DESCRIPTOR_TYPE_STORAGE_IMAGE + resource_type: 8 # UAV + image: { dim: 0, depth: 2, arrayed: 1, ms: 0, sampled: 2, image_format: 1 } # dim=1D image_format=Rgba32f + block: *bv12 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td12 + word_offset: { binding: 922, set: 918 } + - &db11 + spirv_id: 22 + name: "MyRWTexture2DArray" + binding: 11 + input_attachment_index: 0 + set: 0 + descriptor_type: 3 # VK_DESCRIPTOR_TYPE_STORAGE_IMAGE + resource_type: 8 # UAV + image: { dim: 1, depth: 2, arrayed: 1, ms: 0, sampled: 2, image_format: 1 } # dim=2D image_format=Rgba32f + block: *bv13 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td13 + word_offset: { binding: 930, set: 926 } + - &db12 + spirv_id: 23 + name: "MyTexture2DMS" + binding: 12 + input_attachment_index: 0 + set: 0 + descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE + resource_type: 4 # SRV + image: { dim: 1, depth: 2, arrayed: 0, ms: 1, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown + block: *bv14 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td14 + word_offset: { binding: 938, set: 934 } + - &db13 + spirv_id: 24 + name: "MyTexture2DMSArray" + binding: 13 + input_attachment_index: 0 + set: 0 + descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE + resource_type: 4 # SRV + image: { dim: 1, depth: 2, arrayed: 1, ms: 1, sampled: 1, image_format: 0 } # dim=2D image_format=Unknown + block: *bv15 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td15 + word_offset: { binding: 946, set: 942 } + - &db14 + spirv_id: 25 + name: "MyTextureCube" + binding: 14 + input_attachment_index: 0 + set: 0 + descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE + resource_type: 4 # SRV + image: { dim: 3, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 0 } # dim=Cube image_format=Unknown + block: *bv16 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td16 + word_offset: { binding: 954, set: 950 } + - &db15 + spirv_id: 26 + name: "MyTextureCubeArray" + binding: 15 + input_attachment_index: 0 + set: 0 + descriptor_type: 2 # VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE + resource_type: 4 # SRV + image: { dim: 3, depth: 2, arrayed: 1, ms: 0, sampled: 1, image_format: 0 } # dim=Cube image_format=Unknown + block: *bv17 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td17 + word_offset: { binding: 962, set: 958 } + - &db16 + spirv_id: 27 + name: "MyTBuffer" + binding: 16 + input_attachment_index: 0 + set: 0 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 4 # SRV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv19 # "MyTBuffer" + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td19 + word_offset: { binding: 970, set: 966 } + - &db17 + spirv_id: 28 + name: "MyTextureBuffer" + binding: 17 + input_attachment_index: 0 + set: 0 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 4 # SRV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv21 # "MyTextureBuffer" + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td21 + word_offset: { binding: 978, set: 974 } + - &db18 + spirv_id: 29 + name: "MyBuffer" + binding: 18 + input_attachment_index: 0 + set: 0 + descriptor_type: 4 # VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER + resource_type: 4 # SRV + image: { dim: 5, depth: 2, arrayed: 0, ms: 0, sampled: 1, image_format: 1 } # dim=Buffer image_format=Rgba32f + block: *bv22 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td22 + word_offset: { binding: 986, set: 982 } + - &db19 + spirv_id: 30 + name: "MyRWBuffer" + binding: 19 + input_attachment_index: 0 + set: 0 + descriptor_type: 5 # VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER + resource_type: 8 # UAV + image: { dim: 5, depth: 2, arrayed: 0, ms: 0, sampled: 2, image_format: 1 } # dim=Buffer image_format=Rgba32f + block: *bv23 # + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td23 + word_offset: { binding: 994, set: 990 } + - &db20 + spirv_id: 31 + name: "MyStructuredBuffer" + binding: 20 + input_attachment_index: 0 + set: 0 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 4 # SRV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv25 # "MyStructuredBuffer" + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td25 + word_offset: { binding: 1002, set: 998 } + - &db21 + spirv_id: 6 + name: "counter.var.MyRWStructuredBuffer" + binding: 22 + input_attachment_index: 0 + set: 0 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 8 # UAV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv29 # "counter.var.MyRWStructuredBuffer" + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td29 + word_offset: { binding: 1018, set: 1014 } + - &db22 + spirv_id: 5 + name: "MyRWStructuredBuffer" + binding: 21 + input_attachment_index: 0 + set: 0 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 8 # UAV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv27 # "MyRWStructuredBuffer" + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 6 + uav_counter_binding: *db21 # "counter.var.MyRWStructuredBuffer" + type_description: *td27 + word_offset: { binding: 1010, set: 1006 } + - *db21 + - &db23 + spirv_id: 8 + name: "counter.var.MyAppendStructuredBuffer" + binding: 24 + input_attachment_index: 0 + set: 0 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 8 # UAV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv33 # "counter.var.MyAppendStructuredBuffer" + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td29 + word_offset: { binding: 1034, set: 1030 } + - &db24 + spirv_id: 7 + name: "MyAppendStructuredBuffer" + binding: 23 + input_attachment_index: 0 + set: 0 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 8 # UAV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv31 # "MyAppendStructuredBuffer" + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 8 + uav_counter_binding: *db23 # "counter.var.MyAppendStructuredBuffer" + type_description: *td31 + word_offset: { binding: 1026, set: 1022 } + - *db23 + - &db25 + spirv_id: 10 + name: "counter.var.MyConsumeStructuredBuffer" + binding: 26 + input_attachment_index: 0 + set: 0 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 8 # UAV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv37 # "counter.var.MyConsumeStructuredBuffer" + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td29 + word_offset: { binding: 1050, set: 1046 } + - &db26 + spirv_id: 9 + name: "MyConsumeStructuredBuffer" + binding: 25 + input_attachment_index: 0 + set: 0 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 8 # UAV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv35 # "MyConsumeStructuredBuffer" + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 10 + uav_counter_binding: *db25 # "counter.var.MyConsumeStructuredBuffer" + type_description: *td33 + word_offset: { binding: 1042, set: 1038 } + - *db25 + - &db27 + spirv_id: 32 + name: "MyByteAddressBuffer" + binding: 27 + input_attachment_index: 0 + set: 0 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 4 # SRV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv39 # "MyByteAddressBuffer" + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td35 + word_offset: { binding: 1058, set: 1054 } + - &db28 + spirv_id: 33 + name: "MyRWByteAddressBuffer" + binding: 28 + input_attachment_index: 0 + set: 0 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 8 # UAV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv41 # "MyRWByteAddressBuffer" + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td37 + word_offset: { binding: 1066, set: 1062 } +all_interface_variables: + - &iv0 + spirv_id: 2 + name: + location: 4294967295 + storage_class: 1 # Input + semantic: "SV_POSITION" + decoration_flags: 0x00000010 # BUILT_IN + built_in: 15 # FragCoord + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT + type_description: *td38 + word_offset: { location: 0 } + - &iv1 + spirv_id: 3 + name: "out.var.SV_TARGET" + location: 0 + storage_class: 3 # Output + semantic: "SV_TARGET" + decoration_flags: 0x00000000 # NONE + built_in: -1 # ??? + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT + type_description: *td38 + word_offset: { location: 834 } +module: + generator: 14 # Google spiregg + entry_point_name: "main" + entry_point_id: 1 + source_language: 5 # HLSL + source_language_version: 600 + spirv_execution_model: 4 # Fragment + shader_stage: 0x00000010 # PS + descriptor_binding_count: 29 + descriptor_bindings: + - *db0 # "MyCBuffer" + - *db1 # "MyConstantBuffer" + - *db2 # "MyTexture1D" + - *db3 # "MyTexture2D" + - *db4 # "MyTexture3D" + - *db5 # "MyTexture1DArray" + - *db6 # "MyTexture2DArray" + - *db7 # "MyRWTexture1D" + - *db8 # "MyRWTexture2D" + - *db9 # "MyRWTexture3D" + - *db10 # "MyRWTexture1DArray" + - *db11 # "MyRWTexture2DArray" + - *db12 # "MyTexture2DMS" + - *db13 # "MyTexture2DMSArray" + - *db14 # "MyTextureCube" + - *db15 # "MyTextureCubeArray" + - *db16 # "MyTBuffer" + - *db17 # "MyTextureBuffer" + - *db18 # "MyBuffer" + - *db19 # "MyRWBuffer" + - *db20 # "MyStructuredBuffer" + - *db22 # "MyRWStructuredBuffer" + - *db21 # "counter.var.MyRWStructuredBuffer" + - *db24 # "MyAppendStructuredBuffer" + - *db23 # "counter.var.MyAppendStructuredBuffer" + - *db26 # "MyConsumeStructuredBuffer" + - *db25 # "counter.var.MyConsumeStructuredBuffer" + - *db27 # "MyByteAddressBuffer" + - *db28 # "MyRWByteAddressBuffer" + descriptor_set_count: 1 + descriptor_sets: + - set: 0 + binding_count: 29 + bindings: + - *db0 # "MyCBuffer" + - *db1 # "MyConstantBuffer" + - *db2 # "MyTexture1D" + - *db3 # "MyTexture2D" + - *db4 # "MyTexture3D" + - *db5 # "MyTexture1DArray" + - *db6 # "MyTexture2DArray" + - *db7 # "MyRWTexture1D" + - *db8 # "MyRWTexture2D" + - *db9 # "MyRWTexture3D" + - *db10 # "MyRWTexture1DArray" + - *db11 # "MyRWTexture2DArray" + - *db12 # "MyTexture2DMS" + - *db13 # "MyTexture2DMSArray" + - *db14 # "MyTextureCube" + - *db15 # "MyTextureCubeArray" + - *db16 # "MyTBuffer" + - *db17 # "MyTextureBuffer" + - *db18 # "MyBuffer" + - *db19 # "MyRWBuffer" + - *db20 # "MyStructuredBuffer" + - *db22 # "MyRWStructuredBuffer" + - *db21 # "counter.var.MyRWStructuredBuffer" + - *db24 # "MyAppendStructuredBuffer" + - *db23 # "counter.var.MyAppendStructuredBuffer" + - *db26 # "MyConsumeStructuredBuffer" + - *db25 # "counter.var.MyConsumeStructuredBuffer" + - *db27 # "MyByteAddressBuffer" + - *db28 # "MyRWByteAddressBuffer" + input_variable_count: 1, + input_variables: + - *iv0 # + output_variable_count: 1, + output_variables: + - *iv1 # "out.var.SV_TARGET" + push_constant_count: 0, + push_constants: +... diff --git a/tests/hlsl/cbuffer.spv b/tests/hlsl/cbuffer.spv index 71f13ca29185e82e50e429177cec2f295edef490..a6ac487c2b015425ffb033ecf7484b188ef46046 100644 GIT binary patch literal 3568 zcmZvfYjYGu6oxzGval)_k${S^6TAe0CAU(P(joywst8HBk+LdMsmU@+1}8h~>?}o! zvWgG>0Dq33EPs|?w0xhQ=}EJ3lHTs~p7&h(^y%4T{Me<2F=NJYY=x0JR0j_s;huv!`QWtk~PkvwoZxNjx}=xopd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C*jsU4?F-ioNc>gPEp5-5Rf-XNmL2@+mD#zAe6vJ3Onx9sU&ehS?FX zahh*jXIL61W3Ob`V@Hnz)xD-2vLbBwHd)xP2Kow-@r9#jHmtfH8TuzHO*hZgEn}Dw z_RNA+w?|glgFp6FJ-ij0BIIUk&AlBB>1&^Ylk=W<`4U6=LB5Tz7CiT>BhnMHguR&-IeC(lsV}6AgA5(`m$8}-J8~dH2iBF}S)I`#JFn9_+S{@@ubs116hXb5H~f3z zsgJtgKk{ezws^4Sj2}I;Jzv$+5l@}S>G>1wR>ZpO`A)w#kD z{)*?piFnxG6|s8az=}J74?K5^8CE=)xI0+WGs8+x|J+IH!Jq!!-P3+c(*ZZWeHJ+W zDbEYqu>}*}0s4O+9-KZ95$~>i;Xf4do?!P-5@I9!OBwHo$blU;EbzW939)%E$Y-^a zucLiOM7}fPshOJSv9CB_w=1H5F#kiA;Pr(FIk+PS@84vP?y?9yvc7H-cz-DZQ*6=G z8~BGJbl>}$uX>p_CnMf9FQc|Y*|oLnUkHOOIxwIIWK|E~3kFpWH*{u37<=rfm%Lwz$W_&Q%geMa>%Hw|RlW3iM}#dp>Lorh>SHeVM8xGDR&(!p L`QMrsXJ-2k5d<03 diff --git a/tests/hlsl/counter_buffers.spv.yaml b/tests/hlsl/counter_buffers.spv.yaml index 26bfdc30..471ad27e 100644 --- a/tests/hlsl/counter_buffers.spv.yaml +++ b/tests/hlsl/counter_buffers.spv.yaml @@ -1,554 +1,554 @@ -%YAML 1.0 ---- -all_type_descriptions: - - &td0 - id: 4 - op: 21 - type_name: - struct_member_name: - storage_class: 0 # UniformConstant - type_flags: 0x00000004 # INT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td1 - id: 10 - op: 30 - type_name: "type.ACSBuffer.counter" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000002 # BUFFER_BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td0 - - &td2 - id: 3 - op: 23 - type_name: - struct_member_name: "f4" - storage_class: 0 # UniformConstant - type_flags: 0x00000108 # VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td3 - id: 4 - op: 21 - type_name: - struct_member_name: "i" - storage_class: 0 # UniformConstant - type_flags: 0x00000004 # INT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td4 - id: 6 - op: 29 - type_name: "Data" - struct_member_name: - storage_class: 0 # UniformConstant - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 2 - members: - - *td2 - - *td3 - - &td5 - id: 7 - op: 30 - type_name: "type.ConsumeStructuredBuffer.Data" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000002 # BUFFER_BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td4 - - &td6 - id: 3 - op: 23 - type_name: - struct_member_name: "f4" - storage_class: 0 # UniformConstant - type_flags: 0x00000108 # VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td7 - id: 4 - op: 21 - type_name: - struct_member_name: "i" - storage_class: 0 # UniformConstant - type_flags: 0x00000004 # INT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td8 - id: 3 - op: 23 - type_name: - struct_member_name: "f4" - storage_class: 0 # UniformConstant - type_flags: 0x00000108 # VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td9 - id: 4 - op: 21 - type_name: - struct_member_name: "i" - storage_class: 0 # UniformConstant - type_flags: 0x00000004 # INT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - - &td10 - id: 6 - op: 29 - type_name: "Data" - struct_member_name: - storage_class: 0 # UniformConstant - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 2 - members: - - *td8 - - *td9 - - &td11 - id: 13 - op: 30 - type_name: "type.AppendStructuredBuffer.Data" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK - decoration_flags: 0x00000002 # BUFFER_BLOCK - traits: - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *td10 - - &td12 - id: 3 - op: 23 - type_name: - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x00000108 # VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: -all_block_variables: - - &bv0 - name: - offset: 0 - absolute_offset: 0 - size: 4 - padded_size: 4 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td0 - - &bv1 - name: "counter.var.MyBufferIn" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv0 - type_description: *td1 - - &bv2 - name: - offset: 0 - absolute_offset: 0 - size: 4 - padded_size: 4 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td0 - - &bv3 - name: "counter.var.MyBufferOut" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv2 - type_description: *td1 - - &bv4 - name: "f4" - offset: 0 - absolute_offset: 0 - size: 16 - padded_size: 16 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td6 - - &bv5 - name: "i" - offset: 16 - absolute_offset: 0 - size: 4 - padded_size: 4 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td7 - - &bv6 - name: - offset: 0 - absolute_offset: 0 - size: 20 - padded_size: 20 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 2 - members: - - *bv4 - - *bv5 - type_description: *td4 - - &bv7 - name: "MyBufferIn" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv6 - type_description: *td5 - - &bv8 - name: "f4" - offset: 0 - absolute_offset: 0 - size: 16 - padded_size: 16 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td6 - - &bv9 - name: "i" - offset: 16 - absolute_offset: 0 - size: 4 - padded_size: 4 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 1 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td7 - - &bv10 - name: - offset: 0 - absolute_offset: 0 - size: 20 - padded_size: 20 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 2 - members: - - *bv8 - - *bv9 - type_description: *td10 - - &bv11 - name: "MyBufferOut" - offset: 0 - absolute_offset: 0 - size: 0 - padded_size: 0 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 0, signedness: 0 } - vector: { component_count: 0 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 1 - members: - - *bv10 - type_description: *td11 -all_descriptor_bindings: - - &db0 - spirv_id: 12 - name: "counter.var.MyBufferIn" - binding: 0 - input_attachment_index: 0 - set: 2 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 8 # UAV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv1 # "counter.var.MyBufferIn" - array: { dims_count: 0, dims: [] } - accessed: 1 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td1 - word_offset: { binding: 333, set: 329 } - - &db1 - spirv_id: 16 - name: "counter.var.MyBufferOut" - binding: 1 - input_attachment_index: 0 - set: 2 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 8 # UAV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv3 # "counter.var.MyBufferOut" - array: { dims_count: 0, dims: [] } - accessed: 1 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td1 - word_offset: { binding: 341, set: 337 } - - &db2 - spirv_id: 9 - name: "MyBufferIn" - binding: 3 - input_attachment_index: 0 - set: 2 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 8 # UAV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv7 # "MyBufferIn" - array: { dims_count: 0, dims: [] } - accessed: 1 - uav_counter_id: 12 - uav_counter_binding: *db0 # "counter.var.MyBufferIn" - type_description: *td5 - word_offset: { binding: 317, set: 313 } - - &db3 - spirv_id: 15 - name: "MyBufferOut" - binding: 4 - input_attachment_index: 0 - set: 2 - descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER - resource_type: 8 # UAV - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv11 # "MyBufferOut" - array: { dims_count: 0, dims: [] } - accessed: 1 - uav_counter_id: 16 - uav_counter_binding: *db1 # "counter.var.MyBufferOut" - type_description: *td11 - word_offset: { binding: 325, set: 321 } -all_interface_variables: - - &iv0 - spirv_id: 25 - name: - location: 4294967295 - storage_class: 1 # Input - semantic: "SV_Position" - decoration_flags: 0x00000010 # BUILT_IN - built_in: 15 # FragCoord - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT - type_description: *td12 - word_offset: { location: 0 } - - &iv1 - spirv_id: 29 - name: "out.var.SV_TARGET0" - location: 0 - storage_class: 3 # Output - semantic: "SV_TARGET0" - decoration_flags: 0x00000000 # NONE - built_in: -1 # ??? - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT - type_description: *td12 - word_offset: { location: 309 } -module: - generator: 14 # Google spiregg - entry_point_name: "main" - entry_point_id: 20 - source_language: 5 # HLSL - source_language_version: 600 - spirv_execution_model: 4 # Fragment - shader_stage: 0x00000010 # PS - descriptor_binding_count: 4 - descriptor_bindings: - - *db0 # "counter.var.MyBufferIn" - - *db1 # "counter.var.MyBufferOut" - - *db2 # "MyBufferIn" - - *db3 # "MyBufferOut" - descriptor_set_count: 1 - descriptor_sets: - - set: 2 - binding_count: 4 - bindings: - - *db0 # "counter.var.MyBufferIn" - - *db1 # "counter.var.MyBufferOut" - - *db2 # "MyBufferIn" - - *db3 # "MyBufferOut" - input_variable_count: 1, - input_variables: - - *iv0 # - output_variable_count: 1, - output_variables: - - *iv1 # "out.var.SV_TARGET0" - push_constant_count: 0, - push_constants: -... +%YAML 1.0 +--- +all_type_descriptions: + - &td0 + id: 11 + op: 21 + type_name: + struct_member_name: "counter" + storage_class: 0 # UniformConstant + type_flags: 0x00000004 # INT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td1 + id: 21 + op: 30 + type_name: "type.ACSBuffer.counter" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000002 # BUFFER_BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td0 + - &td2 + id: 18 + op: 23 + type_name: + struct_member_name: "f4" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td3 + id: 11 + op: 21 + type_name: + struct_member_name: "i" + storage_class: 0 # UniformConstant + type_flags: 0x00000004 # INT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td4 + id: 16 + op: 29 + type_name: "Data" + struct_member_name: + storage_class: 0 # UniformConstant + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 2 + members: + - *td2 + - *td3 + - &td5 + id: 15 + op: 30 + type_name: "type.ConsumeStructuredBuffer.Data" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000002 # BUFFER_BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td4 + - &td6 + id: 18 + op: 23 + type_name: + struct_member_name: "f4" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td7 + id: 11 + op: 21 + type_name: + struct_member_name: "i" + storage_class: 0 # UniformConstant + type_flags: 0x00000004 # INT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td8 + id: 18 + op: 23 + type_name: + struct_member_name: "f4" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td9 + id: 11 + op: 21 + type_name: + struct_member_name: "i" + storage_class: 0 # UniformConstant + type_flags: 0x00000004 # INT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + - &td10 + id: 16 + op: 29 + type_name: "Data" + struct_member_name: + storage_class: 0 # UniformConstant + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 2 + members: + - *td8 + - *td9 + - &td11 + id: 23 + op: 30 + type_name: "type.AppendStructuredBuffer.Data" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x10080000 # STRUCT EXTERNAL_BLOCK + decoration_flags: 0x00000002 # BUFFER_BLOCK + traits: + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *td10 + - &td12 + id: 18 + op: 23 + type_name: + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: +all_block_variables: + - &bv0 + name: "counter" + offset: 0 + absolute_offset: 0 + size: 4 + padded_size: 4 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td0 + - &bv1 + name: "counter.var.MyBufferIn" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv0 + type_description: *td1 + - &bv2 + name: "counter" + offset: 0 + absolute_offset: 0 + size: 4 + padded_size: 4 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td0 + - &bv3 + name: "counter.var.MyBufferOut" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv2 + type_description: *td1 + - &bv4 + name: "f4" + offset: 0 + absolute_offset: 0 + size: 16 + padded_size: 16 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td6 + - &bv5 + name: "i" + offset: 16 + absolute_offset: 0 + size: 4 + padded_size: 4 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td7 + - &bv6 + name: + offset: 0 + absolute_offset: 0 + size: 20 + padded_size: 20 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 2 + members: + - *bv4 + - *bv5 + type_description: *td4 + - &bv7 + name: "MyBufferIn" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv6 + type_description: *td5 + - &bv8 + name: "f4" + offset: 0 + absolute_offset: 0 + size: 16 + padded_size: 16 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td6 + - &bv9 + name: "i" + offset: 16 + absolute_offset: 0 + size: 4 + padded_size: 4 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 1 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + type_description: *td7 + - &bv10 + name: + offset: 0 + absolute_offset: 0 + size: 20 + padded_size: 20 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 2 + members: + - *bv8 + - *bv9 + type_description: *td10 + - &bv11 + name: "MyBufferOut" + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 0, signedness: 0 } + vector: { component_count: 0 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 1 + members: + - *bv10 + type_description: *td11 +all_descriptor_bindings: + - &db0 + spirv_id: 6 + name: "counter.var.MyBufferIn" + binding: 0 + input_attachment_index: 0 + set: 2 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 8 # UAV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv1 # "counter.var.MyBufferIn" + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td1 + word_offset: { binding: 307, set: 303 } + - &db1 + spirv_id: 8 + name: "counter.var.MyBufferOut" + binding: 1 + input_attachment_index: 0 + set: 2 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 8 # UAV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv3 # "counter.var.MyBufferOut" + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td1 + word_offset: { binding: 315, set: 311 } + - &db2 + spirv_id: 5 + name: "MyBufferIn" + binding: 3 + input_attachment_index: 0 + set: 2 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 8 # UAV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv7 # "MyBufferIn" + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 6 + uav_counter_binding: *db0 # "counter.var.MyBufferIn" + type_description: *td5 + word_offset: { binding: 291, set: 287 } + - &db3 + spirv_id: 7 + name: "MyBufferOut" + binding: 4 + input_attachment_index: 0 + set: 2 + descriptor_type: 7 # VK_DESCRIPTOR_TYPE_STORAGE_BUFFER + resource_type: 8 # UAV + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv11 # "MyBufferOut" + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 8 + uav_counter_binding: *db1 # "counter.var.MyBufferOut" + type_description: *td11 + word_offset: { binding: 299, set: 295 } +all_interface_variables: + - &iv0 + spirv_id: 2 + name: + location: 4294967295 + storage_class: 1 # Input + semantic: "SV_Position" + decoration_flags: 0x00000010 # BUILT_IN + built_in: 15 # FragCoord + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT + type_description: *td12 + word_offset: { location: 0 } + - &iv1 + spirv_id: 3 + name: "out.var.SV_TARGET0" + location: 0 + storage_class: 3 # Output + semantic: "SV_TARGET0" + decoration_flags: 0x00000000 # NONE + built_in: -1 # ??? + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT + type_description: *td12 + word_offset: { location: 283 } +module: + generator: 14 # Google spiregg + entry_point_name: "main" + entry_point_id: 1 + source_language: 5 # HLSL + source_language_version: 600 + spirv_execution_model: 4 # Fragment + shader_stage: 0x00000010 # PS + descriptor_binding_count: 4 + descriptor_bindings: + - *db0 # "counter.var.MyBufferIn" + - *db1 # "counter.var.MyBufferOut" + - *db2 # "MyBufferIn" + - *db3 # "MyBufferOut" + descriptor_set_count: 1 + descriptor_sets: + - set: 2 + binding_count: 4 + bindings: + - *db0 # "counter.var.MyBufferIn" + - *db1 # "counter.var.MyBufferOut" + - *db2 # "MyBufferIn" + - *db3 # "MyBufferOut" + input_variable_count: 1, + input_variables: + - *iv0 # + output_variable_count: 1, + output_variables: + - *iv1 # "out.var.SV_TARGET0" + push_constant_count: 0, + push_constants: +... diff --git a/tests/hlsl/semantics.spv b/tests/hlsl/semantics.spv index 4d84ae5a41e04c5a9e66547a2ee01ff99593cd65..1e3845d151aa450e7d75e978cde7346279a553cc 100644 GIT binary patch literal 7596 zcmaKv>wiRNg9$SDLpn#fW#5DEZYzVVq++{#Yor=h29+5$e>o1TwSPL znwIo_`_MnPU)o>a=j@rI(Gl(;*6jbz*=w;D_=xd@^L|+%37QHI^hUhiX>&bj1@sHgp z{d+?rfnMs=_N&cqeYaD9)jG2$SmS{fMdw_j-mJy5@ze{HrzX;`({1;5yYc7O%ki^` zINocts@>9IDSoimYVWUCyY2enlF8@d&E0CFmho{nn-=5V)1`?omnJ4wTg^^aVO{U- z?bX_!%JH>${m7)9_>;I@dtC2yYwZg=#p$?nP~EK+F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n;>vkg<_31MHRnbN5=qTuZGDyKF$yHM|y0Yg12%YibUkJ0}&951H6rAQRga5j!vbbg%H`&dEi@A`>gK zeCzr%rkDWojQfoxdDhyC($-{Zr7v;*x5zseB#+XqR;aVmb-S&2n58_;nE8gotSNDb zx30|83!=GI@m>cux>*s}C&e2g@8f$KV)?$J!yhbk z9*gfCSjWV{x+}uR_c+AzeMU!4;!cZ)HL#1EFwXBMI`$rXbiRf&fv%=Iet!o#a-n-4 z=-5qkA4Jsgr8sr`BLbg19DFzr<>PhaTh~q@*D%h{y7$!ez=NM$%%@}}pA|8e%cV>{ z4tBoX7C{F)GIQe0E6bd?6=CDJ>S;bEx58d4vChVyW@G2)r;B?0Z547yCyc+!lpC9v=+kk7W`52eJOtyXg6MrH`2Ly6;OJ^?BWeQpbBX ZR0lO*6cLXF{{V*I4(9*> literal 1532 zcmYk4NpBND5QRG)J0vVw$i|YGaeP5S@)1R169g&Y017xDZfFuuEK3d(O=hAvCw?Hu z`~VL82rfvxuX_qlTji>HUG?g9_e72E4d-T@a|^Dkf7Y^VR7m7=b{E~OYswR!CZq3c zG-OLI@|Z{zMXn|PRU0k+=&DH1uw{K7iO&PT;4^XHvaB{+R{D8rb$ zn~k&leA>@h57W!tEXxOi)f@WJ-9Jvosjm&Q(erMAmU+ir7L&8I*Dvz&xG3{<@TNRD zN%LM%h~7EXyq`>SG}*hf#DJcxEP5A7-s^w)c9`VDv=Fwh3HAnETj<62b=7npH9Rt(oodAOd-sIfPybJ;tYF8Xd&eWt$Ed`C5W zPsH58nmn`6L(jTAbHF+OhR4IV$XUpF2bP`fen@@)1I5flFZ*ymlsWg~)idR2;*F>w zXC5&#pXy}jnvt>4`A55(@~?FYxVL2Vqk*~j7vf all_spirv_paths = { "../tests/glsl/built_in_format.spv", "../tests/glsl/input_attachment.spv", "../tests/glsl/texel_buffer.spv", + "../tests/glsl/io_vars_vs.spv", "../tests/hlsl/append_consume.spv", + "../tests/hlsl/array_of_structured_buffer.spv", "../tests/hlsl/binding_array.spv", "../tests/hlsl/binding_types.spv", "../tests/hlsl/cbuffer.spv", + "../tests/hlsl/constantbuffer.spv", + "../tests/hlsl/constantbuffer_nested_structs.spv", "../tests/hlsl/counter_buffers.spv", "../tests/hlsl/semantics.spv", + "../tests/hlsl/structuredbuffer.spv", // clang-format on }; } // namespace From 7fa215cf94a2716b0fdce9cc22a7a57e741503ae Mon Sep 17 00:00:00 2001 From: xavier Date: Thu, 8 Aug 2019 21:40:34 +0200 Subject: [PATCH 2/4] enable "-fvk-use-dx-layout" for test shaders so that array_of_structured_buffer compiles. --- tests/build_all_shaders.py | 4 +- tests/cbuffer_unused/cbuffer_unused_001.spv | Bin 14020 -> 0 bytes tests/hlsl/array_of_structured_buffer.spv | Bin 1152 -> 2968 bytes .../hlsl/array_of_structured_buffer.spv.yaml | 317 +++++++++++ tests/hlsl/cbuffer.spv | Bin 3568 -> 3568 bytes tests/hlsl/cbuffer.spv.yaml | 78 +-- tests/hlsl/constantbuffer.spv | Bin 3700 -> 3700 bytes tests/hlsl/constantbuffer.spv.yaml | 78 +-- tests/hlsl/constantbuffer_nested_structs.spv | Bin 5092 -> 5092 bytes .../constantbuffer_nested_structs.spv.yaml | 504 +++++++++--------- tests/hlsl/counter_buffers.spv | Bin 2912 -> 2912 bytes tests/hlsl/structuredbuffer.spv | Bin 2376 -> 2376 bytes 12 files changed, 649 insertions(+), 332 deletions(-) delete mode 100644 tests/cbuffer_unused/cbuffer_unused_001.spv create mode 100644 tests/hlsl/array_of_structured_buffer.spv.yaml diff --git a/tests/build_all_shaders.py b/tests/build_all_shaders.py index 82892aa6..a7cffd8d 100644 --- a/tests/build_all_shaders.py +++ b/tests/build_all_shaders.py @@ -27,7 +27,7 @@ def my_which(cmd): {'source':"glsl/io_vars_vs.glsl", 'entry':"main", 'stage':'vert'}, {'source':"hlsl/append_consume.hlsl", 'entry':"main", 'profile':'ps_6_0', 'stage':'frag'}, -# {'source':"hlsl/array_of_structured_buffer.hlsl", 'entry':"main", 'profile':'cs_6_0', 'stage':'compute'}, + {'source':"hlsl/array_of_structured_buffer.hlsl", 'entry':"main", 'profile':'cs_6_0', 'stage':'compute'}, {'source':"hlsl/binding_array.hlsl", 'entry':"main", 'profile':'ps_6_0', 'stage':'frag'}, {'source':"hlsl/binding_types.hlsl", 'entry':"main", 'profile':'ps_6_0', 'stage':'frag'}, {'source':"hlsl/cbuffer.hlsl", 'entry':"main", 'profile':'vs_6_0', 'stage':'vert'}, @@ -56,7 +56,7 @@ def my_which(cmd): if ext.lower() == ".glsl" or (ext.lower() == ".hlsl" and not args.dxc): compile_cmd_args = [args.glslc, "-g", "-fshader-stage=" + shader['stage'], "-fentry-point=" + shader['entry'], "-o", spv_path, src_path] elif ext.lower() == ".hlsl": - compile_cmd_args = [args.dxc, "-spirv", "-Zi", "-fspv-reflect", "-O0", "-T", shader['profile'], "-E", shader['entry'], "-Fo", spv_path, src_path] + compile_cmd_args = [args.dxc, "-spirv", "-Zi", "-fspv-reflect", "-fvk-use-dx-layout", "-O0", "-T", shader['profile'], "-E", shader['entry'], "-Fo", spv_path, src_path] print("%s -> %s" % (src_path, spv_path)) if args.verbose: diff --git a/tests/cbuffer_unused/cbuffer_unused_001.spv b/tests/cbuffer_unused/cbuffer_unused_001.spv deleted file mode 100644 index 77ac3a7b5487b56ae4b57fe9e4af02b862e6a6fa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 14020 zcma)?2Yi*)8OAS0mLNkM;K0iUQDiA7D*+T#0%0f#u3R8!lq8r06ctIFwY8Sk4%=!= zr?#~%cJJEO?nPU>mu>B~t=+cOw$J~3=lOE(g`fxCocDd+dFFS>kE+AQ^)D3q6bgkQ zh1==Wh8GTtNL7%5hZba}2H#R@ZiPQgghiG9^i^Lkpl_jH;c)StJGV7WtKC^wYA>~P zNbVPLv4z?l+iFXl?akK(d_b@#?#i~#3p<)NuWV~?DQ%4w{S=XSC~iwvIYeT|=VlSD~wyvR@&qkI|=o^=g80{eVh+ z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CdCEZC0AzSDuri1N+00Ne z5Cf!31jq;J5@4Qujw4R#fE+}aA1dq+1L5;P`3*ZJ`*E5vF%(X215yr!llO6&*)ETPK&AMAG!s;6&tyS9VcP>pGAvM;BS>PbP_Yw8Vr)>cGm{hfgiS9X$-o?V z1xbt(s`>_!7}sP&KHX29o-D)1VS58flm)8c4w4uvRO|tg7#mdV$>c;nVcQo-GB5|e zK@x*G@B@+<7u19=lQ;4Sb22bOyv;jVkVkm(13n(n1uzkyIwq*vC6gKXg>6?L$-vyZ z21yL&-VI1%F!yem90)XF2a*iTy?chbV6vu8CJ$8o6oXVGXnrITm~Kh delta 14 WcmX>hbV6vu8CJ#*o6oXVGXnrIqy{Pg From a0acb3b3ac305d25391ee1fa14ea0d56b817fad6 Mon Sep 17 00:00:00 2001 From: xavier Date: Thu, 8 Aug 2019 21:59:09 +0200 Subject: [PATCH 3/4] fix infinite recusion in ParseDescriptorBlockVariableUsage() and enable the test cbuffer_unused_001.hlsl, it no longer crashes. --- spirv_reflect.c | 58 +- tests/build_all_shaders.py | 1 + tests/cbuffer_unused/cbuffer_unused_001.spv | Bin 0 -> 26268 bytes .../cbuffer_unused_001.spv.yaml | 3396 +++++++++++++++++ tests/test-spirv-reflect.cpp | 1 + 5 files changed, 3428 insertions(+), 28 deletions(-) create mode 100644 tests/cbuffer_unused/cbuffer_unused_001.spv create mode 100644 tests/cbuffer_unused/cbuffer_unused_001.spv.yaml diff --git a/spirv_reflect.c b/spirv_reflect.c index 3df963d1..18535c98 100644 --- a/spirv_reflect.c +++ b/spirv_reflect.c @@ -2203,7 +2203,11 @@ static SpvReflectResult ParseDescriptorBlockVariableUsage( // Clear the current variable's USED flag p_var->flags &= ~SPV_REFLECT_VARIABLE_FLAGS_UNUSED; - + + // We are done when the end of the access chain is reached + if (index_index >= p_access_chain->index_count) + return SPV_REFLECT_RESULT_SUCCESS; + // Parsing arrays requires overriding the op type for // for the lowest dim's element type. SpvOp op_type = p_var->type_description->op; @@ -2212,32 +2216,32 @@ static SpvReflectResult ParseDescriptorBlockVariableUsage( } switch (op_type) { - default: break; + default: { + // no more variable flags to update (a SpvOpTypeVector access, for example.) + break; + } case SpvOpTypeArray: { // Parse through array's type hierarchy to find the actual/non-array element type SpvReflectTypeDescription* p_type = p_var->type_description; - while ((p_type->op == SpvOpTypeArray) && (index_index < p_access_chain->index_count)) { - // Find the array element type id - Node* p_node = FindNode(p_parser, p_type->id); - if (p_node == NULL) { - return SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_ID_REFERENCE; - } - uint32_t element_type_id = p_node->array_traits.element_type_id; - // Get the array element type - p_type = FindType(p_module, element_type_id); - if (p_type == NULL) { - return SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_ID_REFERENCE; - } - // Next access index - index_index += 1; + // Find the array element type id + Node* p_node = FindNode(p_parser, p_type->id); + if (p_node == NULL) { + return SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_ID_REFERENCE; + } + uint32_t element_type_id = p_node->array_traits.element_type_id; + // Get the array element type + p_type = FindType(p_module, element_type_id); + if (p_type == NULL) { + return SPV_REFLECT_RESULT_ERROR_SPIRV_INVALID_ID_REFERENCE; } + // Parse current var again with a type override and advanced index index SpvReflectResult result = ParseDescriptorBlockVariableUsage( p_parser, p_module, p_access_chain, - index_index, + index_index+1, p_type->op, p_var); if (result != SPV_REFLECT_RESULT_SUCCESS) { @@ -2259,17 +2263,15 @@ static SpvReflectResult ParseDescriptorBlockVariableUsage( } SpvReflectBlockVariable* p_member_var = &p_var->members[index]; - if (index_index < p_access_chain->index_count) { - SpvReflectResult result = ParseDescriptorBlockVariableUsage( - p_parser, - p_module, - p_access_chain, - index_index + 1, - (SpvOp)INVALID_VALUE, - p_member_var); - if (result != SPV_REFLECT_RESULT_SUCCESS) { - return result; - } + SpvReflectResult result = ParseDescriptorBlockVariableUsage( + p_parser, + p_module, + p_access_chain, + index_index + 1, + (SpvOp)INVALID_VALUE, + p_member_var); + if (result != SPV_REFLECT_RESULT_SUCCESS) { + return result; } } break; diff --git a/tests/build_all_shaders.py b/tests/build_all_shaders.py index a7cffd8d..94070065 100644 --- a/tests/build_all_shaders.py +++ b/tests/build_all_shaders.py @@ -36,6 +36,7 @@ def my_which(cmd): {'source':"hlsl/counter_buffers.hlsl", 'entry':"main", 'profile':'ps_6_0', 'stage':'frag'}, {'source':"hlsl/semantics.hlsl", 'entry':"main", 'profile':'ps_6_0', 'stage':'frag'}, {'source':"hlsl/structuredbuffer.hlsl", 'entry':"main", 'profile':'ps_6_0', 'stage':'frag'}, + {'source':"cbuffer_unused/cbuffer_unused_001.hlsl", 'entry':"main", 'profile':'vs_6_0', 'stage':'vert'}, ] if __name__ == "__main__": diff --git a/tests/cbuffer_unused/cbuffer_unused_001.spv b/tests/cbuffer_unused/cbuffer_unused_001.spv new file mode 100644 index 0000000000000000000000000000000000000000..87b4e092c42367395283775bb20825db8beb5521 GIT binary patch literal 26268 zcmb`O37l3{`Nv;nopD3OHN_X)Ky(CV#061N%$3D`fCvU0lmdok24pY`%Ph;(vc*b^ zY|+X}+xKkW%l5r&-^=#R>i_%RbDsPD?#sM@pU?m1!#U6I+0Qxmobz62#IA>rsnvF= z)oOdz#_y^|&)&6N3#7f)R=Z^3<;%`lu;82v&t7)*nt?UTR&7|fa&UFux}G(w2ZyHD zYVEZ#uCrmFw}08-(E48d>{%N@Q~26TdeL9ovw9tU!l5yywtH=)+LbFdtXd`e4eR9Q z%Hyl-vT4(%caQ=$kB%HA{cbtH?(j9M*Y(z?*C$miS~-~1J}}t7VdY@`tiCmU{d0Q< zR@Sd=udiCu*E3kZcvgEob!XHsK1WOecdCD8FkLWnX0=~8tGzu3tj`--*wf#$cA$Pr zy}$RW)dPdQ{gYQro6;VByEb*z=WSd+uV=7-^`_F1!1;ZHm#NnIef?{D)>Orv^#!X| z4fGC%di|1>J!^XU`LkD{Bg@NsR}S{|&nV#T(4A3tc+v21xA5WJba%J#)V;`zI&+ZD zYV0ap#;(GPBc&?b-3nhMK{*+zwj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@nG1tntOD@-#ZlF=l)%iF;1t5V(#B9 z418zC={?dz-^b~_;=w(p*YG~csKMnv_wSb+9sIZsK4R|C3E8`a$J}%Ne?UY{vqaQ% zx7rV8e0w!9&u2^bL()Y*?r|Sh9}MEjO(nk9_n;Jf9ehMQ7!>yCd;WeNepGtc5Z84) z#>XV{b?|ZVVA!@=2k3;q_b7gh8Fz$Fh#0d|Me)9TGUGcMGxn`dNf-SXvrnrJ2Jz&k z65s3jj1+v#J}Vv!3VRJ};S%*%!ovVcTlV&PO?hs!T zF=n$x@$P&n<2xEN?hp@27yTHsFRKp*@#Llw-|P8`6nxCSDjp09dml6M_c8mL^sphW z*XS|6E}4(nH^hTs+iJ|v34iZb%osE7o!^v!Kbr0X3f zK5GA=^w4#=*Z#0%Ui**4gF!qrUORbs?LU?RHpFQa<0q1N?LQR{hHb0b(FuPaR7|h^ zXOczjZIZd3*Zy?lxZM?xyGTa;d^=+wi{F#G z3P all_spirv_paths = { "../tests/hlsl/counter_buffers.spv", "../tests/hlsl/semantics.spv", "../tests/hlsl/structuredbuffer.spv", + "../tests/cbuffer_unused/cbuffer_unused_001.spv", // clang-format on }; } // namespace From 7a251945c1267aff0286e1211ab3c9b51009ed05 Mon Sep 17 00:00:00 2001 From: xavier Date: Thu, 8 Aug 2019 23:11:16 +0200 Subject: [PATCH 4/4] include SpvReflectVariableFlags in the yaml output --- common/output_stream.cpp | 23 +++ common/output_stream.h | 3 +- .../cbuffer_unused_001.spv.yaml | 96 +++++++++ tests/glsl/input_attachment.spv.yaml | 3 + tests/glsl/texel_buffer.spv.yaml | 2 + tests/hlsl/append_consume.spv.yaml | 10 + .../hlsl/array_of_structured_buffer.spv.yaml | 6 + tests/hlsl/binding_array.spv.yaml | 2 + tests/hlsl/binding_types.spv.yaml | 42 ++++ tests/hlsl/cbuffer.spv.yaml | 25 +++ tests/hlsl/constantbuffer.spv.yaml | 25 +++ .../constantbuffer_nested_structs.spv.yaml | 191 ++++++++++++++++++ tests/hlsl/counter_buffers.spv.yaml | 12 ++ tests/hlsl/semantics.spv.yaml | 5 + tests/hlsl/structuredbuffer.spv.yaml | 16 ++ .../multi_entrypoint.spv.yaml | 7 + 16 files changed, 467 insertions(+), 1 deletion(-) diff --git a/common/output_stream.cpp b/common/output_stream.cpp index cacc80bf..8ce6268a 100644 --- a/common/output_stream.cpp +++ b/common/output_stream.cpp @@ -373,6 +373,26 @@ std::string ToStringDecorationFlags(SpvReflectDecorationFlags decoration_flags) return sstream.str(); } +std::string ToStringVariableFlags(SpvReflectVariableFlags variable_flags) { + if (variable_flags == SPV_REFLECT_VARIABLE_FLAGS_NONE) { + return "NONE"; + } + +#define PRINT_AND_CLEAR_VARIABLE_FLAG(stream, flags, bit) \ + if (( (flags) & (SPV_REFLECT_VARIABLE_FLAGS_##bit) ) == (SPV_REFLECT_VARIABLE_FLAGS_##bit)) { \ + stream << #bit << " "; \ + flags ^= SPV_REFLECT_VARIABLE_FLAGS_##bit; \ + } + std::stringstream sstream; + PRINT_AND_CLEAR_VARIABLE_FLAG(sstream, variable_flags, UNUSED); +#undef PRINT_AND_CLEAR_DECORATION_FLAG + if (variable_flags != 0) { + // Unhandled SpvReflectVariableFlags bit + sstream << "???"; + } + return sstream.str(); +} + std::string ToStringFormat(SpvReflectFormat fmt) { switch(fmt) { case SPV_REFLECT_FORMAT_UNDEFINED : return "VK_FORMAT_UNDEFINED"; @@ -1190,6 +1210,9 @@ void SpvReflectToYaml::WriteBlockVariable(std::ostream& os, const SpvReflectBloc // } SpvReflectArrayTraits; os << " }" << std::endl; + // SpvReflectVariableFlags flags; + os << t1 << "flags: " << AsHexString(bv.flags) << " # " << ToStringVariableFlags(bv.flags) << std::endl; + // uint32_t member_count; os << t1 << "member_count: " << bv.member_count << std::endl; // struct SpvReflectBlockVariable* members; diff --git a/common/output_stream.h b/common/output_stream.h index b69c70a7..3953d3d8 100644 --- a/common/output_stream.h +++ b/common/output_stream.h @@ -19,6 +19,7 @@ std::string ToStringResourceType(SpvReflectResourceType type); std::string ToStringDescriptorType(SpvReflectDescriptorType value); std::string ToStringTypeFlags(SpvReflectTypeFlags type_flags); std::string ToStringDecorationFlags(SpvReflectDecorationFlags decoration_flags); +std::string ToStringVariableFlags(SpvReflectVariableFlags variable_flags); std::string ToStringDescriptorType(SpvReflectDescriptorType value); std::string ToStringFormat(SpvReflectFormat fmt); std::string ToStringComponentType(const SpvReflectTypeDescription& type, uint32_t member_decoration_flags); @@ -69,4 +70,4 @@ class SpvReflectToYaml { }; -#endif \ No newline at end of file +#endif diff --git a/tests/cbuffer_unused/cbuffer_unused_001.spv.yaml b/tests/cbuffer_unused/cbuffer_unused_001.spv.yaml index 2723f7dc..821ea372 100644 --- a/tests/cbuffer_unused/cbuffer_unused_001.spv.yaml +++ b/tests/cbuffer_unused/cbuffer_unused_001.spv.yaml @@ -1774,6 +1774,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 4, row_count: 4, stride: 16 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td0 @@ -1789,6 +1790,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 4, row_count: 4, stride: 16 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td1 @@ -1804,6 +1806,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td2 @@ -1819,6 +1822,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td3 @@ -1834,6 +1838,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td4 @@ -1849,6 +1854,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td5 @@ -1864,6 +1870,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td6 @@ -1879,6 +1886,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td7 @@ -1894,6 +1902,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td8 @@ -1909,6 +1918,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td9 @@ -1924,6 +1934,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td10 @@ -1939,6 +1950,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td11 @@ -1954,6 +1966,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td12 @@ -1969,6 +1982,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td13 @@ -1984,6 +1998,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td14 @@ -1999,6 +2014,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td15 @@ -2014,6 +2030,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td16 @@ -2029,6 +2046,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td17 @@ -2044,6 +2062,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td18 @@ -2059,6 +2078,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td19 @@ -2074,6 +2094,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td20 @@ -2089,6 +2110,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td21 @@ -2104,6 +2126,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td22 @@ -2119,6 +2142,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td23 @@ -2134,6 +2158,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td24 @@ -2149,6 +2174,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td25 @@ -2164,6 +2190,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td26 @@ -2179,6 +2206,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td27 @@ -2194,6 +2222,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td28 @@ -2209,6 +2238,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td29 @@ -2224,6 +2254,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td30 @@ -2239,6 +2270,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td31 @@ -2254,6 +2286,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td32 @@ -2269,6 +2302,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td33 @@ -2284,6 +2318,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td34 @@ -2299,6 +2334,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [4,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td35 @@ -2314,6 +2350,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [4,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td36 @@ -2329,6 +2366,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [4,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td37 @@ -2344,6 +2382,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [4,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td38 @@ -2359,6 +2398,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [4,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td39 @@ -2374,6 +2414,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [4,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td40 @@ -2389,6 +2430,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [4,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td41 @@ -2404,6 +2446,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [4,], stride: 16 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td42 @@ -2419,6 +2462,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td43 @@ -2434,6 +2478,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td44 @@ -2449,6 +2494,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td45 @@ -2464,6 +2510,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td46 @@ -2479,6 +2526,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 48 } + flags: 0x00000000 # NONE member_count: 4 members: - *bv43 @@ -2498,6 +2546,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td48 @@ -2513,6 +2562,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td49 @@ -2528,6 +2578,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td50 @@ -2543,6 +2594,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td51 @@ -2558,6 +2610,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td52 @@ -2573,6 +2626,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td53 @@ -2588,6 +2642,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td54 @@ -2603,6 +2658,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td55 @@ -2618,6 +2674,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td56 @@ -2633,6 +2690,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td57 @@ -2648,6 +2706,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td58 @@ -2663,6 +2722,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td59 @@ -2678,6 +2738,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td60 @@ -2693,6 +2754,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td61 @@ -2708,6 +2770,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td62 @@ -2723,6 +2786,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 59 members: - *bv0 @@ -2797,6 +2861,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td64 @@ -2812,6 +2877,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td65 @@ -2827,6 +2893,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td66 @@ -2842,6 +2909,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td67 @@ -2857,6 +2925,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td68 @@ -2872,6 +2941,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td69 @@ -2887,6 +2957,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td70 @@ -2902,6 +2973,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td71 @@ -2917,6 +2989,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td72 @@ -2932,6 +3005,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 3 members: - *bv70 @@ -2950,6 +3024,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td74 @@ -2965,6 +3040,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td75 @@ -2980,6 +3056,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 4, row_count: 4, stride: 16 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td76 @@ -2995,6 +3072,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 3 members: - *bv74 @@ -3013,6 +3091,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td78 @@ -3028,6 +3107,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td79 @@ -3043,6 +3123,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td80 @@ -3058,6 +3139,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td81 @@ -3073,6 +3155,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td82 @@ -3088,6 +3171,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [4,], stride: 48 } + flags: 0x00000000 # NONE member_count: 4 members: - *bv79 @@ -3107,6 +3191,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 7 members: - *bv67 @@ -3129,6 +3214,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td85 @@ -3144,6 +3230,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td86 @@ -3159,6 +3246,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td87 @@ -3174,6 +3262,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td88 @@ -3189,6 +3278,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td89 @@ -3204,6 +3294,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td90 @@ -3219,6 +3310,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 3 members: - *bv88 @@ -3237,6 +3329,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 4 members: - *bv85 @@ -3256,6 +3349,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td93 @@ -3271,6 +3365,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv93 @@ -3287,6 +3382,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 6 members: - *bv64 diff --git a/tests/glsl/input_attachment.spv.yaml b/tests/glsl/input_attachment.spv.yaml index 5a919d3e..261583ad 100644 --- a/tests/glsl/input_attachment.spv.yaml +++ b/tests/glsl/input_attachment.spv.yaml @@ -48,6 +48,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -63,6 +64,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -78,6 +80,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: diff --git a/tests/glsl/texel_buffer.spv.yaml b/tests/glsl/texel_buffer.spv.yaml index 2867048f..253c5e09 100644 --- a/tests/glsl/texel_buffer.spv.yaml +++ b/tests/glsl/texel_buffer.spv.yaml @@ -154,6 +154,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -169,6 +170,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: diff --git a/tests/hlsl/append_consume.spv.yaml b/tests/hlsl/append_consume.spv.yaml index 504664f6..eb78d529 100644 --- a/tests/hlsl/append_consume.spv.yaml +++ b/tests/hlsl/append_consume.spv.yaml @@ -189,6 +189,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td3 @@ -204,6 +205,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv0 @@ -220,6 +222,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv1 @@ -236,6 +239,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td4 @@ -251,6 +255,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv3 @@ -267,6 +272,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td4 @@ -282,6 +288,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv5 @@ -298,6 +305,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td3 @@ -313,6 +321,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv7 @@ -329,6 +338,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv8 diff --git a/tests/hlsl/array_of_structured_buffer.spv.yaml b/tests/hlsl/array_of_structured_buffer.spv.yaml index 05deff57..d80d3ce0 100644 --- a/tests/hlsl/array_of_structured_buffer.spv.yaml +++ b/tests/hlsl/array_of_structured_buffer.spv.yaml @@ -136,6 +136,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td0 @@ -151,6 +152,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv0 @@ -167,6 +169,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td2 @@ -182,6 +185,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv2 @@ -198,6 +202,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td4 @@ -213,6 +218,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 1 members: - *bv4 diff --git a/tests/hlsl/binding_array.spv.yaml b/tests/hlsl/binding_array.spv.yaml index cb183d57..447371e0 100644 --- a/tests/hlsl/binding_array.spv.yaml +++ b/tests/hlsl/binding_array.spv.yaml @@ -65,6 +65,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -80,6 +81,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: diff --git a/tests/hlsl/binding_types.spv.yaml b/tests/hlsl/binding_types.spv.yaml index 666db882..48d4b930 100644 --- a/tests/hlsl/binding_types.spv.yaml +++ b/tests/hlsl/binding_types.spv.yaml @@ -688,6 +688,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td0 @@ -703,6 +704,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 1 members: - *bv0 @@ -719,6 +721,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td2 @@ -734,6 +737,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 1 members: - *bv2 @@ -750,6 +754,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -765,6 +770,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -780,6 +786,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -795,6 +802,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -810,6 +818,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -825,6 +834,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -840,6 +850,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -855,6 +866,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -870,6 +882,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -885,6 +898,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -900,6 +914,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -915,6 +930,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -930,6 +946,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -945,6 +962,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -960,6 +978,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td18 @@ -975,6 +994,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 1 members: - *bv18 @@ -991,6 +1011,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td20 @@ -1006,6 +1027,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 1 members: - *bv20 @@ -1022,6 +1044,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -1037,6 +1060,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -1052,6 +1076,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td24 @@ -1067,6 +1092,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 1 members: - *bv24 @@ -1083,6 +1109,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td26 @@ -1098,6 +1125,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 1 members: - *bv26 @@ -1114,6 +1142,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td28 @@ -1129,6 +1158,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 1 members: - *bv28 @@ -1145,6 +1175,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td30 @@ -1160,6 +1191,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 1 members: - *bv30 @@ -1176,6 +1208,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td28 @@ -1191,6 +1224,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 1 members: - *bv32 @@ -1207,6 +1241,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td32 @@ -1222,6 +1257,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 1 members: - *bv34 @@ -1238,6 +1274,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td28 @@ -1253,6 +1290,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 1 members: - *bv36 @@ -1269,6 +1307,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td34 @@ -1284,6 +1323,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 1 members: - *bv38 @@ -1300,6 +1340,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td36 @@ -1315,6 +1356,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 1 members: - *bv40 diff --git a/tests/hlsl/cbuffer.spv.yaml b/tests/hlsl/cbuffer.spv.yaml index 1bd0f630..8386bf9c 100644 --- a/tests/hlsl/cbuffer.spv.yaml +++ b/tests/hlsl/cbuffer.spv.yaml @@ -480,6 +480,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td0 @@ -495,6 +496,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td1 @@ -510,6 +512,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td2 @@ -525,6 +528,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td3 @@ -540,6 +544,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td4 @@ -555,6 +560,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td5 @@ -570,6 +576,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td6 @@ -585,6 +592,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td7 @@ -600,6 +608,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td8 @@ -615,6 +624,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td9 @@ -630,6 +640,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 6 members: - *bv4 @@ -651,6 +662,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td11 @@ -666,6 +678,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [8,], stride: 48 } + flags: 0x00000001 # UNUSED member_count: 3 members: - *bv3 @@ -684,6 +697,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [8,], stride: 16 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td13 @@ -699,6 +713,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [8,], stride: 16 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td14 @@ -714,6 +729,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td15 @@ -729,6 +745,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [10,], stride: 640 } + flags: 0x00000001 # UNUSED member_count: 4 members: - *bv12 @@ -748,6 +765,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 3, dims: [2,2,3,], stride: 6432 } + flags: 0x00000001 # UNUSED member_count: 4 members: - *bv0 @@ -767,6 +785,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 4, row_count: 4, stride: 16 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td18 @@ -782,6 +801,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 4, row_count: 4, stride: 16 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td19 @@ -797,6 +817,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td20 @@ -812,6 +833,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td21 @@ -827,6 +849,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [12,], stride: 16 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td22 @@ -842,6 +865,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td23 @@ -857,6 +881,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 7 members: - *bv17 diff --git a/tests/hlsl/constantbuffer.spv.yaml b/tests/hlsl/constantbuffer.spv.yaml index 17c026f9..36c27df4 100644 --- a/tests/hlsl/constantbuffer.spv.yaml +++ b/tests/hlsl/constantbuffer.spv.yaml @@ -480,6 +480,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td0 @@ -495,6 +496,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td1 @@ -510,6 +512,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td2 @@ -525,6 +528,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td3 @@ -540,6 +544,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td4 @@ -555,6 +560,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td5 @@ -570,6 +576,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td6 @@ -585,6 +592,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td7 @@ -600,6 +608,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td8 @@ -615,6 +624,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td9 @@ -630,6 +640,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 6 members: - *bv4 @@ -651,6 +662,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td11 @@ -666,6 +678,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [8,], stride: 48 } + flags: 0x00000001 # UNUSED member_count: 3 members: - *bv3 @@ -684,6 +697,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [8,], stride: 16 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td13 @@ -699,6 +713,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [8,], stride: 16 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td14 @@ -714,6 +729,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td15 @@ -729,6 +745,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [10,], stride: 640 } + flags: 0x00000001 # UNUSED member_count: 4 members: - *bv12 @@ -748,6 +765,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 3, dims: [2,2,3,], stride: 6432 } + flags: 0x00000001 # UNUSED member_count: 4 members: - *bv0 @@ -767,6 +785,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 4, row_count: 4, stride: 16 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td18 @@ -782,6 +801,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 4, row_count: 4, stride: 16 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td19 @@ -797,6 +817,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td20 @@ -812,6 +833,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td21 @@ -827,6 +849,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [12,], stride: 16 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td22 @@ -842,6 +865,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td23 @@ -857,6 +881,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 7 members: - *bv17 diff --git a/tests/hlsl/constantbuffer_nested_structs.spv.yaml b/tests/hlsl/constantbuffer_nested_structs.spv.yaml index 00080af6..865519d4 100644 --- a/tests/hlsl/constantbuffer_nested_structs.spv.yaml +++ b/tests/hlsl/constantbuffer_nested_structs.spv.yaml @@ -3468,6 +3468,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td0 @@ -3483,6 +3484,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td1 @@ -3498,6 +3500,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td2 @@ -3513,6 +3516,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td3 @@ -3528,6 +3532,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td4 @@ -3543,6 +3548,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td5 @@ -3558,6 +3564,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td6 @@ -3573,6 +3580,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td7 @@ -3588,6 +3596,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td8 @@ -3603,6 +3612,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td9 @@ -3618,6 +3628,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td10 @@ -3633,6 +3644,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td11 @@ -3648,6 +3660,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td12 @@ -3663,6 +3676,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td13 @@ -3678,6 +3692,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td14 @@ -3693,6 +3708,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td15 @@ -3708,6 +3724,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td16 @@ -3723,6 +3740,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td17 @@ -3738,6 +3756,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td18 @@ -3753,6 +3772,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td19 @@ -3768,6 +3788,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td20 @@ -3783,6 +3804,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td21 @@ -3798,6 +3820,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td22 @@ -3813,6 +3836,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td23 @@ -3828,6 +3852,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td24 @@ -3843,6 +3868,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td25 @@ -3858,6 +3884,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td26 @@ -3873,6 +3900,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 10 members: - *bv17 @@ -3898,6 +3926,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td28 @@ -3913,6 +3942,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td29 @@ -3928,6 +3958,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td30 @@ -3943,6 +3974,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td31 @@ -3958,6 +3990,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td32 @@ -3973,6 +4006,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td33 @@ -3988,6 +4022,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td34 @@ -4003,6 +4038,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td35 @@ -4018,6 +4054,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td36 @@ -4033,6 +4070,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td37 @@ -4048,6 +4086,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td38 @@ -4063,6 +4102,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td39 @@ -4078,6 +4118,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td40 @@ -4093,6 +4134,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td41 @@ -4108,6 +4150,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td42 @@ -4123,6 +4166,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 10 members: - *bv33 @@ -4148,6 +4192,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 12 members: - *bv12 @@ -4175,6 +4220,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 11 members: - *bv2 @@ -4201,6 +4247,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td46 @@ -4216,6 +4263,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td47 @@ -4231,6 +4279,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td48 @@ -4246,6 +4295,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td49 @@ -4261,6 +4311,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td50 @@ -4276,6 +4327,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td51 @@ -4291,6 +4343,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td52 @@ -4306,6 +4359,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td53 @@ -4321,6 +4375,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td54 @@ -4336,6 +4391,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td55 @@ -4351,6 +4407,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td56 @@ -4366,6 +4423,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td57 @@ -4381,6 +4439,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td58 @@ -4396,6 +4455,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td59 @@ -4411,6 +4471,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td60 @@ -4426,6 +4487,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td61 @@ -4441,6 +4503,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td62 @@ -4456,6 +4519,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td63 @@ -4471,6 +4535,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td64 @@ -4486,6 +4551,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td65 @@ -4501,6 +4567,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td66 @@ -4516,6 +4583,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td67 @@ -4531,6 +4599,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td68 @@ -4546,6 +4615,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td69 @@ -4561,6 +4631,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td70 @@ -4576,6 +4647,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 10 members: - *bv61 @@ -4601,6 +4673,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td72 @@ -4616,6 +4689,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td73 @@ -4631,6 +4705,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td74 @@ -4646,6 +4721,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td75 @@ -4661,6 +4737,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td76 @@ -4676,6 +4753,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td77 @@ -4691,6 +4769,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td78 @@ -4706,6 +4785,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td79 @@ -4721,6 +4801,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td80 @@ -4736,6 +4817,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td81 @@ -4751,6 +4833,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td82 @@ -4766,6 +4849,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td83 @@ -4781,6 +4865,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td84 @@ -4796,6 +4881,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td85 @@ -4811,6 +4897,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td86 @@ -4826,6 +4913,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 10 members: - *bv77 @@ -4851,6 +4939,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 12 members: - *bv56 @@ -4878,6 +4967,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 12 members: - *bv45 @@ -4905,6 +4995,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td90 @@ -4920,6 +5011,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td91 @@ -4935,6 +5027,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td92 @@ -4950,6 +5043,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td93 @@ -4965,6 +5059,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td94 @@ -4980,6 +5075,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td95 @@ -4995,6 +5091,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td96 @@ -5010,6 +5107,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td97 @@ -5025,6 +5123,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td98 @@ -5040,6 +5139,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td99 @@ -5055,6 +5155,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td100 @@ -5070,6 +5171,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td101 @@ -5085,6 +5187,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td102 @@ -5100,6 +5203,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td103 @@ -5115,6 +5219,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td104 @@ -5130,6 +5235,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td105 @@ -5145,6 +5251,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td106 @@ -5160,6 +5267,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td107 @@ -5175,6 +5283,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td108 @@ -5190,6 +5299,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td109 @@ -5205,6 +5315,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td110 @@ -5220,6 +5331,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td111 @@ -5235,6 +5347,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td112 @@ -5250,6 +5363,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td113 @@ -5265,6 +5379,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td114 @@ -5280,6 +5395,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td115 @@ -5295,6 +5411,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td116 @@ -5310,6 +5427,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td117 @@ -5325,6 +5443,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td118 @@ -5340,6 +5459,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td119 @@ -5355,6 +5475,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td120 @@ -5370,6 +5491,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td121 @@ -5385,6 +5507,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td122 @@ -5400,6 +5523,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td123 @@ -5415,6 +5539,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td124 @@ -5430,6 +5555,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 10 members: - *bv115 @@ -5455,6 +5581,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td126 @@ -5470,6 +5597,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td127 @@ -5485,6 +5613,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td128 @@ -5500,6 +5629,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td129 @@ -5515,6 +5645,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td130 @@ -5530,6 +5661,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td131 @@ -5545,6 +5677,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td132 @@ -5560,6 +5693,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td133 @@ -5575,6 +5709,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td134 @@ -5590,6 +5725,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td135 @@ -5605,6 +5741,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td136 @@ -5620,6 +5757,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td137 @@ -5635,6 +5773,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td138 @@ -5650,6 +5789,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td139 @@ -5665,6 +5805,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td140 @@ -5680,6 +5821,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 10 members: - *bv131 @@ -5705,6 +5847,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 12 members: - *bv110 @@ -5732,6 +5875,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 11 members: - *bv100 @@ -5758,6 +5902,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td144 @@ -5773,6 +5918,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td145 @@ -5788,6 +5934,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td146 @@ -5803,6 +5950,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td147 @@ -5818,6 +5966,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td148 @@ -5833,6 +5982,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td149 @@ -5848,6 +5998,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td150 @@ -5863,6 +6014,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td151 @@ -5878,6 +6030,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td152 @@ -5893,6 +6046,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td153 @@ -5908,6 +6062,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td154 @@ -5923,6 +6078,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td155 @@ -5938,6 +6094,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td156 @@ -5953,6 +6110,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td157 @@ -5968,6 +6126,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td158 @@ -5983,6 +6142,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td159 @@ -5998,6 +6158,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td160 @@ -6013,6 +6174,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td161 @@ -6028,6 +6190,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td162 @@ -6043,6 +6206,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td163 @@ -6058,6 +6222,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td164 @@ -6073,6 +6238,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td165 @@ -6088,6 +6254,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td166 @@ -6103,6 +6270,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td167 @@ -6118,6 +6286,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td168 @@ -6133,6 +6302,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 10 members: - *bv159 @@ -6158,6 +6328,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td170 @@ -6173,6 +6344,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td171 @@ -6188,6 +6360,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td172 @@ -6203,6 +6376,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td173 @@ -6218,6 +6392,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td174 @@ -6233,6 +6408,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td175 @@ -6248,6 +6424,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td176 @@ -6263,6 +6440,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td177 @@ -6278,6 +6456,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td178 @@ -6293,6 +6472,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td179 @@ -6308,6 +6488,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td180 @@ -6323,6 +6504,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td181 @@ -6338,6 +6520,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td182 @@ -6353,6 +6536,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td183 @@ -6368,6 +6552,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td184 @@ -6383,6 +6568,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 10 members: - *bv175 @@ -6408,6 +6594,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 12 members: - *bv154 @@ -6435,6 +6622,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 12 members: - *bv143 @@ -6462,6 +6650,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 12 members: - *bv89 @@ -6489,6 +6678,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td189 @@ -6504,6 +6694,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 4 members: - *bv0 diff --git a/tests/hlsl/counter_buffers.spv.yaml b/tests/hlsl/counter_buffers.spv.yaml index 471ad27e..92d39048 100644 --- a/tests/hlsl/counter_buffers.spv.yaml +++ b/tests/hlsl/counter_buffers.spv.yaml @@ -242,6 +242,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td0 @@ -257,6 +258,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv0 @@ -273,6 +275,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td0 @@ -288,6 +291,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv2 @@ -304,6 +308,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td6 @@ -319,6 +324,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td7 @@ -334,6 +340,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 2 members: - *bv4 @@ -351,6 +358,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv6 @@ -367,6 +375,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td6 @@ -382,6 +391,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td7 @@ -397,6 +407,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 2 members: - *bv8 @@ -414,6 +425,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv10 diff --git a/tests/hlsl/semantics.spv.yaml b/tests/hlsl/semantics.spv.yaml index e08a0021..4bd0c45d 100644 --- a/tests/hlsl/semantics.spv.yaml +++ b/tests/hlsl/semantics.spv.yaml @@ -188,6 +188,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 4, row_count: 4, stride: 16 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td0 @@ -203,6 +204,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td1 @@ -218,6 +220,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td2 @@ -233,6 +236,7 @@ all_block_variables: vector: { component_count: 2 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td3 @@ -248,6 +252,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 4 members: - *bv0 diff --git a/tests/hlsl/structuredbuffer.spv.yaml b/tests/hlsl/structuredbuffer.spv.yaml index 24118b2c..7bc1e069 100644 --- a/tests/hlsl/structuredbuffer.spv.yaml +++ b/tests/hlsl/structuredbuffer.spv.yaml @@ -564,6 +564,7 @@ all_block_variables: vector: { component_count: 3 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td16 @@ -579,6 +580,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td17 @@ -594,6 +596,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td18 @@ -609,6 +612,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td19 @@ -624,6 +628,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 3 members: - *bv1 @@ -642,6 +647,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [5,], stride: 4 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td21 @@ -657,6 +663,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [5,], stride: 4 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td22 @@ -672,6 +679,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [5,], stride: 4 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td23 @@ -687,6 +695,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [3,], stride: 60 } + flags: 0x00000001 # UNUSED member_count: 3 members: - *bv5 @@ -705,6 +714,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td25 @@ -720,6 +730,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td26 @@ -735,6 +746,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 2 members: - *bv9 @@ -752,6 +764,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 1, dims: [3,], stride: 4 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td28 @@ -767,6 +780,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td29 @@ -782,6 +796,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 6 members: - *bv0 @@ -803,6 +818,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv14 diff --git a/tests/multi_entrypoint/multi_entrypoint.spv.yaml b/tests/multi_entrypoint/multi_entrypoint.spv.yaml index accc347c..c682a309 100644 --- a/tests/multi_entrypoint/multi_entrypoint.spv.yaml +++ b/tests/multi_entrypoint/multi_entrypoint.spv.yaml @@ -205,6 +205,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: @@ -220,6 +221,7 @@ all_block_variables: vector: { component_count: 4 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td1 @@ -235,6 +237,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv1 @@ -251,6 +254,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td3 @@ -266,6 +270,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv3 @@ -282,6 +287,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td5 @@ -297,6 +303,7 @@ all_block_variables: vector: { component_count: 0 } matrix: { column_count: 0, row_count: 0, stride: 0 } array: { dims_count: 0, dims: [], stride: 0 } + flags: 0x00000000 # NONE member_count: 1 members: - *bv5