summaryrefslogtreecommitdiffstats
path: root/tests/diagnostics/gh-38-vs.hlsl
blob: 15dd04847b1b651114ec5b043cd9708762fdf04f (plain)
1
2
3
4
5
6
7
8
9
//DIAGNOSTIC_TEST:SIMPLE: -profile sm_5_0 -entry main1 -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 main1() : SV_Position { return 0; }