summaryrefslogtreecommitdiff
path: root/tests/diagnostics/gh-38-vs.hlsl
blob: 3e61d7f2ef10b49868142477da6b276ad9faee94 (plain)
1
2
3
4
5
6
7
8
9
//DIAGNOSTIC_TEST:SIMPLE: -profile sm_5_0 -entry main -stage vertex tests/diagnostics/gh-38-fs.hlsl -entry main -stage fragment -no-codegen

// Ensure that we catch errors with overlapping or conflicting parameter bindings.

Texture2D overlappingA : register(t0);

Texture2D conflicting : register(t1);

float4 main() : SV_Position { return 0; }