diff options
| author | Yong He <yonghe@outlook.com> | 2023-10-26 10:45:08 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-26 10:45:08 -0700 |
| commit | 927d176be9ba03be161375b8695de1f0a37f1785 (patch) | |
| tree | 1054acb0552721b6c296a5b9a5ce4ca507d06e78 /tests/pipeline | |
| parent | 4572976fd60817b9e2644b6fcadbf34511e770a9 (diff) | |
Fix generic specialization bug. (#3290)
* Fix generic specialization bug.
* Update test.
---------
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tests/pipeline')
| -rw-r--r-- | tests/pipeline/rasterization/mesh/hello.slang | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/tests/pipeline/rasterization/mesh/hello.slang b/tests/pipeline/rasterization/mesh/hello.slang index 5eea900d3..54754c42e 100644 --- a/tests/pipeline/rasterization/mesh/hello.slang +++ b/tests/pipeline/rasterization/mesh/hello.slang @@ -2,8 +2,17 @@ // Test that a simple mesh shader compiles -//TEST:CROSS_COMPILE:-target spirv-assembly -entry main -stage mesh -profile glsl_450+spirv_1_4 -//TEST:CROSS_COMPILE:-target dxil-assembly -entry main -stage mesh -profile sm_6_6 +//TEST:CROSS_COMPILE(filecheck=SPIRV):-target spirv-assembly -entry main -stage mesh -profile glsl_450+spirv_1_4 +//TEST:CROSS_COMPILE(filecheck=DXIL):-target dxil-assembly -entry main -stage mesh -profile sm_6_6 + +// DXIL: call void @dx.op.setMeshOutputCounts +// DXIL: call void @dx.op.storeVertexOutput.f32 +// DXIL: call void @dx.op.emitIndices +// SPIRV: OpEntryPoint MeshEXT %main +// SPIRV: OpExecutionMode %main OutputVertices 3 +// SPIRV: OpExecutionMode %main OutputPrimitivesNV 1 +// SPIRV: OpExecutionMode %main OutputTrianglesNV +// SPIRV: OpSetMeshOutputsEXT const static float2 positions[3] = { float2(0.0, -0.5), |
