lib_no_alloca.hlsl 156 B

12345678910
  1. // Make sure no alloca for linked dxil module.
  2. float2 test(float2 a);
  3. [shader("pixel")]
  4. float4 ps_main(float2 a : A) : SV_TARGET
  5. {
  6. return test(a).y;
  7. }