forceEarlyZ.hlsl 305 B

123456789
  1. // RUN: %dxc -Emain -Tps_6_0 %s | %opt -S -hlsl-dxil-force-early-z | %FileCheck %s
  2. // Just check that the an appropriately-formed line (which contains global flags) has the "8" meaning force-early-z:
  3. // CHECK: !{i32 0, i64 8}
  4. [RootSignature("")]
  5. float4 main() : SV_Target {
  6. return float4(0,0,0,0);
  7. }