123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- /*
- Cmdargs: ['--no-alignment-validation']
- */
- "struct A"
- "{"
- "struct D"
- "{"
- "int m_i0 ;"
- "float3x3 m_mat1 ;"
- "float3x3 m_mat2 ;"
- "float m_f3 ;"
- "} ;"
- ":: A :: D m_d4 ;"
- "float m_f5 ;"
- "float3x3 m_mat6 ;"
- "} ;"
- "class B"
- "{"
- ":: A m_a7 ;"
- "int m_f8 ;"
- "struct E"
- "{"
- "float m_f9 ;"
- "float3x3 m_mat10 ;"
- "} ;"
- ":: B :: E m_e11 ;"
- "bool IsFalse ( )"
- "{"
- "float3x3 someMatrix ;"
- "return m_mat12 != someMatrix ;"
- "}"
- "float3x3 m_mat12 ;"
- "} ;"
- "struct C"
- "{"
- ":: B m_b13 ;"
- "bool m_f14 ;"
- "struct F"
- "{"
- "float m_f15 ;"
- "struct G"
- "{"
- "float m_f16 ;"
- "float3x3 m_mat17 ;"
- "} ;"
- ":: C :: F :: G m_sg18 ;"
- "float m_f19 ;"
- "} ;"
- ":: C :: F m_sf20 ;"
- "float3x3 m_mat21 ;"
- "} ;"
- "/* Generated code from"
- "ShaderResourceGroup SRG1"
- "*/"
- "struct SRG1_SRGConstantsStruct"
- "{"
- "float3x3 SRG1_m_srg_mat22 ;"
- ":: C SRG1_m_c23 ;"
- "uint SRG1_m_u24 ;"
- "float3x3 SRG1_m_srg_mat25 ;"
- "int SRG1_m_i26 ;"
- "} ;"
- "ConstantBuffer < :: SRG1_SRGConstantsStruct > SRG1_SRGConstantBuffer : register ( b0 , space0 ) ;"
- "float4 MainPS ( float2 uv : TEXCOORD0 ) : SV_Target0"
- "{"
- "float3x3 anotherMatrix ;"
- "float4 diffuse = float4 ( :: SRG1_SRGConstantBuffer . SRG1_m_i26 , 0 , 0 , 0 ) ;"
- "return diffuse ;"
- "}"
|