Skip to content

Commit 2835e80

Browse files
authored
Add missing REQUIRES: dxil-1-9 to tests (#6534)
These mesh nodes tests were missing REQUIRES: dxil-1-9 to prevent them from running on down-level validator test pass. This change fixes that and should unblock the internal build.
1 parent b315ab2 commit 2835e80

5 files changed

Lines changed: 10 additions & 0 deletions

File tree

tools/clang/test/CodeGenDXIL/hlsl/shaders/node/mesh-node-incorrect-input-record-type-validation.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
; RUN: not %dxv %s | FileCheck %s
22

3+
; REQUIRES: dxil-1-9
4+
35
; This test was taken from tools\clang\test\CodeGenDXIL\hlsl\shaders\node\mesh-node-no-invalid-input-record.hlsl
46
; and compiled with Tlib_6_9, after disabling the diagnostic that was emitted
57
; for incompatible input types.

tools/clang/test/CodeGenDXIL/hlsl/shaders/node/mesh-node-no-invalid-input-record.hlsl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %dxc -Tlib_6_9 %s -verify
22

3+
// REQUIRES: dxil-1-9
4+
35
// Make sure invalid input records aren't allowed for mesh node shaders
46
// or RWDispatchNodeInputRecord
57

tools/clang/test/CodeGenDXIL/hlsl/shaders/node/mesh-node-no-outputs.hlsl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %dxc -Tlib_6_9 %s -verify
22

3+
// REQUIRES: dxil-1-9
4+
35
// Make sure output nodes aren't allowed in mesh node shaders
46

57
struct MY_INPUT_RECORD

tools/clang/test/CodeGenDXIL/hlsl/shaders/node/mesh-node-no-outputs.ll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
; RUN: not %dxv %s | FileCheck %s
22

3+
; REQUIRES: dxil-1-9
4+
35
; This test was taken from tools\clang\test\CodeGenDXIL\hlsl\shaders\node\mesh-node-no-outputs.hlsl
46
; and compiled with Tlib_6_9, after changing the node launch type from mesh to broadcasting.
57
; The launch type has been manually written to be mesh below.

tools/clang/test/CodeGenDXIL/hlsl/shaders/node/mesh-node-rwdispatch-allowed.hlsl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// RUN: %dxc -Tlib_6_9 %s -verify
22

3+
// REQUIRES: dxil-1-9
4+
35
// Make sure RWDispatchNodeInputRecord input records are allowed for mesh node shaders
46

57
// expected-no-diagnostics

0 commit comments

Comments
 (0)