third_party/spirv-cross/reference/opt/shaders-hlsl/asm/frag/cbuffer-stripped.asm.frag
raw| 1 | cbuffer _4_5 : register(b0) |
| 2 | { |
| 3 | column_major float2x4 _5_m0 : packoffset(c0); |
| 4 | float4 _5_m1 : packoffset(c4); |
| 5 | }; |
| 6 | |
| 7 | |
| 8 | static float2 _3; |
| 9 | |
| 10 | struct SPIRV_Cross_Output |
| 11 | { |
| 12 | float2 _3 : SV_Target0; |
| 13 | }; |
| 14 | |
| 15 | void frag_main() |
| 16 | { |
| 17 | _3 = mul(_5_m0, _5_m1); |
| 18 | } |
| 19 | |
| 20 | SPIRV_Cross_Output main() |
| 21 | { |
| 22 | frag_main(); |
| 23 | SPIRV_Cross_Output stage_output; |
| 24 | stage_output._3 = _3; |
| 25 | return stage_output; |
| 26 | } |