diff --git a/common/output_stream.cpp b/common/output_stream.cpp index 0372d193..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"; @@ -1001,6 +1021,7 @@ void WriteReflection(const spv_reflect::ShaderModule& obj, bool flatten_cbuffers } } } + (void)result; } ////////////////////////////////// @@ -1189,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/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 d30c0cca..94070065 100644 --- a/tests/build_all_shaders.py +++ b/tests/build_all_shaders.py @@ -24,13 +24,19 @@ 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'}, + {'source':"cbuffer_unused/cbuffer_unused_001.hlsl", 'entry':"main", 'profile':'vs_6_0', 'stage':'vert'}, ] if __name__ == "__main__": @@ -51,7 +57,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/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/cbuffer_unused/cbuffer_unused_001.spv b/tests/cbuffer_unused/cbuffer_unused_001.spv index 77ac3a7b..87b4e092 100644 Binary files a/tests/cbuffer_unused/cbuffer_unused_001.spv and b/tests/cbuffer_unused/cbuffer_unused_001.spv differ diff --git a/tests/cbuffer_unused/cbuffer_unused_001.spv.yaml b/tests/cbuffer_unused/cbuffer_unused_001.spv.yaml new file mode 100644 index 00000000..821ea372 --- /dev/null +++ b/tests/cbuffer_unused/cbuffer_unused_001.spv.yaml @@ -0,0 +1,3492 @@ +%YAML 1.0 +--- +all_type_descriptions: + - &td0 + id: 66 + op: 24 + type_name: + struct_member_name: "MvpMatrix" + storage_class: 0 # UniformConstant + type_flags: 0x00000308 # MATRIX VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 4, row_count: 4, stride: 16 } + 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: 66 + op: 24 + type_name: + struct_member_name: "NotUsedNormalMatrix" + storage_class: 0 # UniformConstant + type_flags: 0x00000308 # MATRIX VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 4, row_count: 4, stride: 16 } + 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: 68 + op: 23 + type_name: + struct_member_name: "Offset" + storage_class: 0 # UniformConstant + 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: + - &td3 + id: 10 + op: 22 + type_name: + struct_member_name: "ScalarScale" + 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: + - &td4 + id: 69 + op: 23 + type_name: + struct_member_name: "Vector2ScaleX" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: 69 + op: 23 + type_name: + struct_member_name: "Vector2ScaleY" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: + - &td6 + id: 69 + op: 23 + type_name: + struct_member_name: "Vector2ScaleXY" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: 69 + op: 23 + type_name: + struct_member_name: "Vector2ScaleXXXX" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: 69 + op: 23 + type_name: + struct_member_name: "Vector2ScaleXYXY" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: 68 + op: 23 + type_name: + struct_member_name: "Vector3ScaleX" + storage_class: 0 # UniformConstant + 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: + - &td10 + id: 68 + op: 23 + type_name: + struct_member_name: "Vector3ScaleY" + storage_class: 0 # UniformConstant + 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: + - &td11 + id: 68 + op: 23 + type_name: + struct_member_name: "Vector3ScaleZ" + storage_class: 0 # UniformConstant + 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: + - &td12 + id: 68 + op: 23 + type_name: + struct_member_name: "Vector3ScaleXZ" + storage_class: 0 # UniformConstant + 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: + - &td13 + id: 68 + op: 23 + type_name: + struct_member_name: "Vector3ScaleXYZ" + storage_class: 0 # UniformConstant + 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: + - &td14 + id: 68 + op: 23 + type_name: + struct_member_name: "Vector3ScaleXX" + storage_class: 0 # UniformConstant + 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: + - &td15 + id: 68 + op: 23 + type_name: + struct_member_name: "Vector3ScaleYZX" + storage_class: 0 # UniformConstant + 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: + - &td16 + id: 68 + op: 23 + type_name: + struct_member_name: "Vector3ScaleZZZZ" + storage_class: 0 # UniformConstant + 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: + - &td17 + id: 67 + op: 23 + type_name: + struct_member_name: "Vector4ScaleX" + 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: + - &td18 + id: 67 + op: 23 + type_name: + struct_member_name: "Vector4ScaleY" + 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: + - &td19 + id: 67 + op: 23 + type_name: + struct_member_name: "Vector4ScaleZ" + 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: + - &td20 + id: 67 + op: 23 + type_name: + struct_member_name: "Vector4ScaleW" + 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: 67 + op: 23 + type_name: + struct_member_name: "Vector4ScaleXY" + 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: + - &td22 + id: 67 + op: 23 + type_name: + struct_member_name: "Vector4ScaleXZ" + 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: + - &td23 + id: 67 + op: 23 + type_name: + struct_member_name: "Vector4ScaleYZ" + 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: + - &td24 + id: 67 + op: 23 + type_name: + struct_member_name: "Vector4ScaleXZW" + 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: + - &td25 + id: 67 + op: 23 + type_name: + struct_member_name: "Vector4ScaleYZW" + 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: + - &td26 + id: 67 + op: 23 + type_name: + struct_member_name: "Vector4ScaleXYZW" + 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: + - &td27 + id: 10 + op: 22 + type_name: + struct_member_name: "NotUsed1" + 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: + - &td28 + id: 69 + op: 23 + type_name: + struct_member_name: "NotUsed2" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: 68 + op: 23 + type_name: + struct_member_name: "NotUsed3" + storage_class: 0 # UniformConstant + 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: + - &td30 + id: 68 + op: 23 + type_name: + struct_member_name: "MoreOffset" + storage_class: 0 # UniformConstant + 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: + - &td31 + id: 69 + op: 23 + type_name: + struct_member_name: "NotUsed4" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: + - &td32 + id: 68 + op: 23 + type_name: + struct_member_name: "NotUsed5" + storage_class: 0 # UniformConstant + 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: + - &td33 + id: 68 + op: 23 + type_name: + struct_member_name: "LastOffset" + storage_class: 0 # UniformConstant + 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: + - &td34 + id: 68 + op: 23 + type_name: + struct_member_name: "NotUsed6" + storage_class: 0 # UniformConstant + 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: + - &td35 + id: 70 + op: 28 + type_name: + struct_member_name: "ScalarArray" + 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: [4,], stride: 16 } + member_count: 0 + members: + - &td36 + id: 72 + op: 28 + type_name: + struct_member_name: "Vector2Array" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: [4,], stride: 16 } + member_count: 0 + members: + - &td37 + id: 73 + op: 28 + type_name: + struct_member_name: "Vector3Array" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY 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: 1, dims: [4,], stride: 16 } + member_count: 0 + members: + - &td38 + id: 74 + op: 28 + type_name: + struct_member_name: "Vector4Array" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY 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: 1, dims: [4,], stride: 16 } + member_count: 0 + members: + - &td39 + id: 72 + op: 28 + type_name: + struct_member_name: "Vector2ArrayX" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: [4,], stride: 16 } + member_count: 0 + members: + - &td40 + id: 73 + op: 28 + type_name: + struct_member_name: "Vector3ArrayX" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY 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: 1, dims: [4,], stride: 16 } + member_count: 0 + members: + - &td41 + id: 74 + op: 28 + type_name: + struct_member_name: "Vector4ArrayX" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY 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: 1, dims: [4,], stride: 16 } + member_count: 0 + members: + - &td42 + id: 72 + op: 28 + type_name: + struct_member_name: "NotUsedVectorArray" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: [4,], stride: 16 } + member_count: 0 + members: + - &td43 + id: 10 + op: 22 + type_name: + struct_member_name: "R" + 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: + - &td44 + id: 69 + op: 23 + type_name: + struct_member_name: "RG" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: + - &td45 + id: 68 + op: 23 + type_name: + struct_member_name: "RGB" + storage_class: 0 # UniformConstant + 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: + - &td46 + id: 67 + op: 23 + type_name: + struct_member_name: "RGBA" + 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: + - &td47 + id: 75 + op: 28 + type_name: "ColorDesc" + struct_member_name: "ColorArray" + storage_class: 0 # UniformConstant + type_flags: 0x30080000 # ARRAY 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: 7, dims: [8,7,6,5,4,3,2,], stride: 48 } + member_count: 4 + members: + - *td43 + - *td44 + - *td45 + - *td46 + - &td48 + id: 87 + op: 28 + type_name: + struct_member_name: "ScalarMultiDimArray" + 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + member_count: 0 + members: + - &td49 + id: 94 + op: 28 + type_name: + struct_member_name: "Vector2MultiDimArray" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + member_count: 0 + members: + - &td50 + id: 101 + op: 28 + type_name: + struct_member_name: "Vector3MultiDimArray" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + member_count: 0 + members: + - &td51 + id: 108 + op: 28 + type_name: + struct_member_name: "Vector4MultiDimArray" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + member_count: 0 + members: + - &td52 + id: 94 + op: 28 + type_name: + struct_member_name: "Vector2MultiDimArrayX" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + member_count: 0 + members: + - &td53 + id: 101 + op: 28 + type_name: + struct_member_name: "Vector3MultiDimArrayX" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + member_count: 0 + members: + - &td54 + id: 108 + op: 28 + type_name: + struct_member_name: "Vector4MultiDimArrayX" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + member_count: 0 + members: + - &td55 + id: 94 + op: 28 + type_name: + struct_member_name: "NotUsedVector2MultiDimArrayY" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + member_count: 0 + members: + - &td56 + id: 101 + op: 28 + type_name: + struct_member_name: "NotUsedVector3MultiDimArrayY" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + member_count: 0 + members: + - &td57 + id: 108 + op: 28 + type_name: + struct_member_name: "NotUsedVector4MultiDimArrayY" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + member_count: 0 + members: + - &td58 + id: 101 + op: 28 + type_name: + struct_member_name: "Vector3MultiDimArrayZ" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + member_count: 0 + members: + - &td59 + id: 108 + op: 28 + type_name: + struct_member_name: "Vector4MultiDimArrayZ" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + member_count: 0 + members: + - &td60 + id: 94 + op: 28 + type_name: + struct_member_name: "Vector2MultiDimArrayXYX" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + member_count: 0 + members: + - &td61 + id: 101 + op: 28 + type_name: + struct_member_name: "Vector3MultiDimArrayXYX" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + member_count: 0 + members: + - &td62 + id: 108 + op: 28 + type_name: + struct_member_name: "Vector4MultiDimArrayXYX" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + member_count: 0 + members: + - &td63 + id: 65 + op: 30 + type_name: "type.MyParams" + 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: 59 + members: + - *td0 + - *td1 + - *td2 + - *td3 + - *td4 + - *td5 + - *td6 + - *td7 + - *td8 + - *td9 + - *td10 + - *td11 + - *td12 + - *td13 + - *td14 + - *td15 + - *td16 + - *td17 + - *td18 + - *td19 + - *td20 + - *td21 + - *td22 + - *td23 + - *td24 + - *td25 + - *td26 + - *td27 + - *td28 + - *td29 + - *td30 + - *td31 + - *td32 + - *td33 + - *td34 + - *td35 + - *td36 + - *td37 + - *td38 + - *td39 + - *td40 + - *td41 + - *td42 + - *td47 + - *td48 + - *td49 + - *td50 + - *td51 + - *td52 + - *td53 + - *td54 + - *td55 + - *td56 + - *td57 + - *td58 + - *td59 + - *td60 + - *td61 + - *td62 + - &td64 + id: 67 + op: 23 + type_name: + struct_member_name: "PostTransformOffset" + 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: + - &td65 + id: 10 + op: 22 + type_name: + struct_member_name: "NotUsedScale" + 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: + - &td66 + id: 68 + op: 23 + type_name: + struct_member_name: "Mask" + storage_class: 0 # UniformConstant + 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: + - &td67 + id: 68 + op: 23 + type_name: + struct_member_name: "Position" + storage_class: 0 # UniformConstant + 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: + - &td68 + id: 68 + op: 23 + type_name: + struct_member_name: "NotUsedColor" + storage_class: 0 # UniformConstant + 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: + - &td69 + id: 68 + op: 23 + type_name: + struct_member_name: "Normal" + storage_class: 0 # UniformConstant + 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: + - &td70 + id: 10 + op: 22 + type_name: + struct_member_name: "NotUsed1" + 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: + - &td71 + id: 69 + op: 23 + type_name: + struct_member_name: "NotUsed2" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: + - &td72 + id: 68 + op: 23 + type_name: + struct_member_name: "NotUsed3" + storage_class: 0 # UniformConstant + 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: + - &td73 + id: 118 + op: 30 + type_name: "NestedNotUsedParams" + struct_member_name: "NotUsedNested" + 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: 3 + members: + - *td70 + - *td71 + - *td72 + - &td74 + id: 10 + op: 22 + type_name: + struct_member_name: "NotUsed" + 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: + - &td75 + id: 68 + op: 23 + type_name: + struct_member_name: "Offset" + storage_class: 0 # UniformConstant + 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: + - &td76 + id: 66 + op: 24 + type_name: + struct_member_name: "NotUsedMatrix" + storage_class: 0 # UniformConstant + type_flags: 0x00000308 # MATRIX VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 4, row_count: 4, stride: 16 } + 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: + - &td77 + id: 119 + op: 30 + type_name: "NestedUsedParams" + struct_member_name: "UsedNested" + 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: 3 + members: + - *td74 + - *td75 + - *td76 + - &td78 + id: 10 + op: 22 + type_name: + struct_member_name: "NotUsed1" + 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: + - &td79 + id: 10 + op: 22 + type_name: + struct_member_name: "R" + 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: + - &td80 + id: 69 + op: 23 + type_name: + struct_member_name: "RG" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: + - &td81 + id: 68 + op: 23 + type_name: + struct_member_name: "RGB" + storage_class: 0 # UniformConstant + 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: + - &td82 + id: 67 + op: 23 + type_name: + struct_member_name: "RGBA" + 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: + - &td83 + id: 120 + op: 28 + type_name: "ColorDesc" + struct_member_name: "ColorArray" + storage_class: 0 # UniformConstant + type_flags: 0x30080000 # ARRAY 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: 1, dims: [4,], stride: 48 } + member_count: 4 + members: + - *td79 + - *td80 + - *td81 + - *td82 + - &td84 + id: 117 + op: 30 + type_name: "UsedParams" + struct_member_name: "Used" + 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: 7 + members: + - *td67 + - *td68 + - *td69 + - *td73 + - *td77 + - *td78 + - *td83 + - &td85 + id: 10 + op: 22 + type_name: + struct_member_name: "NotUsed1" + 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: + - &td86 + id: 69 + op: 23 + type_name: + struct_member_name: "NotUsed2" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: + - &td87 + id: 68 + op: 23 + type_name: + struct_member_name: "NotUsed3" + storage_class: 0 # UniformConstant + 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: + - &td88 + id: 10 + op: 22 + type_name: + struct_member_name: "NotUsed1" + 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: + - &td89 + id: 69 + op: 23 + type_name: + struct_member_name: "NotUsed2" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: + - &td90 + id: 68 + op: 23 + type_name: + struct_member_name: "NotUsed3" + storage_class: 0 # UniformConstant + 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: + - &td91 + id: 118 + op: 30 + type_name: "NestedNotUsedParams" + struct_member_name: "NotUsedNested" + 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: 3 + members: + - *td88 + - *td89 + - *td90 + - &td92 + id: 121 + op: 30 + type_name: "NotUsedParams" + struct_member_name: "NotUsed" + 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: 4 + members: + - *td85 + - *td86 + - *td87 + - *td91 + - &td93 + id: 68 + op: 23 + type_name: + struct_member_name: "ScaleByX" + storage_class: 0 # UniformConstant + 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: + - &td94 + id: 122 + op: 30 + type_name: "UsedComponents" + struct_member_name: "Components" + 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: + - *td93 + - &td95 + id: 116 + op: 30 + type_name: "type.ConstantBuffer.Params2" + 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: 6 + members: + - *td64 + - *td65 + - *td66 + - *td84 + - *td92 + - *td94 + - &td96 + id: 68 + 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: + - &td97 + id: 67 + 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: "MvpMatrix" + offset: 0 + absolute_offset: 0 + size: 64 + padded_size: 64 + decorations: 0x00000004 # ROW_MAJOR + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv1 + name: "NotUsedNormalMatrix" + offset: 64 + absolute_offset: 64 + size: 64 + padded_size: 64 + decorations: 0x00000004 # ROW_MAJOR + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv2 + name: "Offset" + offset: 128 + absolute_offset: 128 + size: 12 + padded_size: 12 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td2 + - &bv3 + name: "ScalarScale" + offset: 140 + absolute_offset: 140 + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td3 + - &bv4 + name: "Vector2ScaleX" + offset: 144 + absolute_offset: 144 + size: 8 + padded_size: 8 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv5 + name: "Vector2ScaleY" + offset: 152 + absolute_offset: 152 + size: 8 + padded_size: 8 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv6 + name: "Vector2ScaleXY" + offset: 160 + absolute_offset: 160 + size: 8 + padded_size: 8 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv7 + name: "Vector2ScaleXXXX" + offset: 168 + absolute_offset: 168 + size: 8 + padded_size: 8 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv8 + name: "Vector2ScaleXYXY" + offset: 176 + absolute_offset: 176 + size: 8 + padded_size: 16 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv9 + name: "Vector3ScaleX" + offset: 192 + absolute_offset: 192 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td9 + - &bv10 + name: "Vector3ScaleY" + offset: 208 + absolute_offset: 208 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td10 + - &bv11 + name: "Vector3ScaleZ" + offset: 224 + absolute_offset: 224 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td11 + - &bv12 + name: "Vector3ScaleXZ" + offset: 240 + absolute_offset: 240 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td12 + - &bv13 + name: "Vector3ScaleXYZ" + offset: 256 + absolute_offset: 256 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td13 + - &bv14 + name: "Vector3ScaleXX" + offset: 272 + absolute_offset: 272 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td14 + - &bv15 + name: "Vector3ScaleYZX" + offset: 288 + absolute_offset: 288 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td15 + - &bv16 + name: "Vector3ScaleZZZZ" + offset: 304 + absolute_offset: 304 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td16 + - &bv17 + name: "Vector4ScaleX" + offset: 320 + absolute_offset: 320 + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td17 + - &bv18 + name: "Vector4ScaleY" + offset: 336 + absolute_offset: 336 + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td18 + - &bv19 + name: "Vector4ScaleZ" + offset: 352 + absolute_offset: 352 + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td19 + - &bv20 + name: "Vector4ScaleW" + offset: 368 + absolute_offset: 368 + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td20 + - &bv21 + name: "Vector4ScaleXY" + offset: 384 + absolute_offset: 384 + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td21 + - &bv22 + name: "Vector4ScaleXZ" + offset: 400 + absolute_offset: 400 + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td22 + - &bv23 + name: "Vector4ScaleYZ" + offset: 416 + absolute_offset: 416 + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td23 + - &bv24 + name: "Vector4ScaleXZW" + offset: 432 + absolute_offset: 432 + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td24 + - &bv25 + name: "Vector4ScaleYZW" + offset: 448 + absolute_offset: 448 + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td25 + - &bv26 + name: "Vector4ScaleXYZW" + offset: 464 + absolute_offset: 464 + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td26 + - &bv27 + name: "NotUsed1" + offset: 480 + absolute_offset: 480 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td27 + - &bv28 + name: "NotUsed2" + offset: 484 + absolute_offset: 484 + size: 8 + padded_size: 12 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv29 + name: "NotUsed3" + offset: 496 + absolute_offset: 496 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td29 + - &bv30 + name: "MoreOffset" + offset: 512 + absolute_offset: 512 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td30 + - &bv31 + name: "NotUsed4" + offset: 528 + absolute_offset: 528 + size: 8 + padded_size: 16 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv32 + name: "NotUsed5" + offset: 544 + absolute_offset: 544 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td32 + - &bv33 + name: "LastOffset" + offset: 560 + absolute_offset: 560 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td33 + - &bv34 + name: "NotUsed6" + offset: 576 + absolute_offset: 576 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td34 + - &bv35 + name: "ScalarArray" + offset: 592 + absolute_offset: 592 + size: 64 + padded_size: 64 + 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: 1, dims: [4,], stride: 16 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td35 + - &bv36 + name: "Vector2Array" + offset: 656 + absolute_offset: 656 + size: 64 + padded_size: 64 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv37 + name: "Vector3Array" + offset: 720 + absolute_offset: 720 + size: 64 + padded_size: 64 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv38 + name: "Vector4Array" + offset: 784 + absolute_offset: 784 + size: 64 + padded_size: 64 + 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: 1, dims: [4,], stride: 16 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td38 + - &bv39 + name: "Vector2ArrayX" + offset: 848 + absolute_offset: 848 + size: 64 + padded_size: 64 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv40 + name: "Vector3ArrayX" + offset: 912 + absolute_offset: 912 + size: 64 + padded_size: 64 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv41 + name: "Vector4ArrayX" + offset: 976 + absolute_offset: 976 + size: 64 + padded_size: 64 + 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: 1, dims: [4,], stride: 16 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td41 + - &bv42 + name: "NotUsedVectorArray" + offset: 1040 + absolute_offset: 1040 + size: 64 + padded_size: 64 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv43 + name: "R" + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td43 + - &bv44 + name: "RG" + offset: 4 + absolute_offset: 0 + size: 8 + padded_size: 12 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv45 + name: "RGB" + offset: 16 + absolute_offset: 0 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td45 + - &bv46 + name: "RGBA" + offset: 32 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td46 + - &bv47 + name: "ColorArray" + offset: 1104 + absolute_offset: 1104 + size: 1935360 + padded_size: 1935360 + 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: 7, dims: [8,7,6,5,4,3,2,], stride: 48 } + flags: 0x00000000 # NONE + member_count: 4 + members: + - *bv43 + - *bv44 + - *bv45 + - *bv46 + type_description: *td47 + - &bv48 + name: "ScalarMultiDimArray" + offset: 1936464 + absolute_offset: 1936464 + size: 645120 + padded_size: 645120 + 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td48 + - &bv49 + name: "Vector2MultiDimArray" + offset: 2581584 + absolute_offset: 2581584 + size: 645120 + padded_size: 645120 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv50 + name: "Vector3MultiDimArray" + offset: 3226704 + absolute_offset: 3226704 + size: 645120 + padded_size: 645120 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv51 + name: "Vector4MultiDimArray" + offset: 3871824 + absolute_offset: 3871824 + size: 645120 + padded_size: 645120 + 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td51 + - &bv52 + name: "Vector2MultiDimArrayX" + offset: 4516944 + absolute_offset: 4516944 + size: 645120 + padded_size: 645120 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv53 + name: "Vector3MultiDimArrayX" + offset: 5162064 + absolute_offset: 5162064 + size: 645120 + padded_size: 645120 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv54 + name: "Vector4MultiDimArrayX" + offset: 5807184 + absolute_offset: 5807184 + size: 645120 + padded_size: 645120 + 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td54 + - &bv55 + name: "NotUsedVector2MultiDimArrayY" + offset: 6452304 + absolute_offset: 6452304 + size: 645120 + padded_size: 645120 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv56 + name: "NotUsedVector3MultiDimArrayY" + offset: 7097424 + absolute_offset: 7097424 + size: 645120 + padded_size: 645120 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv57 + name: "NotUsedVector4MultiDimArrayY" + offset: 7742544 + absolute_offset: 7742544 + size: 645120 + padded_size: 645120 + 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td57 + - &bv58 + name: "Vector3MultiDimArrayZ" + offset: 8387664 + absolute_offset: 8387664 + size: 645120 + padded_size: 645120 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv59 + name: "Vector4MultiDimArrayZ" + offset: 9032784 + absolute_offset: 9032784 + size: 645120 + padded_size: 645120 + 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td59 + - &bv60 + name: "Vector2MultiDimArrayXYX" + offset: 9677904 + absolute_offset: 9677904 + size: 645120 + padded_size: 645120 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv61 + name: "Vector3MultiDimArrayXYX" + offset: 10323024 + absolute_offset: 10323024 + size: 645120 + padded_size: 645120 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv62 + name: "Vector4MultiDimArrayXYX" + offset: 10968144 + absolute_offset: 10968144 + size: 645120 + padded_size: 645120 + 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: 7, dims: [8,7,6,5,4,3,2,], stride: 16 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td62 + - &bv63 + name: "MyParams" + offset: 0 + absolute_offset: 0 + size: 11613264 + padded_size: 11613264 + 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 } + flags: 0x00000000 # NONE + member_count: 59 + members: + - *bv0 + - *bv1 + - *bv2 + - *bv3 + - *bv4 + - *bv5 + - *bv6 + - *bv7 + - *bv8 + - *bv9 + - *bv10 + - *bv11 + - *bv12 + - *bv13 + - *bv14 + - *bv15 + - *bv16 + - *bv17 + - *bv18 + - *bv19 + - *bv20 + - *bv21 + - *bv22 + - *bv23 + - *bv24 + - *bv25 + - *bv26 + - *bv27 + - *bv28 + - *bv29 + - *bv30 + - *bv31 + - *bv32 + - *bv33 + - *bv34 + - *bv35 + - *bv36 + - *bv37 + - *bv38 + - *bv39 + - *bv40 + - *bv41 + - *bv42 + - *bv47 + - *bv48 + - *bv49 + - *bv50 + - *bv51 + - *bv52 + - *bv53 + - *bv54 + - *bv55 + - *bv56 + - *bv57 + - *bv58 + - *bv59 + - *bv60 + - *bv61 + - *bv62 + type_description: *td63 + - &bv64 + name: "PostTransformOffset" + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td64 + - &bv65 + name: "NotUsedScale" + offset: 16 + absolute_offset: 16 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td65 + - &bv66 + name: "Mask" + offset: 20 + absolute_offset: 20 + size: 12 + padded_size: 12 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td66 + - &bv67 + name: "Position" + offset: 0 + absolute_offset: 32 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td67 + - &bv68 + name: "NotUsedColor" + offset: 16 + absolute_offset: 48 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td68 + - &bv69 + name: "Normal" + offset: 32 + absolute_offset: 64 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td69 + - &bv70 + name: "NotUsed1" + offset: 0 + absolute_offset: 80 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td70 + - &bv71 + name: "NotUsed2" + offset: 4 + absolute_offset: 84 + size: 8 + padded_size: 12 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv72 + name: "NotUsed3" + offset: 16 + absolute_offset: 96 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td72 + - &bv73 + name: "NotUsedNested" + offset: 48 + absolute_offset: 80 + size: 32 + padded_size: 32 + 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 } + flags: 0x00000001 # UNUSED + member_count: 3 + members: + - *bv70 + - *bv71 + - *bv72 + type_description: *td73 + - &bv74 + name: "NotUsed" + offset: 0 + absolute_offset: 112 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td74 + - &bv75 + name: "Offset" + offset: 4 + absolute_offset: 116 + size: 12 + padded_size: 12 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td75 + - &bv76 + name: "NotUsedMatrix" + offset: 16 + absolute_offset: 128 + size: 64 + padded_size: 64 + decorations: 0x00000004 # ROW_MAJOR + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv77 + name: "UsedNested" + offset: 80 + absolute_offset: 112 + size: 80 + padded_size: 80 + 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 } + flags: 0x00000000 # NONE + member_count: 3 + members: + - *bv74 + - *bv75 + - *bv76 + type_description: *td77 + - &bv78 + name: "NotUsed1" + offset: 160 + absolute_offset: 192 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td78 + - &bv79 + name: "R" + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td79 + - &bv80 + name: "RG" + offset: 4 + absolute_offset: 0 + size: 8 + padded_size: 12 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv81 + name: "RGB" + offset: 16 + absolute_offset: 0 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td81 + - &bv82 + name: "RGBA" + offset: 32 + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td82 + - &bv83 + name: "ColorArray" + offset: 176 + absolute_offset: 208 + size: 192 + padded_size: 192 + 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: 1, dims: [4,], stride: 48 } + flags: 0x00000000 # NONE + member_count: 4 + members: + - *bv79 + - *bv80 + - *bv81 + - *bv82 + type_description: *td83 + - &bv84 + name: "Used" + offset: 32 + absolute_offset: 32 + size: 368 + padded_size: 368 + 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 } + flags: 0x00000000 # NONE + member_count: 7 + members: + - *bv67 + - *bv68 + - *bv69 + - *bv73 + - *bv77 + - *bv78 + - *bv83 + type_description: *td84 + - &bv85 + name: "NotUsed1" + offset: 0 + absolute_offset: 400 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td85 + - &bv86 + name: "NotUsed2" + offset: 4 + absolute_offset: 404 + size: 8 + padded_size: 12 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv87 + name: "NotUsed3" + offset: 16 + absolute_offset: 416 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td87 + - &bv88 + name: "NotUsed1" + offset: 0 + absolute_offset: 432 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td88 + - &bv89 + name: "NotUsed2" + offset: 4 + absolute_offset: 436 + size: 8 + padded_size: 12 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv90 + name: "NotUsed3" + offset: 16 + absolute_offset: 448 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td90 + - &bv91 + name: "NotUsedNested" + offset: 32 + absolute_offset: 432 + size: 32 + padded_size: 32 + 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 } + flags: 0x00000001 # UNUSED + member_count: 3 + members: + - *bv88 + - *bv89 + - *bv90 + type_description: *td91 + - &bv92 + name: "NotUsed" + offset: 400 + absolute_offset: 400 + size: 64 + padded_size: 64 + 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 } + flags: 0x00000001 # UNUSED + member_count: 4 + members: + - *bv85 + - *bv86 + - *bv87 + - *bv91 + type_description: *td92 + - &bv93 + name: "ScaleByX" + offset: 0 + absolute_offset: 464 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td93 + - &bv94 + name: "Components" + offset: 464 + absolute_offset: 464 + 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 } + flags: 0x00000000 # NONE + member_count: 1 + members: + - *bv93 + type_description: *td94 + - &bv95 + name: "MyParams2" + offset: 0 + absolute_offset: 0 + size: 480 + padded_size: 480 + 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 } + flags: 0x00000000 # NONE + member_count: 6 + members: + - *bv64 + - *bv65 + - *bv66 + - *bv84 + - *bv92 + - *bv94 + type_description: *td95 +all_descriptor_bindings: + - &db0 + spirv_id: 5 + name: "MyParams" + 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: *bv63 # "MyParams" + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td63 + word_offset: { binding: 2047, set: 2043 } + - &db1 + spirv_id: 6 + name: "MyParams2" + 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: *bv95 # "MyParams2" + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td95 + word_offset: { binding: 2055, set: 2051 } +all_interface_variables: + - &iv0 + spirv_id: 2 + name: "in.var.Position" + location: 0 + storage_class: 1 # Input + semantic: "Position" + 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: *td96 + word_offset: { location: 2039 } + - &iv1 + spirv_id: 3 + name: + location: 4294967295 + storage_class: 3 # Output + semantic: "SV_POSITION" + 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: *td97 + word_offset: { location: 0 } +module: + generator: 14 # Google spiregg + entry_point_name: "main" + entry_point_id: 1 + source_language: 5 # HLSL + source_language_version: 600 + spirv_execution_model: 0 # Vertex + shader_stage: 0x00000001 # VS + descriptor_binding_count: 2 + descriptor_bindings: + - *db0 # "MyParams" + - *db1 # "MyParams2" + descriptor_set_count: 1 + descriptor_sets: + - set: 0 + binding_count: 2 + bindings: + - *db0 # "MyParams" + - *db1 # "MyParams2" + input_variable_count: 1, + input_variables: + - *iv0 # "in.var.Position" + output_variable_count: 1, + output_variables: + - *iv1 # + push_constant_count: 0, + push_constants: +... 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..261583ad 100644 --- a/tests/glsl/input_attachment.spv.yaml +++ b/tests/glsl/input_attachment.spv.yaml @@ -1,180 +1,183 @@ -%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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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..253c5e09 100644 --- a/tests/glsl/texel_buffer.spv.yaml +++ b/tests/glsl/texel_buffer.spv.yaml @@ -1,348 +1,350 @@ -%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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 266aaf34..964f372a 100644 Binary files a/tests/hlsl/append_consume.spv and b/tests/hlsl/append_consume.spv differ diff --git a/tests/hlsl/append_consume.spv.yaml b/tests/hlsl/append_consume.spv.yaml index e8050d26..eb78d529 100644 --- a/tests/hlsl/append_consume.spv.yaml +++ b/tests/hlsl/append_consume.spv.yaml @@ -1,473 +1,483 @@ -%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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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/array_of_structured_buffer.spv b/tests/hlsl/array_of_structured_buffer.spv index c1db8a1a..c3c2665a 100644 Binary files a/tests/hlsl/array_of_structured_buffer.spv and b/tests/hlsl/array_of_structured_buffer.spv differ diff --git a/tests/hlsl/array_of_structured_buffer.spv.yaml b/tests/hlsl/array_of_structured_buffer.spv.yaml new file mode 100644 index 00000000..d80d3ce0 --- /dev/null +++ b/tests/hlsl/array_of_structured_buffer.spv.yaml @@ -0,0 +1,323 @@ +%YAML 1.0 +--- +all_type_descriptions: + - &td0 + id: 20 + op: 29 + type_name: + struct_member_name: + storage_class: 0 # UniformConstant + 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: + - &td1 + id: 16 + op: 28 + type_name: "type.StructuredBuffer.v3float" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x30080000 # ARRAY 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: 1, dims: [16,], stride: 0 } + member_count: 1 + members: + - *td0 + - &td2 + id: 20 + op: 29 + type_name: + struct_member_name: + storage_class: 0 # UniformConstant + 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: + - &td3 + id: 22 + op: 30 + type_name: "type.RWStructuredBuffer.v3float" + 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: + - *td2 + - &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: 24 + 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: 26 + op: 23 + type_name: + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x00000104 # VECTOR INT + 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: + - &bv0 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000080 # NON_WRITABLE + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td0 + - &bv1 + name: "Input" + 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 } + flags: 0x00000000 # NONE + member_count: 1 + members: + - *bv0 + type_description: *td1 + - &bv2 + name: + offset: 0 + absolute_offset: 0 + size: 0 + padded_size: 0 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td2 + - &bv3 + name: "Output" + 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 } + flags: 0x00000000 # NONE + member_count: 1 + members: + - *bv2 + type_description: *td3 + - &bv4 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td4 + - &bv5 + name: "counter.var.Output" + 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 } + flags: 0x00000001 # UNUSED + member_count: 1 + members: + - *bv4 + type_description: *td5 +all_descriptor_bindings: + - &db0 + spirv_id: 6 + name: "Input" + binding: 0 + 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: *bv1 # "Input" + array: { dims_count: 1, dims: [16,] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td1 + word_offset: { binding: 260, set: 256 } + - &db1 + spirv_id: 5 + name: "counter.var.Output" + binding: 2 + 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: *bv5 # "counter.var.Output" + array: { dims_count: 0, dims: [] } + accessed: 0 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td5 + word_offset: { binding: 276, set: 272 } + - &db2 + spirv_id: 4 + name: "Output" + binding: 1 + 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: *bv3 # "Output" + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 5 + uav_counter_binding: *db1 # "counter.var.Output" + type_description: *td3 + word_offset: { binding: 268, set: 264 } + - *db1 +all_interface_variables: + - &iv0 + spirv_id: 2 + name: + location: 4294967295 + storage_class: 1 # Input + semantic: "SV_DispatchThreadID" + decoration_flags: 0x00000010 # BUILT_IN + built_in: 28 # GlobalInvocationId + 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: 104 # VK_FORMAT_R32G32B32_UINT + type_description: *td6 + word_offset: { location: 0 } +module: + generator: 14 # Google spiregg + entry_point_name: "main" + entry_point_id: 1 + source_language: 5 # HLSL + source_language_version: 600 + spirv_execution_model: 5 # GLCompute + shader_stage: 0x00000020 # CS + descriptor_binding_count: 3 + descriptor_bindings: + - *db0 # "Input" + - *db2 # "Output" + - *db1 # "counter.var.Output" + descriptor_set_count: 1 + descriptor_sets: + - set: 0 + binding_count: 3 + bindings: + - *db0 # "Input" + - *db2 # "Output" + - *db1 # "counter.var.Output" + input_variable_count: 1, + input_variables: + - *iv0 # + output_variable_count: 0, + output_variables: + push_constant_count: 0, + push_constants: +... diff --git a/tests/hlsl/binding_array.spv b/tests/hlsl/binding_array.spv index 8a6f600d..e2651ea8 100644 Binary files a/tests/hlsl/binding_array.spv and b/tests/hlsl/binding_array.spv differ diff --git a/tests/hlsl/binding_array.spv.yaml b/tests/hlsl/binding_array.spv.yaml index ad337b04..447371e0 100644 --- a/tests/hlsl/binding_array.spv.yaml +++ b/tests/hlsl/binding_array.spv.yaml @@ -1,183 +1,185 @@ -%YAML 1.0 ---- -all_type_descriptions: - - &td0 - id: 5 - op: 28 - type_name: "type.sampler" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x20020000 # ARRAY EXTERNAL_SAMPLER - 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: 1, dims: [6,], stride: 0 } - member_count: 0 - members: - - &td1 - id: 11 - op: 28 - type_name: "type.2d.image" - struct_member_name: - storage_class: -1 # NOT APPLICABLE - type_flags: 0x20010000 # ARRAY 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: 1, dims: [2,], stride: 0 } - member_count: 0 - members: - - &td2 - id: 19 - 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: -all_descriptor_bindings: - - &db0 - spirv_id: 7 - name: "MySampler" - binding: 0 - input_attachment_index: 0 - set: 0 - descriptor_type: 0 # VK_DESCRIPTOR_TYPE_SAMPLER - resource_type: 1 # SAMPLER - image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown - block: *bv0 # - array: { dims_count: 1, dims: [6,] } - accessed: 1 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td0 - word_offset: { binding: 219, set: 215 } - - &db1 - spirv_id: 13 - name: "MyTexture" - binding: 8 - 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: *bv1 # - array: { dims_count: 1, dims: [2,] } - accessed: 1 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td1 - word_offset: { binding: 227, set: 223 } -all_interface_variables: - - &iv0 - spirv_id: 23 - 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: *td2 - word_offset: { location: 0 } - - &iv1 - spirv_id: 27 - 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: *td2 - word_offset: { location: 211 } -module: - generator: 14 # Google spiregg - entry_point_name: "main" - entry_point_id: 17 - source_language: 5 # HLSL - source_language_version: 600 - spirv_execution_model: 4 # Fragment - shader_stage: 0x00000010 # PS - descriptor_binding_count: 2 - descriptor_bindings: - - *db0 # "MySampler" - - *db1 # "MyTexture" - descriptor_set_count: 1 - descriptor_sets: - - set: 0 - binding_count: 2 - bindings: - - *db0 # "MySampler" - - *db1 # "MyTexture" - 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: 16 + op: 28 + type_name: "type.sampler" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x20020000 # ARRAY EXTERNAL_SAMPLER + 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: 1, dims: [6,], stride: 0 } + member_count: 0 + members: + - &td1 + id: 21 + op: 28 + type_name: "type.2d.image" + struct_member_name: + storage_class: -1 # NOT APPLICABLE + type_flags: 0x20010000 # ARRAY 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: 1, dims: [2,], stride: 0 } + member_count: 0 + members: + - &td2 + 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: 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: +all_descriptor_bindings: + - &db0 + spirv_id: 5 + name: "MySampler" + binding: 0 + input_attachment_index: 0 + set: 0 + descriptor_type: 0 # VK_DESCRIPTOR_TYPE_SAMPLER + resource_type: 1 # SAMPLER + image: { dim: 0, depth: 0, arrayed: 0, ms: 0, sampled: 0, image_format: 0 } # dim=1D image_format=Unknown + block: *bv0 # + array: { dims_count: 1, dims: [6,] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td0 + word_offset: { binding: 226, set: 222 } + - &db1 + spirv_id: 6 + name: "MyTexture" + binding: 8 + 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: *bv1 # + array: { dims_count: 1, dims: [2,] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td1 + word_offset: { binding: 234, set: 230 } +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: *td2 + 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: *td2 + word_offset: { location: 218 } +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: 2 + descriptor_bindings: + - *db0 # "MySampler" + - *db1 # "MyTexture" + descriptor_set_count: 1 + descriptor_sets: + - set: 0 + binding_count: 2 + bindings: + - *db0 # "MySampler" + - *db1 # "MyTexture" + 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_types.spv b/tests/hlsl/binding_types.spv index e38980cc..a9dac7f8 100644 Binary files a/tests/hlsl/binding_types.spv and b/tests/hlsl/binding_types.spv differ diff --git a/tests/hlsl/binding_types.spv.yaml b/tests/hlsl/binding_types.spv.yaml index 631cc9a2..48d4b930 100644 --- a/tests/hlsl/binding_types.spv.yaml +++ b/tests/hlsl/binding_types.spv.yaml @@ -1,1908 +1,1950 @@ -%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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 71f13ca2..cb23f6a1 100644 Binary files a/tests/hlsl/cbuffer.spv and b/tests/hlsl/cbuffer.spv differ diff --git a/tests/hlsl/cbuffer.spv.yaml b/tests/hlsl/cbuffer.spv.yaml index f41c0c95..8386bf9c 100644 --- a/tests/hlsl/cbuffer.spv.yaml +++ b/tests/hlsl/cbuffer.spv.yaml @@ -1,949 +1,974 @@ -%YAML 1.0 ---- -all_type_descriptions: - - &td0 - id: 3 - op: 23 - type_name: - struct_member_name: "Color" - storage_class: 0 # UniformConstant - 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: - - &td1 - id: 2 - op: 22 - type_name: - struct_member_name: "Specular" - 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: - - &td2 - id: 2 - op: 22 - type_name: - struct_member_name: "Diffuse" - 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: 3 - op: 23 - type_name: - struct_member_name: "NormalAdjust" - storage_class: 0 # UniformConstant - 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: - - &td4 - id: 2 - op: 22 - type_name: - struct_member_name: "Front" - 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: 2 - op: 22 - type_name: - struct_member_name: "Back" - 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: - - &td6 - id: 2 - op: 22 - type_name: - struct_member_name: "Top" - 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: - - &td7 - id: 2 - op: 22 - type_name: - struct_member_name: "Bottom" - 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: - - &td8 - id: 2 - op: 22 - type_name: - struct_member_name: "Left" - 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: - - &td9 - id: 2 - op: 22 - type_name: - struct_member_name: "Right" - 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: - - &td10 - id: 4 - op: 30 - type_name: "OmniNormalStength" - struct_member_name: "Strengths" - 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: 6 - members: - - *td4 - - *td5 - - *td6 - - *td7 - - *td8 - - *td9 - - &td11 - id: 5 - op: 21 - type_name: - struct_member_name: "Type" - 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: - - &td12 - id: 8 - op: 28 - type_name: "ClothProperties" - struct_member_name: "ClothProperties" - storage_class: 0 # UniformConstant - type_flags: 0x30080000 # ARRAY 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: 1, dims: [8,], stride: 64 } - member_count: 3 - members: - - *td3 - - *td10 - - *td11 - - &td13 - id: 9 - op: 28 - type_name: - struct_member_name: "ClothColors" - storage_class: 0 # UniformConstant - type_flags: 0x20000108 # ARRAY 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: 1, dims: [8,], stride: 16 } - member_count: 0 - members: - - &td14 - id: 10 - op: 28 - type_name: - struct_member_name: "Scales" - 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: [8,], stride: 16 } - member_count: 0 - members: - - &td15 - id: 11 - op: 21 - type_name: - struct_member_name: "EnableBitMask" - 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: - - &td16 - id: 14 - op: 28 - type_name: "AuxData" - struct_member_name: "AuxDatArray" - storage_class: 0 # UniformConstant - type_flags: 0x30080000 # ARRAY 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: 1, dims: [10,], stride: 784 } - member_count: 4 - members: - - *td12 - - *td13 - - *td14 - - *td15 - - &td17 - id: 20 - op: 28 - type_name: "MaterialData" - struct_member_name: "Material" - storage_class: 0 # UniformConstant - type_flags: 0x30080000 # ARRAY 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: 3, dims: [2,2,3,], stride: 7872 } - member_count: 4 - members: - - *td0 - - *td1 - - *td2 - - *td16 - - &td18 - id: 22 - op: 24 - type_name: - struct_member_name: "ModelMatrix" - storage_class: 0 # UniformConstant - type_flags: 0x00000308 # MATRIX VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 4, row_count: 4, stride: 16 } - 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: 22 - op: 24 - type_name: - struct_member_name: "ProjectionMatrix" - storage_class: 0 # UniformConstant - type_flags: 0x00000308 # MATRIX VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 4, row_count: 4, stride: 16 } - 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: - - &td20 - id: 2 - op: 22 - type_name: - struct_member_name: "Time" - 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: - - &td21 - id: 3 - op: 23 - type_name: - struct_member_name: "Scale" - storage_class: 0 # UniformConstant - 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: - - &td22 - id: 25 - op: 28 - type_name: - struct_member_name: "UvOffsets" - storage_class: 0 # UniformConstant - type_flags: 0x20000108 # ARRAY VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 2 } - 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: [12,], stride: 16 } - member_count: 0 - members: - - &td23 - id: 5 - op: 21 - type_name: - struct_member_name: "EnableTarget" - 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: - - &td24 - id: 26 - 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: 7 - members: - - *td17 - - *td18 - - *td19 - - *td20 - - *td21 - - *td22 - - *td23 - - &td25 - id: 21 - 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: "Color" - offset: 0 - absolute_offset: 0 - size: 12 - padded_size: 12 - decorations: 0x00000000 # NONE - 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: - type_description: *td0 - - &bv1 - name: "Specular" - offset: 12 - 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: *td1 - - &bv2 - name: "Diffuse" - offset: 16 - 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: "NormalAdjust" - offset: 0 - absolute_offset: 0 - size: 12 - padded_size: 16 - decorations: 0x00000000 # NONE - 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: - type_description: *td3 - - &bv4 - name: "Front" - 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: *td4 - - &bv5 - name: "Back" - offset: 4 - 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: *td5 - - &bv6 - name: "Top" - offset: 8 - 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: *td6 - - &bv7 - name: "Bottom" - offset: 12 - 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: *td7 - - &bv8 - name: "Left" - offset: 16 - 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: *td8 - - &bv9 - name: "Right" - offset: 20 - absolute_offset: 0 - size: 4 - padded_size: 12 - 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: *td9 - - &bv10 - name: "Strengths" - offset: 16 - absolute_offset: 0 - size: 32 - padded_size: 32 - 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: 6 - members: - - *bv4 - - *bv5 - - *bv6 - - *bv7 - - *bv8 - - *bv9 - type_description: *td10 - - &bv11 - name: "Type" - offset: 48 - 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: *td11 - - &bv12 - name: "ClothProperties" - offset: 0 - absolute_offset: 0 - size: 512 - padded_size: 512 - 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: 1, dims: [8,], stride: 64 } - member_count: 3 - members: - - *bv3 - - *bv10 - - *bv11 - type_description: *td12 - - &bv13 - name: "ClothColors" - offset: 512 - absolute_offset: 0 - size: 128 - padded_size: 128 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 3 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 1, dims: [8,], stride: 16 } - member_count: 0 - members: - type_description: *td13 - - &bv14 - name: "Scales" - offset: 640 - absolute_offset: 0 - size: 128 - padded_size: 128 - 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: 1, dims: [8,], stride: 16 } - member_count: 0 - members: - type_description: *td14 - - &bv15 - name: "EnableBitMask" - offset: 768 - absolute_offset: 0 - size: 4 - padded_size: 16 - 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: *td15 - - &bv16 - name: "AuxDatArray" - offset: 32 - absolute_offset: 0 - size: 7840 - padded_size: 7840 - 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: 1, dims: [10,], stride: 784 } - member_count: 4 - members: - - *bv12 - - *bv13 - - *bv14 - - *bv15 - type_description: *td16 - - &bv17 - name: "Material" - offset: 0 - absolute_offset: 0 - size: 94464 - padded_size: 94464 - 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: 3, dims: [2,2,3,], stride: 7872 } - member_count: 4 - members: - - *bv0 - - *bv1 - - *bv2 - - *bv16 - type_description: *td17 - - &bv18 - name: "ModelMatrix" - offset: 94464 - absolute_offset: 94464 - size: 64 - padded_size: 64 - decorations: 0x00000004 # ROW_MAJOR - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 4, row_count: 4, stride: 16 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td18 - - &bv19 - name: "ProjectionMatrix" - offset: 94528 - absolute_offset: 94528 - size: 64 - padded_size: 64 - decorations: 0x00000004 # ROW_MAJOR - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 4, row_count: 4, stride: 16 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td19 - - &bv20 - name: "Time" - offset: 94592 - absolute_offset: 94592 - 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: *td20 - - &bv21 - name: "Scale" - offset: 94596 - absolute_offset: 94596 - size: 12 - padded_size: 12 - decorations: 0x00000000 # NONE - 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: - type_description: *td21 - - &bv22 - name: "UvOffsets" - offset: 94608 - absolute_offset: 94608 - size: 192 - padded_size: 192 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 2 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 1, dims: [12,], stride: 16 } - member_count: 0 - members: - type_description: *td22 - - &bv23 - name: "EnableTarget" - offset: 94800 - absolute_offset: 94800 - 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: *td23 - - &bv24 - name: "MyCBuffer" - offset: 0 - absolute_offset: 0 - size: 94816 - padded_size: 94816 - 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: 7 - members: - - *bv17 - - *bv18 - - *bv19 - - *bv20 - - *bv21 - - *bv22 - - *bv23 - type_description: *td24 -all_descriptor_bindings: - - &db0 - spirv_id: 28 - 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: *bv24 # "MyCBuffer" - array: { dims_count: 0, dims: [] } - accessed: 1 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td24 - word_offset: { binding: 623, set: 619 } -all_interface_variables: - - &iv0 - spirv_id: 37 - name: "in.var.POSITION" - location: 0 - storage_class: 1 # Input - semantic: "POSITION" - 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: *td25 - word_offset: { location: 615 } - - &iv1 - spirv_id: 41 - name: - location: 4294967295 - storage_class: 3 # Output - semantic: "SV_Position" - 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: *td25 - word_offset: { location: 0 } -module: - generator: 14 # Google spiregg - entry_point_name: "main" - entry_point_id: 32 - source_language: 5 # HLSL - source_language_version: 600 - spirv_execution_model: 0 # Vertex - shader_stage: 0x00000001 # VS - descriptor_binding_count: 1 - descriptor_bindings: - - *db0 # "MyCBuffer" - descriptor_set_count: 1 - descriptor_sets: - - set: 0 - binding_count: 1 - bindings: - - *db0 # "MyCBuffer" - input_variable_count: 1, - input_variables: - - *iv0 # "in.var.POSITION" - output_variable_count: 1, - output_variables: - - *iv1 # - push_constant_count: 0, - push_constants: -... +%YAML 1.0 +--- +all_type_descriptions: + - &td0 + id: 19 + op: 23 + type_name: + struct_member_name: "Color" + storage_class: 0 # UniformConstant + 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: + - &td1 + id: 8 + op: 22 + type_name: + struct_member_name: "Specular" + 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: + - &td2 + id: 8 + op: 22 + type_name: + struct_member_name: "Diffuse" + 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: 19 + op: 23 + type_name: + struct_member_name: "NormalAdjust" + storage_class: 0 # UniformConstant + 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: + - &td4 + id: 8 + op: 22 + type_name: + struct_member_name: "Front" + 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: 8 + op: 22 + type_name: + struct_member_name: "Back" + 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: + - &td6 + id: 8 + op: 22 + type_name: + struct_member_name: "Top" + 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: + - &td7 + id: 8 + op: 22 + type_name: + struct_member_name: "Bottom" + 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: + - &td8 + id: 8 + op: 22 + type_name: + struct_member_name: "Left" + 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: + - &td9 + id: 8 + op: 22 + type_name: + struct_member_name: "Right" + 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: + - &td10 + id: 26 + op: 30 + type_name: "OmniNormalStength" + struct_member_name: "Strengths" + 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: 6 + members: + - *td4 + - *td5 + - *td6 + - *td7 + - *td8 + - *td9 + - &td11 + id: 13 + op: 21 + type_name: + struct_member_name: "Type" + 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: + - &td12 + id: 23 + op: 28 + type_name: "ClothProperties" + struct_member_name: "ClothProperties" + storage_class: 0 # UniformConstant + type_flags: 0x30080000 # ARRAY 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: 1, dims: [8,], stride: 48 } + member_count: 3 + members: + - *td3 + - *td10 + - *td11 + - &td13 + id: 27 + op: 28 + type_name: + struct_member_name: "ClothColors" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY 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: 1, dims: [8,], stride: 16 } + member_count: 0 + members: + - &td14 + id: 28 + op: 28 + type_name: + struct_member_name: "Scales" + 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: [8,], stride: 16 } + member_count: 0 + members: + - &td15 + id: 6 + op: 21 + type_name: + struct_member_name: "EnableBitMask" + 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: + - &td16 + id: 20 + op: 28 + type_name: "AuxData" + struct_member_name: "AuxDatArray" + storage_class: 0 # UniformConstant + type_flags: 0x30080000 # ARRAY 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: 1, dims: [10,], stride: 640 } + member_count: 4 + members: + - *td12 + - *td13 + - *td14 + - *td15 + - &td17 + id: 12 + op: 28 + type_name: "MaterialData" + struct_member_name: "Material" + storage_class: 0 # UniformConstant + type_flags: 0x30080000 # ARRAY 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: 3, dims: [2,2,3,], stride: 6432 } + member_count: 4 + members: + - *td0 + - *td1 + - *td2 + - *td16 + - &td18 + id: 29 + op: 24 + type_name: + struct_member_name: "ModelMatrix" + storage_class: 0 # UniformConstant + type_flags: 0x00000308 # MATRIX VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 4, row_count: 4, stride: 16 } + 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: 29 + op: 24 + type_name: + struct_member_name: "ProjectionMatrix" + storage_class: 0 # UniformConstant + type_flags: 0x00000308 # MATRIX VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 4, row_count: 4, stride: 16 } + 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: + - &td20 + id: 8 + op: 22 + type_name: + struct_member_name: "Time" + 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: + - &td21 + id: 19 + op: 23 + type_name: + struct_member_name: "Scale" + storage_class: 0 # UniformConstant + 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: + - &td22 + id: 31 + op: 28 + type_name: + struct_member_name: "UvOffsets" + storage_class: 0 # UniformConstant + type_flags: 0x20000108 # ARRAY VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: [12,], stride: 16 } + member_count: 0 + members: + - &td23 + id: 13 + op: 21 + type_name: + struct_member_name: "EnableTarget" + 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: + - &td24 + id: 11 + 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: 7 + members: + - *td17 + - *td18 + - *td19 + - *td20 + - *td21 + - *td22 + - *td23 + - &td25 + id: 30 + 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: "Color" + offset: 0 + absolute_offset: 0 + size: 12 + padded_size: 12 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td0 + - &bv1 + name: "Specular" + offset: 12 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td1 + - &bv2 + name: "Diffuse" + offset: 16 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td2 + - &bv3 + name: "NormalAdjust" + offset: 0 + absolute_offset: 0 + size: 12 + padded_size: 16 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td3 + - &bv4 + name: "Front" + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td4 + - &bv5 + name: "Back" + offset: 4 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td5 + - &bv6 + name: "Top" + offset: 8 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td6 + - &bv7 + name: "Bottom" + offset: 12 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td7 + - &bv8 + name: "Left" + offset: 16 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td8 + - &bv9 + name: "Right" + offset: 20 + absolute_offset: 0 + size: 4 + padded_size: 12 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td9 + - &bv10 + name: "Strengths" + offset: 16 + absolute_offset: 0 + size: 24 + padded_size: 24 + 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 } + flags: 0x00000001 # UNUSED + member_count: 6 + members: + - *bv4 + - *bv5 + - *bv6 + - *bv7 + - *bv8 + - *bv9 + type_description: *td10 + - &bv11 + name: "Type" + offset: 40 + absolute_offset: 0 + size: 4 + padded_size: 8 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td11 + - &bv12 + name: "ClothProperties" + offset: 0 + absolute_offset: 0 + size: 384 + padded_size: 384 + 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: 1, dims: [8,], stride: 48 } + flags: 0x00000001 # UNUSED + member_count: 3 + members: + - *bv3 + - *bv10 + - *bv11 + type_description: *td12 + - &bv13 + name: "ClothColors" + offset: 384 + absolute_offset: 0 + size: 128 + padded_size: 128 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv14 + name: "Scales" + offset: 512 + absolute_offset: 0 + size: 116 + padded_size: 116 + 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: 1, dims: [8,], stride: 16 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td14 + - &bv15 + name: "EnableBitMask" + offset: 628 + absolute_offset: 0 + size: 4 + padded_size: 12 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td15 + - &bv16 + name: "AuxDatArray" + offset: 32 + absolute_offset: 0 + size: 6400 + padded_size: 6400 + 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: 1, dims: [10,], stride: 640 } + flags: 0x00000001 # UNUSED + member_count: 4 + members: + - *bv12 + - *bv13 + - *bv14 + - *bv15 + type_description: *td16 + - &bv17 + name: "Material" + offset: 0 + absolute_offset: 0 + size: 77184 + padded_size: 77184 + 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: 3, dims: [2,2,3,], stride: 6432 } + flags: 0x00000001 # UNUSED + member_count: 4 + members: + - *bv0 + - *bv1 + - *bv2 + - *bv16 + type_description: *td17 + - &bv18 + name: "ModelMatrix" + offset: 77184 + absolute_offset: 77184 + size: 64 + padded_size: 64 + decorations: 0x00000004 # ROW_MAJOR + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv19 + name: "ProjectionMatrix" + offset: 77248 + absolute_offset: 77248 + size: 64 + padded_size: 64 + decorations: 0x00000004 # ROW_MAJOR + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv20 + name: "Time" + offset: 77312 + absolute_offset: 77312 + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td20 + - &bv21 + name: "Scale" + offset: 77316 + absolute_offset: 77316 + size: 12 + padded_size: 12 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td21 + - &bv22 + name: "UvOffsets" + offset: 77328 + absolute_offset: 77328 + size: 184 + padded_size: 184 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv23 + name: "EnableTarget" + offset: 77512 + absolute_offset: 77512 + size: 4 + padded_size: 8 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td23 + - &bv24 + name: "MyCBuffer" + offset: 0 + absolute_offset: 0 + size: 77520 + padded_size: 77520 + 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 } + flags: 0x00000000 # NONE + member_count: 7 + members: + - *bv17 + - *bv18 + - *bv19 + - *bv20 + - *bv21 + - *bv22 + - *bv23 + type_description: *td24 +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: *bv24 # "MyCBuffer" + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td24 + word_offset: { binding: 457, set: 453 } +all_interface_variables: + - &iv0 + spirv_id: 2 + name: "in.var.POSITION" + location: 0 + storage_class: 1 # Input + semantic: "POSITION" + 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: *td25 + word_offset: { location: 449 } + - &iv1 + spirv_id: 3 + name: + location: 4294967295 + storage_class: 3 # Output + semantic: "SV_Position" + 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: *td25 + word_offset: { location: 0 } +module: + generator: 14 # Google spiregg + entry_point_name: "main" + entry_point_id: 1 + source_language: 5 # HLSL + source_language_version: 600 + spirv_execution_model: 0 # Vertex + shader_stage: 0x00000001 # VS + descriptor_binding_count: 1 + descriptor_bindings: + - *db0 # "MyCBuffer" + descriptor_set_count: 1 + descriptor_sets: + - set: 0 + binding_count: 1 + bindings: + - *db0 # "MyCBuffer" + input_variable_count: 1, + input_variables: + - *iv0 # "in.var.POSITION" + output_variable_count: 1, + output_variables: + - *iv1 # + push_constant_count: 0, + push_constants: +... diff --git a/tests/hlsl/constantbuffer.spv b/tests/hlsl/constantbuffer.spv index 161d59aa..6db0fea6 100644 Binary files a/tests/hlsl/constantbuffer.spv and b/tests/hlsl/constantbuffer.spv differ diff --git a/tests/hlsl/constantbuffer.spv.yaml b/tests/hlsl/constantbuffer.spv.yaml index 74a5f6b1..36c27df4 100644 --- a/tests/hlsl/constantbuffer.spv.yaml +++ b/tests/hlsl/constantbuffer.spv.yaml @@ -2,7 +2,7 @@ --- all_type_descriptions: - &td0 - id: 20 + id: 19 op: 23 type_name: struct_member_name: "Color" @@ -19,7 +19,7 @@ all_type_descriptions: member_count: 0 members: - &td1 - id: 19 + id: 8 op: 22 type_name: struct_member_name: "Specular" @@ -36,7 +36,7 @@ all_type_descriptions: member_count: 0 members: - &td2 - id: 19 + id: 8 op: 22 type_name: struct_member_name: "Diffuse" @@ -53,7 +53,7 @@ all_type_descriptions: member_count: 0 members: - &td3 - id: 20 + id: 19 op: 23 type_name: struct_member_name: "NormalAdjust" @@ -70,7 +70,7 @@ all_type_descriptions: member_count: 0 members: - &td4 - id: 19 + id: 8 op: 22 type_name: struct_member_name: "Front" @@ -87,7 +87,7 @@ all_type_descriptions: member_count: 0 members: - &td5 - id: 19 + id: 8 op: 22 type_name: struct_member_name: "Back" @@ -104,7 +104,7 @@ all_type_descriptions: member_count: 0 members: - &td6 - id: 19 + id: 8 op: 22 type_name: struct_member_name: "Top" @@ -121,7 +121,7 @@ all_type_descriptions: member_count: 0 members: - &td7 - id: 19 + id: 8 op: 22 type_name: struct_member_name: "Bottom" @@ -138,7 +138,7 @@ all_type_descriptions: member_count: 0 members: - &td8 - id: 19 + id: 8 op: 22 type_name: struct_member_name: "Left" @@ -155,7 +155,7 @@ all_type_descriptions: member_count: 0 members: - &td9 - id: 19 + id: 8 op: 22 type_name: struct_member_name: "Right" @@ -172,7 +172,7 @@ all_type_descriptions: member_count: 0 members: - &td10 - id: 4 + id: 26 op: 30 type_name: "OmniNormalStength" struct_member_name: "Strengths" @@ -195,7 +195,7 @@ all_type_descriptions: - *td8 - *td9 - &td11 - id: 21 + id: 13 op: 21 type_name: struct_member_name: "Type" @@ -212,7 +212,7 @@ all_type_descriptions: member_count: 0 members: - &td12 - id: 11 + id: 23 op: 28 type_name: "ClothProperties" struct_member_name: "ClothProperties" @@ -225,14 +225,14 @@ all_type_descriptions: 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: [8,], stride: 64 } + array: { dims_count: 1, dims: [8,], stride: 48 } member_count: 3 members: - *td3 - *td10 - *td11 - &td13 - id: 12 + id: 27 op: 28 type_name: struct_member_name: "ClothColors" @@ -249,7 +249,7 @@ all_type_descriptions: member_count: 0 members: - &td14 - id: 13 + id: 28 op: 28 type_name: struct_member_name: "Scales" @@ -266,7 +266,7 @@ all_type_descriptions: member_count: 0 members: - &td15 - id: 23 + id: 6 op: 21 type_name: struct_member_name: "EnableBitMask" @@ -283,7 +283,7 @@ all_type_descriptions: member_count: 0 members: - &td16 - id: 14 + id: 20 op: 28 type_name: "AuxData" struct_member_name: "AuxDatArray" @@ -296,7 +296,7 @@ all_type_descriptions: 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: [10,], stride: 784 } + array: { dims_count: 1, dims: [10,], stride: 640 } member_count: 4 members: - *td12 @@ -304,7 +304,7 @@ all_type_descriptions: - *td14 - *td15 - &td17 - id: 17 + id: 12 op: 28 type_name: "MaterialData" struct_member_name: "Material" @@ -317,7 +317,7 @@ all_type_descriptions: 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: 3, dims: [2,2,3,], stride: 7872 } + array: { dims_count: 3, dims: [2,2,3,], stride: 6432 } member_count: 4 members: - *td0 @@ -325,7 +325,7 @@ all_type_descriptions: - *td2 - *td16 - &td18 - id: 28 + id: 29 op: 24 type_name: struct_member_name: "ModelMatrix" @@ -342,7 +342,7 @@ all_type_descriptions: member_count: 0 members: - &td19 - id: 28 + id: 29 op: 24 type_name: struct_member_name: "ProjectionMatrix" @@ -359,7 +359,7 @@ all_type_descriptions: member_count: 0 members: - &td20 - id: 19 + id: 8 op: 22 type_name: struct_member_name: "Time" @@ -376,7 +376,7 @@ all_type_descriptions: member_count: 0 members: - &td21 - id: 20 + id: 19 op: 23 type_name: struct_member_name: "Scale" @@ -393,7 +393,7 @@ all_type_descriptions: member_count: 0 members: - &td22 - id: 18 + id: 31 op: 28 type_name: struct_member_name: "UvOffsets" @@ -410,7 +410,7 @@ all_type_descriptions: member_count: 0 members: - &td23 - id: 21 + id: 13 op: 21 type_name: struct_member_name: "EnableTarget" @@ -427,7 +427,7 @@ all_type_descriptions: member_count: 0 members: - &td24 - id: 8 + id: 11 op: 30 type_name: "type.ConstantBuffer.Constants" struct_member_name: @@ -451,7 +451,7 @@ all_type_descriptions: - *td22 - *td23 - &td25 - id: 27 + id: 30 op: 23 type_name: struct_member_name: @@ -467,95 +467,6 @@ all_type_descriptions: array: { dims_count: 0, dims: [], stride: 0 } member_count: 0 members: - - &td26 - id: 27 - op: 23 - type_name: - struct_member_name: - 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: - - &td27 - id: 19 - op: 22 - 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: - - &td28 - id: 35 - op: 28 - type_name: - struct_member_name: - 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: - - &td29 - id: 35 - op: 28 - type_name: - struct_member_name: - 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: - - &td30 - id: 10 - op: 30 - type_name: "type.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: - - *td26 - - *td27 - - *td28 - - *td29 all_block_variables: - &bv0 name: "Color" @@ -569,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 @@ -584,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 @@ -599,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 @@ -614,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 @@ -629,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 @@ -644,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 @@ -659,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 @@ -674,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 @@ -689,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 @@ -704,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 @@ -711,14 +632,15 @@ all_block_variables: name: "Strengths" offset: 16 absolute_offset: 0 - size: 32 - padded_size: 32 + size: 24 + padded_size: 24 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 } + flags: 0x00000001 # UNUSED member_count: 6 members: - *bv4 @@ -730,16 +652,17 @@ all_block_variables: type_description: *td10 - &bv11 name: "Type" - offset: 48 + offset: 40 absolute_offset: 0 size: 4 - padded_size: 16 + padded_size: 8 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 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td11 @@ -747,14 +670,15 @@ all_block_variables: name: "ClothProperties" offset: 0 absolute_offset: 0 - size: 512 - padded_size: 512 + size: 384 + padded_size: 384 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: 1, dims: [8,], stride: 64 } + array: { dims_count: 1, dims: [8,], stride: 48 } + flags: 0x00000001 # UNUSED member_count: 3 members: - *bv3 @@ -763,7 +687,7 @@ all_block_variables: type_description: *td12 - &bv13 name: "ClothColors" - offset: 512 + offset: 384 absolute_offset: 0 size: 128 padded_size: 128 @@ -773,36 +697,39 @@ 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 - &bv14 name: "Scales" - offset: 640 + offset: 512 absolute_offset: 0 - size: 128 - padded_size: 128 + size: 116 + padded_size: 116 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: 1, dims: [8,], stride: 16 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td14 - &bv15 name: "EnableBitMask" - offset: 768 + offset: 628 absolute_offset: 0 size: 4 - padded_size: 16 + padded_size: 12 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 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td15 @@ -810,14 +737,15 @@ all_block_variables: name: "AuxDatArray" offset: 32 absolute_offset: 0 - size: 7840 - padded_size: 7840 + size: 6400 + padded_size: 6400 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: 1, dims: [10,], stride: 784 } + array: { dims_count: 1, dims: [10,], stride: 640 } + flags: 0x00000001 # UNUSED member_count: 4 members: - *bv12 @@ -829,14 +757,15 @@ all_block_variables: name: "Material" offset: 0 absolute_offset: 0 - size: 94464 - padded_size: 94464 + size: 77184 + padded_size: 77184 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: 3, dims: [2,2,3,], stride: 7872 } + array: { dims_count: 3, dims: [2,2,3,], stride: 6432 } + flags: 0x00000001 # UNUSED member_count: 4 members: - *bv0 @@ -846,8 +775,8 @@ all_block_variables: type_description: *td17 - &bv18 name: "ModelMatrix" - offset: 94464 - absolute_offset: 94464 + offset: 77184 + absolute_offset: 77184 size: 64 padded_size: 64 decorations: 0x00000004 # ROW_MAJOR @@ -856,13 +785,14 @@ 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 - &bv19 name: "ProjectionMatrix" - offset: 94528 - absolute_offset: 94528 + offset: 77248 + absolute_offset: 77248 size: 64 padded_size: 64 decorations: 0x00000004 # ROW_MAJOR @@ -871,13 +801,14 @@ 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 - &bv20 name: "Time" - offset: 94592 - absolute_offset: 94592 + offset: 77312 + absolute_offset: 77312 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -886,13 +817,14 @@ 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 - &bv21 name: "Scale" - offset: 94596 - absolute_offset: 94596 + offset: 77316 + absolute_offset: 77316 size: 12 padded_size: 12 decorations: 0x00000000 # NONE @@ -901,36 +833,39 @@ 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 - &bv22 name: "UvOffsets" - offset: 94608 - absolute_offset: 94608 - size: 192 - padded_size: 192 + offset: 77328 + absolute_offset: 77328 + size: 184 + padded_size: 184 decorations: 0x00000000 # NONE numeric: scalar: { width: 32, signedness: 0 } 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 - &bv23 name: "EnableTarget" - offset: 94800 - absolute_offset: 94800 + offset: 77512 + absolute_offset: 77512 size: 4 - padded_size: 16 + padded_size: 8 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 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td23 @@ -938,14 +873,15 @@ all_block_variables: name: "MyConstants" offset: 0 absolute_offset: 0 - size: 94816 - padded_size: 94816 + size: 77520 + padded_size: 77520 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 } + flags: 0x00000000 # NONE member_count: 7 members: - *bv17 @@ -958,7 +894,7 @@ all_block_variables: type_description: *td24 all_descriptor_bindings: - &db0 - spirv_id: 9 + spirv_id: 5 name: "MyConstants" binding: 0 input_attachment_index: 0 @@ -972,14 +908,14 @@ all_descriptor_bindings: uav_counter_id: 4294967295 uav_counter_binding: type_description: *td24 - word_offset: { binding: 425, set: 421 } + word_offset: { binding: 482, set: 478 } all_interface_variables: - &iv0 - spirv_id: 3 + spirv_id: 2 name: "in.var.POSITION" location: 0 storage_class: 1 # Input - semantic: + semantic: "POSITION" decoration_flags: 0x00000000 # NONE built_in: -1 # ??? numeric: @@ -991,13 +927,13 @@ all_interface_variables: members: format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT type_description: *td25 - word_offset: { location: 417 } + word_offset: { location: 474 } - &iv1 - spirv_id: 0 + spirv_id: 3 name: - location: 0 - storage_class: 0 # UniformConstant - semantic: + location: 4294967295 + storage_class: 3 # Output + semantic: "SV_Position" decoration_flags: 0x00000010 # BUILT_IN built_in: 0 # Position numeric: @@ -1008,83 +944,7 @@ all_interface_variables: member_count: 0 members: format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT - type_description: *td26 - 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: *td27 - 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: *td28 - 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: *td29 - word_offset: { location: 0 } - - &iv5 - spirv_id: 2 - name: "gl_PerVertexOut" - 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: *td30 + type_description: *td25 word_offset: { location: 0 } module: generator: 14 # Google spiregg @@ -1108,7 +968,7 @@ module: - *iv0 # "in.var.POSITION" output_variable_count: 1, output_variables: - - *iv5 # "gl_PerVertexOut" + - *iv1 # push_constant_count: 0, push_constants: ... diff --git a/tests/hlsl/constantbuffer_nested_structs.spv b/tests/hlsl/constantbuffer_nested_structs.spv index 69be7e5a..926e1c0a 100644 Binary files a/tests/hlsl/constantbuffer_nested_structs.spv and b/tests/hlsl/constantbuffer_nested_structs.spv differ diff --git a/tests/hlsl/constantbuffer_nested_structs.spv.yaml b/tests/hlsl/constantbuffer_nested_structs.spv.yaml index e8d7a989..865519d4 100644 --- a/tests/hlsl/constantbuffer_nested_structs.spv.yaml +++ b/tests/hlsl/constantbuffer_nested_structs.spv.yaml @@ -2,7 +2,7 @@ --- all_type_descriptions: - &td0 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "var00" @@ -19,7 +19,7 @@ all_type_descriptions: member_count: 0 members: - &td1 - id: 13 + id: 12 op: 23 type_name: struct_member_name: "var01" @@ -36,7 +36,7 @@ all_type_descriptions: member_count: 0 members: - &td2 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b00" @@ -53,7 +53,7 @@ all_type_descriptions: member_count: 0 members: - &td3 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b01" @@ -70,7 +70,7 @@ all_type_descriptions: member_count: 0 members: - &td4 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b02" @@ -87,7 +87,7 @@ all_type_descriptions: member_count: 0 members: - &td5 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b03" @@ -104,7 +104,7 @@ all_type_descriptions: member_count: 0 members: - &td6 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b04" @@ -121,7 +121,7 @@ all_type_descriptions: member_count: 0 members: - &td7 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b05" @@ -138,7 +138,7 @@ all_type_descriptions: member_count: 0 members: - &td8 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b06" @@ -155,7 +155,7 @@ all_type_descriptions: member_count: 0 members: - &td9 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b07" @@ -172,7 +172,7 @@ all_type_descriptions: member_count: 0 members: - &td10 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b08" @@ -189,7 +189,7 @@ all_type_descriptions: member_count: 0 members: - &td11 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b09" @@ -206,7 +206,7 @@ all_type_descriptions: member_count: 0 members: - &td12 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c00" @@ -223,7 +223,7 @@ all_type_descriptions: member_count: 0 members: - &td13 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c01" @@ -240,7 +240,7 @@ all_type_descriptions: member_count: 0 members: - &td14 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c02" @@ -257,7 +257,7 @@ all_type_descriptions: member_count: 0 members: - &td15 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c03" @@ -274,7 +274,7 @@ all_type_descriptions: member_count: 0 members: - &td16 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c04" @@ -291,7 +291,7 @@ all_type_descriptions: member_count: 0 members: - &td17 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d00" @@ -308,7 +308,7 @@ all_type_descriptions: member_count: 0 members: - &td18 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d01" @@ -325,7 +325,7 @@ all_type_descriptions: member_count: 0 members: - &td19 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d02" @@ -342,7 +342,7 @@ all_type_descriptions: member_count: 0 members: - &td20 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d03" @@ -359,7 +359,7 @@ all_type_descriptions: member_count: 0 members: - &td21 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d04" @@ -376,7 +376,7 @@ all_type_descriptions: member_count: 0 members: - &td22 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d05" @@ -393,7 +393,7 @@ all_type_descriptions: member_count: 0 members: - &td23 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d06" @@ -410,7 +410,7 @@ all_type_descriptions: member_count: 0 members: - &td24 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d07" @@ -427,7 +427,7 @@ all_type_descriptions: member_count: 0 members: - &td25 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d08" @@ -444,7 +444,7 @@ all_type_descriptions: member_count: 0 members: - &td26 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d09" @@ -461,7 +461,7 @@ all_type_descriptions: member_count: 0 members: - &td27 - id: 4 + id: 17 op: 30 type_name: "Nested5" struct_member_name: "nested5_00" @@ -488,7 +488,7 @@ all_type_descriptions: - *td25 - *td26 - &td28 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c05" @@ -505,7 +505,7 @@ all_type_descriptions: member_count: 0 members: - &td29 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c06" @@ -522,7 +522,7 @@ all_type_descriptions: member_count: 0 members: - &td30 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c07" @@ -539,7 +539,7 @@ all_type_descriptions: member_count: 0 members: - &td31 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c08" @@ -556,7 +556,7 @@ all_type_descriptions: member_count: 0 members: - &td32 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c09" @@ -573,7 +573,7 @@ all_type_descriptions: member_count: 0 members: - &td33 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d00" @@ -590,7 +590,7 @@ all_type_descriptions: member_count: 0 members: - &td34 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d01" @@ -607,7 +607,7 @@ all_type_descriptions: member_count: 0 members: - &td35 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d02" @@ -624,7 +624,7 @@ all_type_descriptions: member_count: 0 members: - &td36 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d03" @@ -641,7 +641,7 @@ all_type_descriptions: member_count: 0 members: - &td37 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d04" @@ -658,7 +658,7 @@ all_type_descriptions: member_count: 0 members: - &td38 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d05" @@ -675,7 +675,7 @@ all_type_descriptions: member_count: 0 members: - &td39 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d06" @@ -692,7 +692,7 @@ all_type_descriptions: member_count: 0 members: - &td40 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d07" @@ -709,7 +709,7 @@ all_type_descriptions: member_count: 0 members: - &td41 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d08" @@ -726,7 +726,7 @@ all_type_descriptions: member_count: 0 members: - &td42 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d09" @@ -743,7 +743,7 @@ all_type_descriptions: member_count: 0 members: - &td43 - id: 4 + id: 17 op: 30 type_name: "Nested5" struct_member_name: "nested5_01" @@ -770,7 +770,7 @@ all_type_descriptions: - *td41 - *td42 - &td44 - id: 5 + id: 16 op: 30 type_name: "Nested4" struct_member_name: "nested4_00" @@ -799,7 +799,7 @@ all_type_descriptions: - *td32 - *td43 - &td45 - id: 6 + id: 15 op: 30 type_name: "Nested3" struct_member_name: "nested3_00" @@ -827,7 +827,7 @@ all_type_descriptions: - *td11 - *td44 - &td46 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a00" @@ -844,7 +844,7 @@ all_type_descriptions: member_count: 0 members: - &td47 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a01" @@ -861,7 +861,7 @@ all_type_descriptions: member_count: 0 members: - &td48 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a02" @@ -878,7 +878,7 @@ all_type_descriptions: member_count: 0 members: - &td49 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a03" @@ -895,7 +895,7 @@ all_type_descriptions: member_count: 0 members: - &td50 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a04" @@ -912,7 +912,7 @@ all_type_descriptions: member_count: 0 members: - &td51 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a05" @@ -929,7 +929,7 @@ all_type_descriptions: member_count: 0 members: - &td52 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a06" @@ -946,7 +946,7 @@ all_type_descriptions: member_count: 0 members: - &td53 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a07" @@ -963,7 +963,7 @@ all_type_descriptions: member_count: 0 members: - &td54 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a08" @@ -980,7 +980,7 @@ all_type_descriptions: member_count: 0 members: - &td55 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a09" @@ -997,7 +997,7 @@ all_type_descriptions: member_count: 0 members: - &td56 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c00" @@ -1014,7 +1014,7 @@ all_type_descriptions: member_count: 0 members: - &td57 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c01" @@ -1031,7 +1031,7 @@ all_type_descriptions: member_count: 0 members: - &td58 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c02" @@ -1048,7 +1048,7 @@ all_type_descriptions: member_count: 0 members: - &td59 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c03" @@ -1065,7 +1065,7 @@ all_type_descriptions: member_count: 0 members: - &td60 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c04" @@ -1082,7 +1082,7 @@ all_type_descriptions: member_count: 0 members: - &td61 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d00" @@ -1099,7 +1099,7 @@ all_type_descriptions: member_count: 0 members: - &td62 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d01" @@ -1116,7 +1116,7 @@ all_type_descriptions: member_count: 0 members: - &td63 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d02" @@ -1133,7 +1133,7 @@ all_type_descriptions: member_count: 0 members: - &td64 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d03" @@ -1150,7 +1150,7 @@ all_type_descriptions: member_count: 0 members: - &td65 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d04" @@ -1167,7 +1167,7 @@ all_type_descriptions: member_count: 0 members: - &td66 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d05" @@ -1184,7 +1184,7 @@ all_type_descriptions: member_count: 0 members: - &td67 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d06" @@ -1201,7 +1201,7 @@ all_type_descriptions: member_count: 0 members: - &td68 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d07" @@ -1218,7 +1218,7 @@ all_type_descriptions: member_count: 0 members: - &td69 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d08" @@ -1235,7 +1235,7 @@ all_type_descriptions: member_count: 0 members: - &td70 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d09" @@ -1252,7 +1252,7 @@ all_type_descriptions: member_count: 0 members: - &td71 - id: 4 + id: 17 op: 30 type_name: "Nested5" struct_member_name: "nested5_00" @@ -1279,7 +1279,7 @@ all_type_descriptions: - *td69 - *td70 - &td72 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c05" @@ -1296,7 +1296,7 @@ all_type_descriptions: member_count: 0 members: - &td73 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c06" @@ -1313,7 +1313,7 @@ all_type_descriptions: member_count: 0 members: - &td74 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c07" @@ -1330,7 +1330,7 @@ all_type_descriptions: member_count: 0 members: - &td75 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c08" @@ -1347,7 +1347,7 @@ all_type_descriptions: member_count: 0 members: - &td76 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c09" @@ -1364,7 +1364,7 @@ all_type_descriptions: member_count: 0 members: - &td77 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d00" @@ -1381,7 +1381,7 @@ all_type_descriptions: member_count: 0 members: - &td78 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d01" @@ -1398,7 +1398,7 @@ all_type_descriptions: member_count: 0 members: - &td79 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d02" @@ -1415,7 +1415,7 @@ all_type_descriptions: member_count: 0 members: - &td80 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d03" @@ -1432,7 +1432,7 @@ all_type_descriptions: member_count: 0 members: - &td81 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d04" @@ -1449,7 +1449,7 @@ all_type_descriptions: member_count: 0 members: - &td82 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d05" @@ -1466,7 +1466,7 @@ all_type_descriptions: member_count: 0 members: - &td83 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d06" @@ -1483,7 +1483,7 @@ all_type_descriptions: member_count: 0 members: - &td84 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d07" @@ -1500,7 +1500,7 @@ all_type_descriptions: member_count: 0 members: - &td85 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d08" @@ -1517,7 +1517,7 @@ all_type_descriptions: member_count: 0 members: - &td86 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d09" @@ -1534,7 +1534,7 @@ all_type_descriptions: member_count: 0 members: - &td87 - id: 4 + id: 17 op: 30 type_name: "Nested5" struct_member_name: "nested5_01" @@ -1561,7 +1561,7 @@ all_type_descriptions: - *td85 - *td86 - &td88 - id: 5 + id: 16 op: 30 type_name: "Nested4" struct_member_name: "nested4_00" @@ -1590,7 +1590,7 @@ all_type_descriptions: - *td76 - *td87 - &td89 - id: 7 + id: 14 op: 30 type_name: "Nested2" struct_member_name: "nested2_00" @@ -1619,7 +1619,7 @@ all_type_descriptions: - *td55 - *td88 - &td90 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "word00" @@ -1636,7 +1636,7 @@ all_type_descriptions: member_count: 0 members: - &td91 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "word01" @@ -1653,7 +1653,7 @@ all_type_descriptions: member_count: 0 members: - &td92 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "word02" @@ -1670,7 +1670,7 @@ all_type_descriptions: member_count: 0 members: - &td93 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "word03" @@ -1687,7 +1687,7 @@ all_type_descriptions: member_count: 0 members: - &td94 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "word04" @@ -1704,7 +1704,7 @@ all_type_descriptions: member_count: 0 members: - &td95 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "word05" @@ -1721,7 +1721,7 @@ all_type_descriptions: member_count: 0 members: - &td96 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "word06" @@ -1738,7 +1738,7 @@ all_type_descriptions: member_count: 0 members: - &td97 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "word07" @@ -1755,7 +1755,7 @@ all_type_descriptions: member_count: 0 members: - &td98 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "word08" @@ -1772,7 +1772,7 @@ all_type_descriptions: member_count: 0 members: - &td99 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "word09" @@ -1789,7 +1789,7 @@ all_type_descriptions: member_count: 0 members: - &td100 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b00" @@ -1806,7 +1806,7 @@ all_type_descriptions: member_count: 0 members: - &td101 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b01" @@ -1823,7 +1823,7 @@ all_type_descriptions: member_count: 0 members: - &td102 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b02" @@ -1840,7 +1840,7 @@ all_type_descriptions: member_count: 0 members: - &td103 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b03" @@ -1857,7 +1857,7 @@ all_type_descriptions: member_count: 0 members: - &td104 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b04" @@ -1874,7 +1874,7 @@ all_type_descriptions: member_count: 0 members: - &td105 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b05" @@ -1891,7 +1891,7 @@ all_type_descriptions: member_count: 0 members: - &td106 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b06" @@ -1908,7 +1908,7 @@ all_type_descriptions: member_count: 0 members: - &td107 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b07" @@ -1925,7 +1925,7 @@ all_type_descriptions: member_count: 0 members: - &td108 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b08" @@ -1942,7 +1942,7 @@ all_type_descriptions: member_count: 0 members: - &td109 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "b09" @@ -1959,7 +1959,7 @@ all_type_descriptions: member_count: 0 members: - &td110 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c00" @@ -1976,7 +1976,7 @@ all_type_descriptions: member_count: 0 members: - &td111 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c01" @@ -1993,7 +1993,7 @@ all_type_descriptions: member_count: 0 members: - &td112 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c02" @@ -2010,7 +2010,7 @@ all_type_descriptions: member_count: 0 members: - &td113 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c03" @@ -2027,7 +2027,7 @@ all_type_descriptions: member_count: 0 members: - &td114 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c04" @@ -2044,7 +2044,7 @@ all_type_descriptions: member_count: 0 members: - &td115 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d00" @@ -2061,7 +2061,7 @@ all_type_descriptions: member_count: 0 members: - &td116 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d01" @@ -2078,7 +2078,7 @@ all_type_descriptions: member_count: 0 members: - &td117 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d02" @@ -2095,7 +2095,7 @@ all_type_descriptions: member_count: 0 members: - &td118 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d03" @@ -2112,7 +2112,7 @@ all_type_descriptions: member_count: 0 members: - &td119 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d04" @@ -2129,7 +2129,7 @@ all_type_descriptions: member_count: 0 members: - &td120 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d05" @@ -2146,7 +2146,7 @@ all_type_descriptions: member_count: 0 members: - &td121 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d06" @@ -2163,7 +2163,7 @@ all_type_descriptions: member_count: 0 members: - &td122 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d07" @@ -2180,7 +2180,7 @@ all_type_descriptions: member_count: 0 members: - &td123 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d08" @@ -2197,7 +2197,7 @@ all_type_descriptions: member_count: 0 members: - &td124 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d09" @@ -2214,7 +2214,7 @@ all_type_descriptions: member_count: 0 members: - &td125 - id: 4 + id: 17 op: 30 type_name: "Nested5" struct_member_name: "nested5_00" @@ -2241,7 +2241,7 @@ all_type_descriptions: - *td123 - *td124 - &td126 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c05" @@ -2258,7 +2258,7 @@ all_type_descriptions: member_count: 0 members: - &td127 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c06" @@ -2275,7 +2275,7 @@ all_type_descriptions: member_count: 0 members: - &td128 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c07" @@ -2292,7 +2292,7 @@ all_type_descriptions: member_count: 0 members: - &td129 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c08" @@ -2309,7 +2309,7 @@ all_type_descriptions: member_count: 0 members: - &td130 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c09" @@ -2326,7 +2326,7 @@ all_type_descriptions: member_count: 0 members: - &td131 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d00" @@ -2343,7 +2343,7 @@ all_type_descriptions: member_count: 0 members: - &td132 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d01" @@ -2360,7 +2360,7 @@ all_type_descriptions: member_count: 0 members: - &td133 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d02" @@ -2377,7 +2377,7 @@ all_type_descriptions: member_count: 0 members: - &td134 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d03" @@ -2394,7 +2394,7 @@ all_type_descriptions: member_count: 0 members: - &td135 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d04" @@ -2411,7 +2411,7 @@ all_type_descriptions: member_count: 0 members: - &td136 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d05" @@ -2428,7 +2428,7 @@ all_type_descriptions: member_count: 0 members: - &td137 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d06" @@ -2445,7 +2445,7 @@ all_type_descriptions: member_count: 0 members: - &td138 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d07" @@ -2462,7 +2462,7 @@ all_type_descriptions: member_count: 0 members: - &td139 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d08" @@ -2479,7 +2479,7 @@ all_type_descriptions: member_count: 0 members: - &td140 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d09" @@ -2496,7 +2496,7 @@ all_type_descriptions: member_count: 0 members: - &td141 - id: 4 + id: 17 op: 30 type_name: "Nested5" struct_member_name: "nested5_01" @@ -2523,7 +2523,7 @@ all_type_descriptions: - *td139 - *td140 - &td142 - id: 5 + id: 16 op: 30 type_name: "Nested4" struct_member_name: "nested4_00" @@ -2552,7 +2552,7 @@ all_type_descriptions: - *td130 - *td141 - &td143 - id: 6 + id: 15 op: 30 type_name: "Nested3" struct_member_name: "nested3_00" @@ -2580,7 +2580,7 @@ all_type_descriptions: - *td109 - *td142 - &td144 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a00" @@ -2597,7 +2597,7 @@ all_type_descriptions: member_count: 0 members: - &td145 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a01" @@ -2614,7 +2614,7 @@ all_type_descriptions: member_count: 0 members: - &td146 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a02" @@ -2631,7 +2631,7 @@ all_type_descriptions: member_count: 0 members: - &td147 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a03" @@ -2648,7 +2648,7 @@ all_type_descriptions: member_count: 0 members: - &td148 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a04" @@ -2665,7 +2665,7 @@ all_type_descriptions: member_count: 0 members: - &td149 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a05" @@ -2682,7 +2682,7 @@ all_type_descriptions: member_count: 0 members: - &td150 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a06" @@ -2699,7 +2699,7 @@ all_type_descriptions: member_count: 0 members: - &td151 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a07" @@ -2716,7 +2716,7 @@ all_type_descriptions: member_count: 0 members: - &td152 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a08" @@ -2733,7 +2733,7 @@ all_type_descriptions: member_count: 0 members: - &td153 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "a09" @@ -2750,7 +2750,7 @@ all_type_descriptions: member_count: 0 members: - &td154 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c00" @@ -2767,7 +2767,7 @@ all_type_descriptions: member_count: 0 members: - &td155 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c01" @@ -2784,7 +2784,7 @@ all_type_descriptions: member_count: 0 members: - &td156 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c02" @@ -2801,7 +2801,7 @@ all_type_descriptions: member_count: 0 members: - &td157 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c03" @@ -2818,7 +2818,7 @@ all_type_descriptions: member_count: 0 members: - &td158 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c04" @@ -2835,7 +2835,7 @@ all_type_descriptions: member_count: 0 members: - &td159 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d00" @@ -2852,7 +2852,7 @@ all_type_descriptions: member_count: 0 members: - &td160 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d01" @@ -2869,7 +2869,7 @@ all_type_descriptions: member_count: 0 members: - &td161 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d02" @@ -2886,7 +2886,7 @@ all_type_descriptions: member_count: 0 members: - &td162 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d03" @@ -2903,7 +2903,7 @@ all_type_descriptions: member_count: 0 members: - &td163 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d04" @@ -2920,7 +2920,7 @@ all_type_descriptions: member_count: 0 members: - &td164 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d05" @@ -2937,7 +2937,7 @@ all_type_descriptions: member_count: 0 members: - &td165 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d06" @@ -2954,7 +2954,7 @@ all_type_descriptions: member_count: 0 members: - &td166 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d07" @@ -2971,7 +2971,7 @@ all_type_descriptions: member_count: 0 members: - &td167 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d08" @@ -2988,7 +2988,7 @@ all_type_descriptions: member_count: 0 members: - &td168 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d09" @@ -3005,7 +3005,7 @@ all_type_descriptions: member_count: 0 members: - &td169 - id: 4 + id: 17 op: 30 type_name: "Nested5" struct_member_name: "nested5_00" @@ -3032,7 +3032,7 @@ all_type_descriptions: - *td167 - *td168 - &td170 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c05" @@ -3049,7 +3049,7 @@ all_type_descriptions: member_count: 0 members: - &td171 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c06" @@ -3066,7 +3066,7 @@ all_type_descriptions: member_count: 0 members: - &td172 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c07" @@ -3083,7 +3083,7 @@ all_type_descriptions: member_count: 0 members: - &td173 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c08" @@ -3100,7 +3100,7 @@ all_type_descriptions: member_count: 0 members: - &td174 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "c09" @@ -3117,7 +3117,7 @@ all_type_descriptions: member_count: 0 members: - &td175 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d00" @@ -3134,7 +3134,7 @@ all_type_descriptions: member_count: 0 members: - &td176 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d01" @@ -3151,7 +3151,7 @@ all_type_descriptions: member_count: 0 members: - &td177 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d02" @@ -3168,7 +3168,7 @@ all_type_descriptions: member_count: 0 members: - &td178 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d03" @@ -3185,7 +3185,7 @@ all_type_descriptions: member_count: 0 members: - &td179 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d04" @@ -3202,7 +3202,7 @@ all_type_descriptions: member_count: 0 members: - &td180 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d05" @@ -3219,7 +3219,7 @@ all_type_descriptions: member_count: 0 members: - &td181 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d06" @@ -3236,7 +3236,7 @@ all_type_descriptions: member_count: 0 members: - &td182 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d07" @@ -3253,7 +3253,7 @@ all_type_descriptions: member_count: 0 members: - &td183 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d08" @@ -3270,7 +3270,7 @@ all_type_descriptions: member_count: 0 members: - &td184 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "d09" @@ -3287,7 +3287,7 @@ all_type_descriptions: member_count: 0 members: - &td185 - id: 4 + id: 17 op: 30 type_name: "Nested5" struct_member_name: "nested5_01" @@ -3314,7 +3314,7 @@ all_type_descriptions: - *td183 - *td184 - &td186 - id: 5 + id: 16 op: 30 type_name: "Nested4" struct_member_name: "nested4_00" @@ -3343,7 +3343,7 @@ all_type_descriptions: - *td174 - *td185 - &td187 - id: 7 + id: 14 op: 30 type_name: "Nested2" struct_member_name: "nested2_01" @@ -3372,7 +3372,7 @@ all_type_descriptions: - *td153 - *td186 - &td188 - id: 8 + id: 13 op: 30 type_name: "Nested1" struct_member_name: "nested1" @@ -3401,7 +3401,7 @@ all_type_descriptions: - *td99 - *td187 - &td189 - id: 12 + id: 8 op: 22 type_name: struct_member_name: "Time" @@ -3418,7 +3418,7 @@ all_type_descriptions: member_count: 0 members: - &td190 - id: 9 + id: 11 op: 30 type_name: "type.ConstantBuffer.Constants" struct_member_name: @@ -3439,7 +3439,7 @@ all_type_descriptions: - *td188 - *td189 - &td191 - id: 17 + id: 19 op: 23 type_name: struct_member_name: @@ -3455,95 +3455,6 @@ all_type_descriptions: array: { dims_count: 0, dims: [], stride: 0 } member_count: 0 members: - - &td192 - id: 17 - op: 23 - type_name: - struct_member_name: - 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: - - &td193 - id: 12 - op: 22 - 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: - - &td194 - id: 20 - op: 28 - type_name: - struct_member_name: - 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: - - &td195 - id: 20 - op: 28 - type_name: - struct_member_name: - 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: - - &td196 - id: 11 - op: 30 - type_name: "type.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: - - *td192 - - *td193 - - *td194 - - *td195 all_block_variables: - &bv0 name: "var00" @@ -3557,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 @@ -3572,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 @@ -3587,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 @@ -3602,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 @@ -3617,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 @@ -3632,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 @@ -3647,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 @@ -3662,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 @@ -3677,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 @@ -3692,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 @@ -3707,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 @@ -3722,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 @@ -3737,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 @@ -3752,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 @@ -3767,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 @@ -3782,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 @@ -3797,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 @@ -3812,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 @@ -3827,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 @@ -3842,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 @@ -3857,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 @@ -3872,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 @@ -3887,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 @@ -3902,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 @@ -3917,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 @@ -3932,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 @@ -3947,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 @@ -3954,14 +3892,15 @@ all_block_variables: name: "nested5_00" offset: 32 absolute_offset: 96 - size: 48 - padded_size: 48 + size: 40 + padded_size: 40 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 } + flags: 0x00000001 # UNUSED member_count: 10 members: - *bv17 @@ -3977,8 +3916,8 @@ all_block_variables: type_description: *td27 - &bv28 name: "c05" - offset: 80 - absolute_offset: 144 + offset: 72 + absolute_offset: 136 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -3987,13 +3926,14 @@ all_block_variables: vector: { 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 - &bv29 name: "c06" - offset: 84 - absolute_offset: 148 + offset: 76 + absolute_offset: 140 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4002,13 +3942,14 @@ all_block_variables: vector: { 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 - &bv30 name: "c07" - offset: 88 - absolute_offset: 152 + offset: 80 + absolute_offset: 144 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4017,13 +3958,14 @@ all_block_variables: vector: { 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 - &bv31 name: "c08" - offset: 92 - absolute_offset: 156 + offset: 84 + absolute_offset: 148 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4032,28 +3974,30 @@ all_block_variables: vector: { 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 - &bv32 name: "c09" - offset: 96 - absolute_offset: 160 + offset: 88 + absolute_offset: 152 size: 4 - padded_size: 16 + padded_size: 8 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 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td32 - &bv33 name: "d00" offset: 0 - absolute_offset: 176 + absolute_offset: 160 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4062,13 +4006,14 @@ all_block_variables: vector: { 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 - &bv34 name: "d01" offset: 4 - absolute_offset: 180 + absolute_offset: 164 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4077,13 +4022,14 @@ all_block_variables: vector: { 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 - &bv35 name: "d02" offset: 8 - absolute_offset: 184 + absolute_offset: 168 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4092,13 +4038,14 @@ all_block_variables: vector: { 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 - &bv36 name: "d03" offset: 12 - absolute_offset: 188 + absolute_offset: 172 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4107,13 +4054,14 @@ all_block_variables: vector: { 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 - &bv37 name: "d04" offset: 16 - absolute_offset: 192 + absolute_offset: 176 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4122,13 +4070,14 @@ all_block_variables: vector: { 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 - &bv38 name: "d05" offset: 20 - absolute_offset: 196 + absolute_offset: 180 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4137,13 +4086,14 @@ all_block_variables: vector: { 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 - &bv39 name: "d06" offset: 24 - absolute_offset: 200 + absolute_offset: 184 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4152,13 +4102,14 @@ all_block_variables: vector: { 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 - &bv40 name: "d07" offset: 28 - absolute_offset: 204 + absolute_offset: 188 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4167,13 +4118,14 @@ all_block_variables: vector: { 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 - &bv41 name: "d08" offset: 32 - absolute_offset: 208 + absolute_offset: 192 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4182,13 +4134,14 @@ all_block_variables: vector: { 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 - &bv42 name: "d09" offset: 36 - absolute_offset: 212 + absolute_offset: 196 size: 4 padded_size: 12 decorations: 0x00000000 # NONE @@ -4197,13 +4150,14 @@ all_block_variables: vector: { 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 - &bv43 name: "nested5_01" - offset: 112 - absolute_offset: 176 + offset: 96 + absolute_offset: 160 size: 48 padded_size: 48 decorations: 0x00000000 # NONE @@ -4212,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 @@ -4229,14 +4184,15 @@ all_block_variables: name: "nested4_00" offset: 48 absolute_offset: 64 - size: 160 - padded_size: 160 + size: 144 + padded_size: 144 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 } + flags: 0x00000001 # UNUSED member_count: 12 members: - *bv12 @@ -4256,14 +4212,15 @@ all_block_variables: name: "nested3_00" offset: 0 absolute_offset: 16 - size: 208 - padded_size: 208 + size: 184 + padded_size: 184 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 } + flags: 0x00000001 # UNUSED member_count: 11 members: - *bv2 @@ -4280,8 +4237,8 @@ all_block_variables: type_description: *td45 - &bv46 name: "a00" - offset: 208 - absolute_offset: 224 + offset: 184 + absolute_offset: 200 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4290,13 +4247,14 @@ all_block_variables: vector: { 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 - &bv47 name: "a01" - offset: 212 - absolute_offset: 228 + offset: 188 + absolute_offset: 204 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4305,13 +4263,14 @@ all_block_variables: vector: { 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 - &bv48 name: "a02" - offset: 216 - absolute_offset: 232 + offset: 192 + absolute_offset: 208 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4320,13 +4279,14 @@ all_block_variables: vector: { 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 - &bv49 name: "a03" - offset: 220 - absolute_offset: 236 + offset: 196 + absolute_offset: 212 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4335,13 +4295,14 @@ all_block_variables: vector: { 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 - &bv50 name: "a04" - offset: 224 - absolute_offset: 240 + offset: 200 + absolute_offset: 216 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4350,13 +4311,14 @@ all_block_variables: vector: { 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 - &bv51 name: "a05" - offset: 228 - absolute_offset: 244 + offset: 204 + absolute_offset: 220 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4365,13 +4327,14 @@ all_block_variables: vector: { 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 - &bv52 name: "a06" - offset: 232 - absolute_offset: 248 + offset: 208 + absolute_offset: 224 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4380,13 +4343,14 @@ all_block_variables: vector: { 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 - &bv53 name: "a07" - offset: 236 - absolute_offset: 252 + offset: 212 + absolute_offset: 228 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4395,13 +4359,14 @@ all_block_variables: vector: { 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 - &bv54 name: "a08" - offset: 240 - absolute_offset: 256 + offset: 216 + absolute_offset: 232 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4410,28 +4375,30 @@ all_block_variables: vector: { 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 - &bv55 name: "a09" - offset: 244 - absolute_offset: 260 + offset: 220 + absolute_offset: 236 size: 4 - padded_size: 12 + 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 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td55 - &bv56 name: "c00" offset: 0 - absolute_offset: 272 + absolute_offset: 240 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4440,13 +4407,14 @@ all_block_variables: vector: { 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 - &bv57 name: "c01" offset: 4 - absolute_offset: 276 + absolute_offset: 244 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4455,13 +4423,14 @@ all_block_variables: vector: { 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 - &bv58 name: "c02" offset: 8 - absolute_offset: 280 + absolute_offset: 248 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4470,13 +4439,14 @@ all_block_variables: vector: { 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 - &bv59 name: "c03" offset: 12 - absolute_offset: 284 + absolute_offset: 252 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4485,13 +4455,14 @@ all_block_variables: vector: { 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 - &bv60 name: "c04" offset: 16 - absolute_offset: 288 + absolute_offset: 256 size: 4 padded_size: 16 decorations: 0x00000000 # NONE @@ -4500,13 +4471,14 @@ all_block_variables: vector: { 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 - &bv61 name: "d00" offset: 0 - absolute_offset: 304 + absolute_offset: 272 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4515,13 +4487,14 @@ all_block_variables: vector: { 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 - &bv62 name: "d01" offset: 4 - absolute_offset: 308 + absolute_offset: 276 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4530,13 +4503,14 @@ all_block_variables: vector: { 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 - &bv63 name: "d02" offset: 8 - absolute_offset: 312 + absolute_offset: 280 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4545,13 +4519,14 @@ all_block_variables: vector: { 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 - &bv64 name: "d03" offset: 12 - absolute_offset: 316 + absolute_offset: 284 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4560,13 +4535,14 @@ all_block_variables: vector: { 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 - &bv65 name: "d04" offset: 16 - absolute_offset: 320 + absolute_offset: 288 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4575,13 +4551,14 @@ all_block_variables: vector: { 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 - &bv66 name: "d05" offset: 20 - absolute_offset: 324 + absolute_offset: 292 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4590,13 +4567,14 @@ all_block_variables: vector: { 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 - &bv67 name: "d06" offset: 24 - absolute_offset: 328 + absolute_offset: 296 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4605,13 +4583,14 @@ all_block_variables: vector: { 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 - &bv68 name: "d07" offset: 28 - absolute_offset: 332 + absolute_offset: 300 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4620,13 +4599,14 @@ all_block_variables: vector: { 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 - &bv69 name: "d08" offset: 32 - absolute_offset: 336 + absolute_offset: 304 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4635,13 +4615,14 @@ all_block_variables: vector: { 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 - &bv70 name: "d09" offset: 36 - absolute_offset: 340 + absolute_offset: 308 size: 4 padded_size: 12 decorations: 0x00000000 # NONE @@ -4650,21 +4631,23 @@ all_block_variables: vector: { 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 - &bv71 name: "nested5_00" offset: 32 - absolute_offset: 304 - size: 48 - padded_size: 48 + absolute_offset: 272 + size: 40 + padded_size: 40 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 } + flags: 0x00000001 # UNUSED member_count: 10 members: - *bv61 @@ -4680,8 +4663,8 @@ all_block_variables: type_description: *td71 - &bv72 name: "c05" - offset: 80 - absolute_offset: 352 + offset: 72 + absolute_offset: 312 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4690,13 +4673,14 @@ all_block_variables: vector: { 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 - &bv73 name: "c06" - offset: 84 - absolute_offset: 356 + offset: 76 + absolute_offset: 316 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4705,13 +4689,14 @@ all_block_variables: vector: { 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 - &bv74 name: "c07" - offset: 88 - absolute_offset: 360 + offset: 80 + absolute_offset: 320 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4720,13 +4705,14 @@ all_block_variables: vector: { 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 - &bv75 name: "c08" - offset: 92 - absolute_offset: 364 + offset: 84 + absolute_offset: 324 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4735,28 +4721,30 @@ all_block_variables: vector: { 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 - &bv76 name: "c09" - offset: 96 - absolute_offset: 368 + offset: 88 + absolute_offset: 328 size: 4 - padded_size: 16 + padded_size: 8 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 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td76 - &bv77 name: "d00" offset: 0 - absolute_offset: 384 + absolute_offset: 336 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4765,13 +4753,14 @@ all_block_variables: vector: { 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 - &bv78 name: "d01" offset: 4 - absolute_offset: 388 + absolute_offset: 340 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4780,13 +4769,14 @@ all_block_variables: vector: { 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 - &bv79 name: "d02" offset: 8 - absolute_offset: 392 + absolute_offset: 344 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4795,13 +4785,14 @@ all_block_variables: vector: { 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 - &bv80 name: "d03" offset: 12 - absolute_offset: 396 + absolute_offset: 348 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4810,13 +4801,14 @@ all_block_variables: vector: { 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 - &bv81 name: "d04" offset: 16 - absolute_offset: 400 + absolute_offset: 352 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4825,13 +4817,14 @@ all_block_variables: vector: { 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 - &bv82 name: "d05" offset: 20 - absolute_offset: 404 + absolute_offset: 356 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4840,13 +4833,14 @@ all_block_variables: vector: { 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 - &bv83 name: "d06" offset: 24 - absolute_offset: 408 + absolute_offset: 360 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4855,13 +4849,14 @@ all_block_variables: vector: { 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 - &bv84 name: "d07" offset: 28 - absolute_offset: 412 + absolute_offset: 364 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4870,13 +4865,14 @@ all_block_variables: vector: { 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 - &bv85 name: "d08" offset: 32 - absolute_offset: 416 + absolute_offset: 368 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4885,13 +4881,14 @@ all_block_variables: vector: { 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 - &bv86 name: "d09" offset: 36 - absolute_offset: 420 + absolute_offset: 372 size: 4 padded_size: 12 decorations: 0x00000000 # NONE @@ -4900,13 +4897,14 @@ all_block_variables: vector: { 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 - &bv87 name: "nested5_01" - offset: 112 - absolute_offset: 384 + offset: 96 + absolute_offset: 336 size: 48 padded_size: 48 decorations: 0x00000000 # NONE @@ -4915,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 @@ -4930,16 +4929,17 @@ all_block_variables: type_description: *td87 - &bv88 name: "nested4_00" - offset: 256 - absolute_offset: 272 - size: 160 - padded_size: 160 + offset: 224 + absolute_offset: 240 + size: 144 + padded_size: 144 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 } + flags: 0x00000001 # UNUSED member_count: 12 members: - *bv56 @@ -4959,14 +4959,15 @@ all_block_variables: name: "nested2_00" offset: 0 absolute_offset: 16 - size: 416 - padded_size: 416 + size: 360 + padded_size: 360 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 } + flags: 0x00000001 # UNUSED member_count: 12 members: - *bv45 @@ -4984,8 +4985,8 @@ all_block_variables: type_description: *td89 - &bv90 name: "word00" - offset: 416 - absolute_offset: 432 + offset: 360 + absolute_offset: 376 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -4994,13 +4995,14 @@ all_block_variables: vector: { 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 - &bv91 name: "word01" - offset: 420 - absolute_offset: 436 + offset: 364 + absolute_offset: 380 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5009,13 +5011,14 @@ all_block_variables: vector: { 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 - &bv92 name: "word02" - offset: 424 - absolute_offset: 440 + offset: 368 + absolute_offset: 384 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5024,13 +5027,14 @@ all_block_variables: vector: { 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 - &bv93 name: "word03" - offset: 428 - absolute_offset: 444 + offset: 372 + absolute_offset: 388 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5039,13 +5043,14 @@ all_block_variables: vector: { 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 - &bv94 name: "word04" - offset: 432 - absolute_offset: 448 + offset: 376 + absolute_offset: 392 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5054,13 +5059,14 @@ all_block_variables: vector: { 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 - &bv95 name: "word05" - offset: 436 - absolute_offset: 452 + offset: 380 + absolute_offset: 396 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5069,13 +5075,14 @@ all_block_variables: vector: { 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 - &bv96 name: "word06" - offset: 440 - absolute_offset: 456 + offset: 384 + absolute_offset: 400 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5084,13 +5091,14 @@ all_block_variables: vector: { 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 - &bv97 name: "word07" - offset: 444 - absolute_offset: 460 + offset: 388 + absolute_offset: 404 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5099,13 +5107,14 @@ all_block_variables: vector: { 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 - &bv98 name: "word08" - offset: 448 - absolute_offset: 464 + offset: 392 + absolute_offset: 408 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5114,28 +5123,30 @@ all_block_variables: vector: { 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 - &bv99 name: "word09" - offset: 452 - absolute_offset: 468 + offset: 396 + absolute_offset: 412 size: 4 - padded_size: 12 + 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 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td99 - &bv100 name: "b00" offset: 0 - absolute_offset: 480 + absolute_offset: 416 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5144,13 +5155,14 @@ all_block_variables: vector: { 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 - &bv101 name: "b01" offset: 4 - absolute_offset: 484 + absolute_offset: 420 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5159,13 +5171,14 @@ all_block_variables: vector: { 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 - &bv102 name: "b02" offset: 8 - absolute_offset: 488 + absolute_offset: 424 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5174,13 +5187,14 @@ all_block_variables: vector: { 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 - &bv103 name: "b03" offset: 12 - absolute_offset: 492 + absolute_offset: 428 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5189,13 +5203,14 @@ all_block_variables: vector: { 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 - &bv104 name: "b04" offset: 16 - absolute_offset: 496 + absolute_offset: 432 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5204,13 +5219,14 @@ all_block_variables: vector: { 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 - &bv105 name: "b05" offset: 20 - absolute_offset: 500 + absolute_offset: 436 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5219,13 +5235,14 @@ all_block_variables: vector: { 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 - &bv106 name: "b06" offset: 24 - absolute_offset: 504 + absolute_offset: 440 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5234,13 +5251,14 @@ all_block_variables: vector: { 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 - &bv107 name: "b07" offset: 28 - absolute_offset: 508 + absolute_offset: 444 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5249,13 +5267,14 @@ all_block_variables: vector: { 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 - &bv108 name: "b08" offset: 32 - absolute_offset: 512 + absolute_offset: 448 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5264,13 +5283,14 @@ all_block_variables: vector: { 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 - &bv109 name: "b09" offset: 36 - absolute_offset: 516 + absolute_offset: 452 size: 4 padded_size: 12 decorations: 0x00000000 # NONE @@ -5279,13 +5299,14 @@ all_block_variables: vector: { 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 - &bv110 name: "c00" offset: 0 - absolute_offset: 528 + absolute_offset: 464 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5294,13 +5315,14 @@ all_block_variables: vector: { 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 - &bv111 name: "c01" offset: 4 - absolute_offset: 532 + absolute_offset: 468 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5309,13 +5331,14 @@ all_block_variables: vector: { 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 - &bv112 name: "c02" offset: 8 - absolute_offset: 536 + absolute_offset: 472 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5324,13 +5347,14 @@ all_block_variables: vector: { 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 - &bv113 name: "c03" offset: 12 - absolute_offset: 540 + absolute_offset: 476 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5339,13 +5363,14 @@ all_block_variables: vector: { 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 - &bv114 name: "c04" offset: 16 - absolute_offset: 544 + absolute_offset: 480 size: 4 padded_size: 16 decorations: 0x00000000 # NONE @@ -5354,13 +5379,14 @@ all_block_variables: vector: { 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 - &bv115 name: "d00" offset: 0 - absolute_offset: 560 + absolute_offset: 496 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5369,13 +5395,14 @@ all_block_variables: vector: { 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 - &bv116 name: "d01" offset: 4 - absolute_offset: 564 + absolute_offset: 500 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5384,13 +5411,14 @@ all_block_variables: vector: { 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 - &bv117 name: "d02" offset: 8 - absolute_offset: 568 + absolute_offset: 504 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5399,13 +5427,14 @@ all_block_variables: vector: { 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 - &bv118 name: "d03" offset: 12 - absolute_offset: 572 + absolute_offset: 508 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5414,13 +5443,14 @@ all_block_variables: vector: { 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 - &bv119 name: "d04" offset: 16 - absolute_offset: 576 + absolute_offset: 512 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5429,13 +5459,14 @@ all_block_variables: vector: { 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 - &bv120 name: "d05" offset: 20 - absolute_offset: 580 + absolute_offset: 516 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5444,13 +5475,14 @@ all_block_variables: vector: { 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 - &bv121 name: "d06" offset: 24 - absolute_offset: 584 + absolute_offset: 520 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5459,13 +5491,14 @@ all_block_variables: vector: { 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 - &bv122 name: "d07" offset: 28 - absolute_offset: 588 + absolute_offset: 524 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5474,13 +5507,14 @@ all_block_variables: vector: { 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 - &bv123 name: "d08" offset: 32 - absolute_offset: 592 + absolute_offset: 528 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5489,13 +5523,14 @@ all_block_variables: vector: { 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 - &bv124 name: "d09" offset: 36 - absolute_offset: 596 + absolute_offset: 532 size: 4 padded_size: 12 decorations: 0x00000000 # NONE @@ -5504,21 +5539,23 @@ all_block_variables: vector: { 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 - &bv125 name: "nested5_00" offset: 32 - absolute_offset: 560 - size: 48 - padded_size: 48 + absolute_offset: 496 + size: 40 + padded_size: 40 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 } + flags: 0x00000001 # UNUSED member_count: 10 members: - *bv115 @@ -5534,8 +5571,8 @@ all_block_variables: type_description: *td125 - &bv126 name: "c05" - offset: 80 - absolute_offset: 608 + offset: 72 + absolute_offset: 536 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5544,13 +5581,14 @@ all_block_variables: vector: { 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 - &bv127 name: "c06" - offset: 84 - absolute_offset: 612 + offset: 76 + absolute_offset: 540 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5559,13 +5597,14 @@ all_block_variables: vector: { 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 - &bv128 name: "c07" - offset: 88 - absolute_offset: 616 + offset: 80 + absolute_offset: 544 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5574,13 +5613,14 @@ all_block_variables: vector: { 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 - &bv129 name: "c08" - offset: 92 - absolute_offset: 620 + offset: 84 + absolute_offset: 548 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5589,28 +5629,30 @@ all_block_variables: vector: { 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 - &bv130 name: "c09" - offset: 96 - absolute_offset: 624 + offset: 88 + absolute_offset: 552 size: 4 - padded_size: 16 + padded_size: 8 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 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td130 - &bv131 name: "d00" offset: 0 - absolute_offset: 640 + absolute_offset: 560 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5619,13 +5661,14 @@ all_block_variables: vector: { 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 - &bv132 name: "d01" offset: 4 - absolute_offset: 644 + absolute_offset: 564 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5634,13 +5677,14 @@ all_block_variables: vector: { 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 - &bv133 name: "d02" offset: 8 - absolute_offset: 648 + absolute_offset: 568 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5649,13 +5693,14 @@ all_block_variables: vector: { 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 - &bv134 name: "d03" offset: 12 - absolute_offset: 652 + absolute_offset: 572 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5664,13 +5709,14 @@ all_block_variables: vector: { 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 - &bv135 name: "d04" offset: 16 - absolute_offset: 656 + absolute_offset: 576 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5679,13 +5725,14 @@ all_block_variables: vector: { 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 - &bv136 name: "d05" offset: 20 - absolute_offset: 660 + absolute_offset: 580 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5694,13 +5741,14 @@ all_block_variables: vector: { 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 - &bv137 name: "d06" offset: 24 - absolute_offset: 664 + absolute_offset: 584 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5709,13 +5757,14 @@ all_block_variables: vector: { 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 - &bv138 name: "d07" offset: 28 - absolute_offset: 668 + absolute_offset: 588 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5724,13 +5773,14 @@ all_block_variables: vector: { 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 - &bv139 name: "d08" offset: 32 - absolute_offset: 672 + absolute_offset: 592 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5739,13 +5789,14 @@ all_block_variables: vector: { 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 - &bv140 name: "d09" offset: 36 - absolute_offset: 676 + absolute_offset: 596 size: 4 padded_size: 12 decorations: 0x00000000 # NONE @@ -5754,13 +5805,14 @@ all_block_variables: vector: { 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 - &bv141 name: "nested5_01" - offset: 112 - absolute_offset: 640 + offset: 96 + absolute_offset: 560 size: 48 padded_size: 48 decorations: 0x00000000 # NONE @@ -5769,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 @@ -5785,15 +5838,16 @@ all_block_variables: - &bv142 name: "nested4_00" offset: 48 - absolute_offset: 528 - size: 160 - padded_size: 160 + absolute_offset: 464 + size: 144 + padded_size: 144 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 } + flags: 0x00000001 # UNUSED member_count: 12 members: - *bv110 @@ -5812,15 +5866,16 @@ all_block_variables: - &bv143 name: "nested3_00" offset: 0 - absolute_offset: 480 - size: 208 - padded_size: 208 + absolute_offset: 416 + size: 184 + padded_size: 184 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 } + flags: 0x00000001 # UNUSED member_count: 11 members: - *bv100 @@ -5837,8 +5892,8 @@ all_block_variables: type_description: *td143 - &bv144 name: "a00" - offset: 208 - absolute_offset: 688 + offset: 184 + absolute_offset: 600 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5847,13 +5902,14 @@ all_block_variables: vector: { 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 - &bv145 name: "a01" - offset: 212 - absolute_offset: 692 + offset: 188 + absolute_offset: 604 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5862,13 +5918,14 @@ all_block_variables: vector: { 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 - &bv146 name: "a02" - offset: 216 - absolute_offset: 696 + offset: 192 + absolute_offset: 608 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5877,13 +5934,14 @@ all_block_variables: vector: { 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 - &bv147 name: "a03" - offset: 220 - absolute_offset: 700 + offset: 196 + absolute_offset: 612 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5892,13 +5950,14 @@ all_block_variables: vector: { 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 - &bv148 name: "a04" - offset: 224 - absolute_offset: 704 + offset: 200 + absolute_offset: 616 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5907,13 +5966,14 @@ all_block_variables: vector: { 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 - &bv149 name: "a05" - offset: 228 - absolute_offset: 708 + offset: 204 + absolute_offset: 620 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5922,13 +5982,14 @@ all_block_variables: vector: { 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 - &bv150 name: "a06" - offset: 232 - absolute_offset: 712 + offset: 208 + absolute_offset: 624 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5937,13 +5998,14 @@ all_block_variables: vector: { 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 - &bv151 name: "a07" - offset: 236 - absolute_offset: 716 + offset: 212 + absolute_offset: 628 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5952,13 +6014,14 @@ all_block_variables: vector: { 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 - &bv152 name: "a08" - offset: 240 - absolute_offset: 720 + offset: 216 + absolute_offset: 632 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5967,28 +6030,30 @@ all_block_variables: vector: { 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 - &bv153 name: "a09" - offset: 244 - absolute_offset: 724 + offset: 220 + absolute_offset: 636 size: 4 - padded_size: 12 + 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 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td153 - &bv154 name: "c00" offset: 0 - absolute_offset: 736 + absolute_offset: 640 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -5997,13 +6062,14 @@ all_block_variables: vector: { 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 - &bv155 name: "c01" offset: 4 - absolute_offset: 740 + absolute_offset: 644 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6012,13 +6078,14 @@ all_block_variables: vector: { 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 - &bv156 name: "c02" offset: 8 - absolute_offset: 744 + absolute_offset: 648 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6027,13 +6094,14 @@ all_block_variables: vector: { 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 - &bv157 name: "c03" offset: 12 - absolute_offset: 748 + absolute_offset: 652 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6042,13 +6110,14 @@ all_block_variables: vector: { 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 - &bv158 name: "c04" offset: 16 - absolute_offset: 752 + absolute_offset: 656 size: 4 padded_size: 16 decorations: 0x00000000 # NONE @@ -6057,13 +6126,14 @@ all_block_variables: vector: { 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 - &bv159 name: "d00" offset: 0 - absolute_offset: 768 + absolute_offset: 672 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6072,13 +6142,14 @@ all_block_variables: vector: { 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 - &bv160 name: "d01" offset: 4 - absolute_offset: 772 + absolute_offset: 676 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6087,13 +6158,14 @@ all_block_variables: vector: { 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 - &bv161 name: "d02" offset: 8 - absolute_offset: 776 + absolute_offset: 680 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6102,13 +6174,14 @@ all_block_variables: vector: { 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 - &bv162 name: "d03" offset: 12 - absolute_offset: 780 + absolute_offset: 684 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6117,13 +6190,14 @@ all_block_variables: vector: { 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 - &bv163 name: "d04" offset: 16 - absolute_offset: 784 + absolute_offset: 688 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6132,13 +6206,14 @@ all_block_variables: vector: { 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 - &bv164 name: "d05" offset: 20 - absolute_offset: 788 + absolute_offset: 692 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6147,13 +6222,14 @@ all_block_variables: vector: { 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 - &bv165 name: "d06" offset: 24 - absolute_offset: 792 + absolute_offset: 696 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6162,13 +6238,14 @@ all_block_variables: vector: { 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 - &bv166 name: "d07" offset: 28 - absolute_offset: 796 + absolute_offset: 700 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6177,13 +6254,14 @@ all_block_variables: vector: { 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 - &bv167 name: "d08" offset: 32 - absolute_offset: 800 + absolute_offset: 704 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6192,13 +6270,14 @@ all_block_variables: vector: { 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 - &bv168 name: "d09" offset: 36 - absolute_offset: 804 + absolute_offset: 708 size: 4 padded_size: 12 decorations: 0x00000000 # NONE @@ -6207,21 +6286,23 @@ all_block_variables: vector: { 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 - &bv169 name: "nested5_00" offset: 32 - absolute_offset: 768 - size: 48 - padded_size: 48 + absolute_offset: 672 + size: 40 + padded_size: 40 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 } + flags: 0x00000001 # UNUSED member_count: 10 members: - *bv159 @@ -6237,8 +6318,8 @@ all_block_variables: type_description: *td169 - &bv170 name: "c05" - offset: 80 - absolute_offset: 816 + offset: 72 + absolute_offset: 712 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6247,13 +6328,14 @@ all_block_variables: vector: { 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 - &bv171 name: "c06" - offset: 84 - absolute_offset: 820 + offset: 76 + absolute_offset: 716 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6262,13 +6344,14 @@ all_block_variables: vector: { 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 - &bv172 name: "c07" - offset: 88 - absolute_offset: 824 + offset: 80 + absolute_offset: 720 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6277,13 +6360,14 @@ all_block_variables: vector: { 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 - &bv173 name: "c08" - offset: 92 - absolute_offset: 828 + offset: 84 + absolute_offset: 724 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6292,28 +6376,30 @@ all_block_variables: vector: { 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 - &bv174 name: "c09" - offset: 96 - absolute_offset: 832 + offset: 88 + absolute_offset: 728 size: 4 - padded_size: 16 + padded_size: 8 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 } + flags: 0x00000001 # UNUSED member_count: 0 members: type_description: *td174 - &bv175 name: "d00" offset: 0 - absolute_offset: 848 + absolute_offset: 736 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6322,13 +6408,14 @@ all_block_variables: vector: { 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 - &bv176 name: "d01" offset: 4 - absolute_offset: 852 + absolute_offset: 740 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6337,13 +6424,14 @@ all_block_variables: vector: { 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 - &bv177 name: "d02" offset: 8 - absolute_offset: 856 + absolute_offset: 744 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6352,13 +6440,14 @@ all_block_variables: vector: { 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 - &bv178 name: "d03" offset: 12 - absolute_offset: 860 + absolute_offset: 748 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6367,13 +6456,14 @@ all_block_variables: vector: { 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 - &bv179 name: "d04" offset: 16 - absolute_offset: 864 + absolute_offset: 752 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6382,13 +6472,14 @@ all_block_variables: vector: { 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 - &bv180 name: "d05" offset: 20 - absolute_offset: 868 + absolute_offset: 756 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6397,13 +6488,14 @@ all_block_variables: vector: { 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 - &bv181 name: "d06" offset: 24 - absolute_offset: 872 + absolute_offset: 760 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6412,13 +6504,14 @@ all_block_variables: vector: { 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 - &bv182 name: "d07" offset: 28 - absolute_offset: 876 + absolute_offset: 764 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6427,13 +6520,14 @@ all_block_variables: vector: { 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 - &bv183 name: "d08" offset: 32 - absolute_offset: 880 + absolute_offset: 768 size: 4 padded_size: 4 decorations: 0x00000000 # NONE @@ -6442,13 +6536,14 @@ all_block_variables: vector: { 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 - &bv184 name: "d09" offset: 36 - absolute_offset: 884 + absolute_offset: 772 size: 4 padded_size: 12 decorations: 0x00000000 # NONE @@ -6457,13 +6552,14 @@ all_block_variables: vector: { 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 - &bv185 name: "nested5_01" - offset: 112 - absolute_offset: 848 + offset: 96 + absolute_offset: 736 size: 48 padded_size: 48 decorations: 0x00000000 # NONE @@ -6472,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 @@ -6487,16 +6584,17 @@ all_block_variables: type_description: *td185 - &bv186 name: "nested4_00" - offset: 256 - absolute_offset: 736 - size: 160 - padded_size: 160 + offset: 224 + absolute_offset: 640 + size: 144 + padded_size: 144 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 } + flags: 0x00000001 # UNUSED member_count: 12 members: - *bv154 @@ -6514,16 +6612,17 @@ all_block_variables: type_description: *td186 - &bv187 name: "nested2_01" - offset: 464 - absolute_offset: 480 - size: 416 - padded_size: 416 + offset: 400 + absolute_offset: 416 + size: 368 + padded_size: 368 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 } + flags: 0x00000001 # UNUSED member_count: 12 members: - *bv143 @@ -6543,14 +6642,15 @@ all_block_variables: name: "nested1" offset: 16 absolute_offset: 16 - size: 880 - padded_size: 880 + size: 760 + padded_size: 760 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 } + flags: 0x00000001 # UNUSED member_count: 12 members: - *bv89 @@ -6568,16 +6668,17 @@ all_block_variables: type_description: *td188 - &bv189 name: "Time" - offset: 896 - absolute_offset: 896 + offset: 776 + absolute_offset: 776 size: 4 - padded_size: 16 + padded_size: 8 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 } + flags: 0x00000000 # NONE member_count: 0 members: type_description: *td189 @@ -6585,14 +6686,15 @@ all_block_variables: name: "MyConstants" offset: 0 absolute_offset: 0 - size: 912 - padded_size: 912 + size: 784 + padded_size: 784 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 } + flags: 0x00000000 # NONE member_count: 4 members: - *bv0 @@ -6602,7 +6704,7 @@ all_block_variables: type_description: *td190 all_descriptor_bindings: - &db0 - spirv_id: 10 + spirv_id: 5 name: "MyConstants" binding: 0 input_attachment_index: 0 @@ -6616,14 +6718,14 @@ all_descriptor_bindings: uav_counter_id: 4294967295 uav_counter_binding: type_description: *td190 - word_offset: { binding: 692, set: 688 } + word_offset: { binding: 720, set: 716 } all_interface_variables: - &iv0 - spirv_id: 3 + spirv_id: 2 name: "in.var.POSITION" location: 0 storage_class: 1 # Input - semantic: + semantic: "POSITION" decoration_flags: 0x00000000 # NONE built_in: -1 # ??? numeric: @@ -6635,13 +6737,13 @@ all_interface_variables: members: format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT type_description: *td191 - word_offset: { location: 684 } + word_offset: { location: 712 } - &iv1 - spirv_id: 0 + spirv_id: 3 name: - location: 0 - storage_class: 0 # UniformConstant - semantic: + location: 4294967295 + storage_class: 3 # Output + semantic: "SV_Position" decoration_flags: 0x00000010 # BUILT_IN built_in: 0 # Position numeric: @@ -6652,83 +6754,7 @@ all_interface_variables: member_count: 0 members: format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT - type_description: *td192 - 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: *td193 - 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: *td194 - 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: *td195 - word_offset: { location: 0 } - - &iv5 - spirv_id: 2 - name: "gl_PerVertexOut" - 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: *td196 + type_description: *td191 word_offset: { location: 0 } module: generator: 14 # Google spiregg @@ -6752,7 +6778,7 @@ module: - *iv0 # "in.var.POSITION" output_variable_count: 1, output_variables: - - *iv5 # "gl_PerVertexOut" + - *iv1 # push_constant_count: 0, push_constants: ... diff --git a/tests/hlsl/counter_buffers.spv b/tests/hlsl/counter_buffers.spv index 58928510..59d7abb2 100644 Binary files a/tests/hlsl/counter_buffers.spv and b/tests/hlsl/counter_buffers.spv differ diff --git a/tests/hlsl/counter_buffers.spv.yaml b/tests/hlsl/counter_buffers.spv.yaml index 26bfdc30..92d39048 100644 --- a/tests/hlsl/counter_buffers.spv.yaml +++ b/tests/hlsl/counter_buffers.spv.yaml @@ -1,554 +1,566 @@ -%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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000001 # UNUSED + 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 } + flags: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + 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 4d84ae5a..1e3845d1 100644 Binary files a/tests/hlsl/semantics.spv and b/tests/hlsl/semantics.spv differ diff --git a/tests/hlsl/semantics.spv.yaml b/tests/hlsl/semantics.spv.yaml index c41b6d73..4bd0c45d 100644 --- a/tests/hlsl/semantics.spv.yaml +++ b/tests/hlsl/semantics.spv.yaml @@ -1,622 +1,627 @@ -%YAML 1.0 ---- -all_type_descriptions: - - &td0 - id: 4 - op: 24 - type_name: - struct_member_name: "XformMatrix" - storage_class: 0 # UniformConstant - type_flags: 0x00000308 # MATRIX VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 4, row_count: 4, stride: 16 } - 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: 5 - op: 23 - type_name: - struct_member_name: "Scale" - storage_class: 0 # UniformConstant - 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: - - &td2 - id: 2 - op: 22 - type_name: - struct_member_name: "t" - 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: 23 - type_name: - struct_member_name: "uv" - storage_class: 0 # UniformConstant - type_flags: 0x00000108 # VECTOR FLOAT - decoration_flags: 0x00000000 # NONE - traits: - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 2 } - 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: 7 - op: 30 - type_name: "type.ConstantBuffer.UBO" - 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: - - *td0 - - *td1 - - *td2 - - *td3 - - &td5 - 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: - - &td6 - id: 5 - 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: - - &td7 - id: 2 - op: 22 - type_name: - struct_member_name: - storage_class: -1 # NOT APPLICABLE - 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: - - &td8 - id: 6 - 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: 2 } - 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: 39 - 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: 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: -all_block_variables: - - &bv0 - name: "XformMatrix" - offset: 0 - absolute_offset: 0 - size: 64 - padded_size: 64 - decorations: 0x00000004 # ROW_MAJOR - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 4 } - matrix: { column_count: 4, row_count: 4, stride: 16 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td0 - - &bv1 - name: "Scale" - offset: 64 - absolute_offset: 64 - size: 12 - padded_size: 12 - decorations: 0x00000000 # NONE - 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: - type_description: *td1 - - &bv2 - name: "t" - offset: 76 - absolute_offset: 76 - 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: *td2 - - &bv3 - name: "uv" - offset: 80 - absolute_offset: 80 - size: 8 - padded_size: 16 - decorations: 0x00000000 # NONE - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 2 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - type_description: *td3 - - &bv4 - name: "MyConstants" - offset: 0 - absolute_offset: 0 - size: 96 - padded_size: 96 - 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: 4 - members: - - *bv0 - - *bv1 - - *bv2 - - *bv3 - type_description: *td4 -all_descriptor_bindings: - - &db0 - spirv_id: 9 - name: "MyConstants" - binding: 2 - input_attachment_index: 0 - set: 2 - 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: *bv4 # "MyConstants" - array: { dims_count: 0, dims: [] } - accessed: 1 - uav_counter_id: 4294967295 - uav_counter_binding: - type_description: *td4 - word_offset: { binding: 838, set: 834 } -all_interface_variables: - - &iv0 - spirv_id: 19 - 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: *td5 - word_offset: { location: 0 } - - &iv1 - spirv_id: 22 - name: "in.var.NORMAL" - location: 0 - storage_class: 1 # Input - semantic: "NORMAL" - 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: 774 } - - &iv2 - spirv_id: 24 - name: "in.var.COLOR_1" - location: 1 - storage_class: 1 # Input - semantic: "COLOR_00001" - 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: 778 } - - &iv3 - spirv_id: 27 - name: "in.var.OPACITY_512" - location: 2 - storage_class: 1 # Input - semantic: "OPACITY_512" - decoration_flags: 0x00000000 # NONE - built_in: -1 # ??? - 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: *td7 - word_offset: { location: 782 } - - &iv4 - spirv_id: 29 - name: "in.var.SCALE_987654321" - location: 3 - storage_class: 1 # Input - semantic: "SCALE_987654321" - 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: *td5 - word_offset: { location: 786 } - - &iv5 - spirv_id: 32 - name: "in.var.TEXCOORD0" - location: 4 - storage_class: 1 # Input - semantic: "TEXCOORD0" - decoration_flags: 0x00000000 # NONE - built_in: -1 # ??? - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 2 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 103 # VK_FORMAT_R32G32_SFLOAT - type_description: *td8 - word_offset: { location: 790 } - - &iv6 - spirv_id: 34 - name: "in.var.TEXCOORD1" - location: 5 - storage_class: 1 # Input - semantic: "TEXCOORD1" - decoration_flags: 0x00000000 # NONE - built_in: -1 # ??? - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 2 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 103 # VK_FORMAT_R32G32_SFLOAT - type_description: *td8 - word_offset: { location: 794 } - - &iv7 - spirv_id: 36 - name: "in.var.TEXCOORD2" - location: 6 - storage_class: 1 # Input - semantic: "TEXCOORD2" - decoration_flags: 0x00000000 # NONE - built_in: -1 # ??? - numeric: - scalar: { width: 32, signedness: 0 } - vector: { component_count: 2 } - matrix: { column_count: 0, row_count: 0, stride: 0 } - array: { dims_count: 0, dims: [], stride: 0 } - member_count: 0 - members: - format: 103 # VK_FORMAT_R32G32_SFLOAT - type_description: *td8 - word_offset: { location: 798 } - - &iv8 - spirv_id: 43 - name: - location: 4294967295 - storage_class: 1 # Input - semantic: "SV_PRIMITIVEID" - decoration_flags: 0x00000010 # BUILT_IN - built_in: 7 # PrimitiveId - 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: 98 # VK_FORMAT_R32_UINT - type_description: *td9 - word_offset: { location: 0 } - - &iv9 - spirv_id: 49 - 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: *td5 - word_offset: { location: 802 } - - &iv10 - spirv_id: 51 - name: "out.var.SV_TARGET1" - location: 1 - storage_class: 3 # Output - semantic: "SV_TARGET1" - 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: *td5 - word_offset: { location: 806 } - - &iv11 - spirv_id: 53 - name: "out.var.SV_TARGET2" - location: 2 - storage_class: 3 # Output - semantic: "SV_TARGET2" - 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: *td5 - word_offset: { location: 810 } - - &iv12 - spirv_id: 55 - name: "out.var.SV_TARGET3" - location: 3 - storage_class: 3 # Output - semantic: "SV_TARGET3" - 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: *td5 - word_offset: { location: 814 } - - &iv13 - spirv_id: 57 - name: "out.var.SV_TARGET4" - location: 4 - storage_class: 3 # Output - semantic: "SV_TARGET4" - 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: *td5 - word_offset: { location: 818 } - - &iv14 - spirv_id: 59 - name: "out.var.SV_TARGET5" - location: 5 - storage_class: 3 # Output - semantic: "SV_TARGET5" - 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: *td5 - word_offset: { location: 822 } - - &iv15 - spirv_id: 61 - name: "out.var.SV_TARGET6" - location: 6 - storage_class: 3 # Output - semantic: "SV_TARGET6" - 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: *td5 - word_offset: { location: 826 } - - &iv16 - spirv_id: 63 - name: "out.var.SV_TARGET7" - location: 7 - storage_class: 3 # Output - semantic: "SV_TARGET7" - 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: *td5 - word_offset: { location: 830 } -module: - generator: 14 # Google spiregg - entry_point_name: "main" - entry_point_id: 13 - source_language: 5 # HLSL - source_language_version: 600 - spirv_execution_model: 4 # Fragment - shader_stage: 0x00000010 # PS - descriptor_binding_count: 1 - descriptor_bindings: - - *db0 # "MyConstants" - descriptor_set_count: 1 - descriptor_sets: - - set: 2 - binding_count: 1 - bindings: - - *db0 # "MyConstants" - input_variable_count: 9, - input_variables: - - *iv0 # - - *iv1 # "in.var.NORMAL" - - *iv2 # "in.var.COLOR_1" - - *iv3 # "in.var.OPACITY_512" - - *iv4 # "in.var.SCALE_987654321" - - *iv5 # "in.var.TEXCOORD0" - - *iv6 # "in.var.TEXCOORD1" - - *iv7 # "in.var.TEXCOORD2" - - *iv8 # - output_variable_count: 8, - output_variables: - - *iv9 # "out.var.SV_TARGET0" - - *iv10 # "out.var.SV_TARGET1" - - *iv11 # "out.var.SV_TARGET2" - - *iv12 # "out.var.SV_TARGET3" - - *iv13 # "out.var.SV_TARGET4" - - *iv14 # "out.var.SV_TARGET5" - - *iv15 # "out.var.SV_TARGET6" - - *iv16 # "out.var.SV_TARGET7" - push_constant_count: 0, - push_constants: -... +%YAML 1.0 +--- +all_type_descriptions: + - &td0 + id: 35 + op: 24 + type_name: + struct_member_name: "XformMatrix" + storage_class: 0 # UniformConstant + type_flags: 0x00000308 # MATRIX VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 4 } + matrix: { column_count: 4, row_count: 4, stride: 16 } + 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: 37 + op: 23 + type_name: + struct_member_name: "Scale" + storage_class: 0 # UniformConstant + 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: + - &td2 + id: 24 + op: 22 + type_name: + struct_member_name: "t" + 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: 38 + op: 23 + type_name: + struct_member_name: "uv" + storage_class: 0 # UniformConstant + type_flags: 0x00000108 # VECTOR FLOAT + decoration_flags: 0x00000000 # NONE + traits: + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + 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: 34 + op: 30 + type_name: "type.ConstantBuffer.UBO" + 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: + - *td0 + - *td1 + - *td2 + - *td3 + - &td5 + 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: + - &td6 + id: 37 + 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: + - &td7 + id: 24 + op: 22 + type_name: + struct_member_name: + storage_class: -1 # NOT APPLICABLE + 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: + - &td8 + id: 38 + 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: 2 } + 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: 44 + 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: 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: +all_block_variables: + - &bv0 + name: "XformMatrix" + offset: 0 + absolute_offset: 0 + size: 64 + padded_size: 64 + decorations: 0x00000004 # ROW_MAJOR + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv1 + name: "Scale" + offset: 64 + absolute_offset: 64 + size: 12 + padded_size: 12 + decorations: 0x00000000 # NONE + 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 } + flags: 0x00000000 # NONE + member_count: 0 + members: + type_description: *td1 + - &bv2 + name: "t" + offset: 76 + absolute_offset: 76 + 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 } + flags: 0x00000001 # UNUSED + member_count: 0 + members: + type_description: *td2 + - &bv3 + name: "uv" + offset: 80 + absolute_offset: 80 + size: 8 + padded_size: 16 + decorations: 0x00000000 # NONE + numeric: + scalar: { width: 32, signedness: 0 } + 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 + - &bv4 + name: "MyConstants" + offset: 0 + absolute_offset: 0 + size: 96 + padded_size: 96 + 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 } + flags: 0x00000000 # NONE + member_count: 4 + members: + - *bv0 + - *bv1 + - *bv2 + - *bv3 + type_description: *td4 +all_descriptor_bindings: + - &db0 + spirv_id: 20 + name: "MyConstants" + binding: 2 + input_attachment_index: 0 + set: 2 + 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: *bv4 # "MyConstants" + array: { dims_count: 0, dims: [] } + accessed: 1 + uav_counter_id: 4294967295 + uav_counter_binding: + type_description: *td4 + word_offset: { binding: 813, set: 809 } +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: *td5 + word_offset: { location: 0 } + - &iv1 + spirv_id: 3 + name: "in.var.NORMAL" + location: 0 + storage_class: 1 # Input + semantic: "NORMAL" + 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: 749 } + - &iv2 + spirv_id: 4 + name: "in.var.COLOR_1" + location: 1 + storage_class: 1 # Input + semantic: "COLOR_00001" + 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: 753 } + - &iv3 + spirv_id: 5 + name: "in.var.OPACITY_512" + location: 2 + storage_class: 1 # Input + semantic: "OPACITY_512" + decoration_flags: 0x00000000 # NONE + built_in: -1 # ??? + 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: *td7 + word_offset: { location: 757 } + - &iv4 + spirv_id: 6 + name: "in.var.SCALE_987654321" + location: 3 + storage_class: 1 # Input + semantic: "SCALE_987654321" + 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: *td5 + word_offset: { location: 761 } + - &iv5 + spirv_id: 7 + name: "in.var.TEXCOORD0" + location: 4 + storage_class: 1 # Input + semantic: "TEXCOORD0" + decoration_flags: 0x00000000 # NONE + built_in: -1 # ??? + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 103 # VK_FORMAT_R32G32_SFLOAT + type_description: *td8 + word_offset: { location: 765 } + - &iv6 + spirv_id: 8 + name: "in.var.TEXCOORD1" + location: 5 + storage_class: 1 # Input + semantic: "TEXCOORD1" + decoration_flags: 0x00000000 # NONE + built_in: -1 # ??? + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 103 # VK_FORMAT_R32G32_SFLOAT + type_description: *td8 + word_offset: { location: 769 } + - &iv7 + spirv_id: 9 + name: "in.var.TEXCOORD2" + location: 6 + storage_class: 1 # Input + semantic: "TEXCOORD2" + decoration_flags: 0x00000000 # NONE + built_in: -1 # ??? + numeric: + scalar: { width: 32, signedness: 0 } + vector: { component_count: 2 } + matrix: { column_count: 0, row_count: 0, stride: 0 } + array: { dims_count: 0, dims: [], stride: 0 } + member_count: 0 + members: + format: 103 # VK_FORMAT_R32G32_SFLOAT + type_description: *td8 + word_offset: { location: 773 } + - &iv8 + spirv_id: 10 + name: + location: 4294967295 + storage_class: 1 # Input + semantic: "SV_PRIMITIVEID" + decoration_flags: 0x00000010 # BUILT_IN + built_in: 7 # PrimitiveId + 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: 98 # VK_FORMAT_R32_UINT + type_description: *td9 + word_offset: { location: 0 } + - &iv9 + spirv_id: 11 + 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: *td5 + word_offset: { location: 777 } + - &iv10 + spirv_id: 12 + name: "out.var.SV_TARGET1" + location: 1 + storage_class: 3 # Output + semantic: "SV_TARGET1" + 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: *td5 + word_offset: { location: 781 } + - &iv11 + spirv_id: 13 + name: "out.var.SV_TARGET2" + location: 2 + storage_class: 3 # Output + semantic: "SV_TARGET2" + 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: *td5 + word_offset: { location: 785 } + - &iv12 + spirv_id: 14 + name: "out.var.SV_TARGET3" + location: 3 + storage_class: 3 # Output + semantic: "SV_TARGET3" + 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: *td5 + word_offset: { location: 789 } + - &iv13 + spirv_id: 15 + name: "out.var.SV_TARGET4" + location: 4 + storage_class: 3 # Output + semantic: "SV_TARGET4" + 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: *td5 + word_offset: { location: 793 } + - &iv14 + spirv_id: 16 + name: "out.var.SV_TARGET5" + location: 5 + storage_class: 3 # Output + semantic: "SV_TARGET5" + 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: *td5 + word_offset: { location: 797 } + - &iv15 + spirv_id: 17 + name: "out.var.SV_TARGET6" + location: 6 + storage_class: 3 # Output + semantic: "SV_TARGET6" + 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: *td5 + word_offset: { location: 801 } + - &iv16 + spirv_id: 18 + name: "out.var.SV_TARGET7" + location: 7 + storage_class: 3 # Output + semantic: "SV_TARGET7" + 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: *td5 + word_offset: { location: 805 } +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: 1 + descriptor_bindings: + - *db0 # "MyConstants" + descriptor_set_count: 1 + descriptor_sets: + - set: 2 + binding_count: 1 + bindings: + - *db0 # "MyConstants" + input_variable_count: 9, + input_variables: + - *iv0 # + - *iv1 # "in.var.NORMAL" + - *iv2 # "in.var.COLOR_1" + - *iv3 # "in.var.OPACITY_512" + - *iv4 # "in.var.SCALE_987654321" + - *iv5 # "in.var.TEXCOORD0" + - *iv6 # "in.var.TEXCOORD1" + - *iv7 # "in.var.TEXCOORD2" + - *iv8 # + output_variable_count: 8, + output_variables: + - *iv9 # "out.var.SV_TARGET0" + - *iv10 # "out.var.SV_TARGET1" + - *iv11 # "out.var.SV_TARGET2" + - *iv12 # "out.var.SV_TARGET3" + - *iv13 # "out.var.SV_TARGET4" + - *iv14 # "out.var.SV_TARGET5" + - *iv15 # "out.var.SV_TARGET6" + - *iv16 # "out.var.SV_TARGET7" + push_constant_count: 0, + push_constants: +... diff --git a/tests/hlsl/structuredbuffer.spv b/tests/hlsl/structuredbuffer.spv index 8dffea7e..49990d89 100644 Binary files a/tests/hlsl/structuredbuffer.spv and b/tests/hlsl/structuredbuffer.spv differ diff --git a/tests/hlsl/structuredbuffer.spv.yaml b/tests/hlsl/structuredbuffer.spv.yaml index 70e94403..7bc1e069 100644 --- a/tests/hlsl/structuredbuffer.spv.yaml +++ b/tests/hlsl/structuredbuffer.spv.yaml @@ -2,7 +2,7 @@ --- all_type_descriptions: - &td0 - id: 14 + id: 15 op: 23 type_name: struct_member_name: "Position" @@ -19,7 +19,7 @@ all_type_descriptions: member_count: 0 members: - &td1 - id: 13 + id: 9 op: 22 type_name: struct_member_name: "x" @@ -36,7 +36,7 @@ all_type_descriptions: member_count: 0 members: - &td2 - id: 13 + id: 9 op: 22 type_name: struct_member_name: "y" @@ -53,7 +53,7 @@ all_type_descriptions: member_count: 0 members: - &td3 - id: 13 + id: 9 op: 22 type_name: struct_member_name: "z" @@ -70,7 +70,7 @@ all_type_descriptions: member_count: 0 members: - &td4 - id: 3 + id: 16 op: 30 type_name: "SepNormal" struct_member_name: "Normal" @@ -90,7 +90,7 @@ all_type_descriptions: - *td2 - *td3 - &td5 - id: 9 + id: 20 op: 28 type_name: struct_member_name: "r" @@ -107,7 +107,7 @@ all_type_descriptions: member_count: 0 members: - &td6 - id: 9 + id: 20 op: 28 type_name: struct_member_name: "g" @@ -124,7 +124,7 @@ all_type_descriptions: member_count: 0 members: - &td7 - id: 9 + id: 20 op: 28 type_name: struct_member_name: "b" @@ -141,7 +141,7 @@ all_type_descriptions: member_count: 0 members: - &td8 - id: 10 + id: 17 op: 28 type_name: "Rgb" struct_member_name: "Colors" @@ -161,7 +161,7 @@ all_type_descriptions: - *td6 - *td7 - &td9 - id: 13 + id: 9 op: 22 type_name: struct_member_name: "u" @@ -178,7 +178,7 @@ all_type_descriptions: member_count: 0 members: - &td10 - id: 13 + id: 9 op: 22 type_name: struct_member_name: "v" @@ -195,7 +195,7 @@ all_type_descriptions: member_count: 0 members: - &td11 - id: 5 + id: 22 op: 30 type_name: "Uv" struct_member_name: "TexCoords" @@ -214,7 +214,7 @@ all_type_descriptions: - *td9 - *td10 - &td12 - id: 11 + id: 23 op: 28 type_name: struct_member_name: "Scales" @@ -231,7 +231,7 @@ all_type_descriptions: member_count: 0 members: - &td13 - id: 15 + id: 7 op: 21 type_name: struct_member_name: "Id" @@ -248,7 +248,7 @@ all_type_descriptions: member_count: 0 members: - &td14 - id: 12 + id: 13 op: 29 type_name: "Data" struct_member_name: @@ -271,7 +271,7 @@ all_type_descriptions: - *td12 - *td13 - &td15 - id: 7 + id: 12 op: 30 type_name: "type.StructuredBuffer.Data" struct_member_name: @@ -289,7 +289,7 @@ all_type_descriptions: members: - *td14 - &td16 - id: 14 + id: 15 op: 23 type_name: struct_member_name: "Position" @@ -306,7 +306,7 @@ all_type_descriptions: member_count: 0 members: - &td17 - id: 13 + id: 9 op: 22 type_name: struct_member_name: "x" @@ -323,7 +323,7 @@ all_type_descriptions: member_count: 0 members: - &td18 - id: 13 + id: 9 op: 22 type_name: struct_member_name: "y" @@ -340,7 +340,7 @@ all_type_descriptions: member_count: 0 members: - &td19 - id: 13 + id: 9 op: 22 type_name: struct_member_name: "z" @@ -357,7 +357,7 @@ all_type_descriptions: member_count: 0 members: - &td20 - id: 3 + id: 16 op: 30 type_name: "SepNormal" struct_member_name: "Normal" @@ -377,7 +377,7 @@ all_type_descriptions: - *td18 - *td19 - &td21 - id: 9 + id: 20 op: 28 type_name: struct_member_name: "r" @@ -394,7 +394,7 @@ all_type_descriptions: member_count: 0 members: - &td22 - id: 9 + id: 20 op: 28 type_name: struct_member_name: "g" @@ -411,7 +411,7 @@ all_type_descriptions: member_count: 0 members: - &td23 - id: 9 + id: 20 op: 28 type_name: struct_member_name: "b" @@ -428,7 +428,7 @@ all_type_descriptions: member_count: 0 members: - &td24 - id: 10 + id: 17 op: 28 type_name: "Rgb" struct_member_name: "Colors" @@ -448,7 +448,7 @@ all_type_descriptions: - *td22 - *td23 - &td25 - id: 13 + id: 9 op: 22 type_name: struct_member_name: "u" @@ -465,7 +465,7 @@ all_type_descriptions: member_count: 0 members: - &td26 - id: 13 + id: 9 op: 22 type_name: struct_member_name: "v" @@ -482,7 +482,7 @@ all_type_descriptions: member_count: 0 members: - &td27 - id: 5 + id: 22 op: 30 type_name: "Uv" struct_member_name: "TexCoords" @@ -501,7 +501,7 @@ all_type_descriptions: - *td25 - *td26 - &td28 - id: 11 + id: 23 op: 28 type_name: struct_member_name: "Scales" @@ -518,7 +518,7 @@ all_type_descriptions: member_count: 0 members: - &td29 - id: 15 + id: 7 op: 21 type_name: struct_member_name: "Id" @@ -535,7 +535,7 @@ all_type_descriptions: member_count: 0 members: - &td30 - id: 21 + id: 25 op: 23 type_name: struct_member_name: @@ -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,13 +818,14 @@ 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 type_description: *td15 all_descriptor_bindings: - &db0 - spirv_id: 8 + spirv_id: 4 name: "MyData" binding: 0 input_attachment_index: 0 @@ -823,14 +839,14 @@ all_descriptor_bindings: uav_counter_id: 4294967295 uav_counter_binding: type_description: *td15 - word_offset: { binding: 233, set: 229 } + word_offset: { binding: 285, set: 281 } all_interface_variables: - &iv0 spirv_id: 2 name: "out.var.SV_Target" location: 0 storage_class: 3 # Output - semantic: + semantic: "SV_Target" decoration_flags: 0x00000000 # NONE built_in: -1 # ??? numeric: @@ -842,7 +858,7 @@ all_interface_variables: members: format: 109 # VK_FORMAT_R32G32B32A32_SFLOAT type_description: *td30 - word_offset: { location: 225 } + word_offset: { location: 277 } module: generator: 14 # Google spiregg entry_point_name: "main" 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 diff --git a/tests/test-spirv-reflect.cpp b/tests/test-spirv-reflect.cpp index da6b5b84..8a1ff9db 100644 --- a/tests/test-spirv-reflect.cpp +++ b/tests/test-spirv-reflect.cpp @@ -761,12 +761,18 @@ const std::vector 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", + "../tests/cbuffer_unused/cbuffer_unused_001.spv", // clang-format on }; } // namespace