interpOnInt2.hlsl 318 B

123456789
  1. // RUN: %dxc -E main -T ps_6_0 -fcgl %s | FileCheck %s
  2. // CHECK: main
  3. // After lowering, these would turn into multiple abs calls rather than a 4 x float
  4. // CHECK: call <4 x float> @"dx.hl.op..<4 x float> (i32, <4 x float>)"(i32 62,
  5. float4 main(float4 a : A, uint4 b : A1) : SV_TARGET {
  6. return abs(a*b.yxxx);
  7. }