You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add errors for prohibited features in mesh nodes, add validation for allowed features (#6517)
Tests need to be added to mesh nodes preview to ensure that the features
we would expect to disallow for broadcast node shaders are also
disallowed for mesh nodes.
Fixes#6479
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tex Riddell <[email protected]>
Copy file name to clipboardExpand all lines: tools/clang/test/CodeGenDXIL/hlsl/objects/NodeObjects/mesh-node-invalid-input-parameters.hlsl
-10Lines changed: 0 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -8,16 +8,6 @@ struct RECORD {
8
8
uint3 gtid;
9
9
};
10
10
11
-
[Shader("node")]
12
-
[numthreads(4,4,4)]
13
-
[NodeDispatchGrid(4,4,4)]
14
-
[NodeLaunch("mesh")] // expected-note {{Launch type defined here}}
15
-
[OutputTopology("line")]
16
-
voidnode01_rw(RWDispatchNodeInputRecord<RECORD> input, // expected-error {{'RWDispatchNodeInputRecord' may not be used with mesh nodes (only DispatchNodeInputRecord)}}
0 commit comments