semantic.arbitrary.hlsl 622 B

1234567891011121314151617
  1. // Run: %dxc -T vs_6_0 -E main
  2. // CHECK: OpEntryPoint Vertex %main "main" %in_var_AAA %in_var_B %in_var_CC %out_var_DDDD
  3. // CHECK: OpDecorate %in_var_AAA Location 0
  4. // CHECK: OpDecorate %in_var_B Location 1
  5. // CHECK: OpDecorate %in_var_CC Location 2
  6. // CHECK: OpDecorate %out_var_DDDD Location 0
  7. // CHECK: %in_var_AAA = OpVariable %_ptr_Input_v4float Input
  8. // CHECK: %in_var_B = OpVariable %_ptr_Input_int Input
  9. // CHECK: %in_var_CC = OpVariable %_ptr_Input_mat2v3float Input
  10. // CHECK: %out_var_DDDD = OpVariable %_ptr_Output_float Output
  11. float main(float4 a: AAA, int b: B, float2x3 c: CC) : DDDD {
  12. return 1.0;
  13. }