diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-07-17 09:27:34 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-17 09:27:34 -0700 |
| commit | fdab35e93082d6da4f9dbb4b6ec7b4c6dbce831c (patch) | |
| tree | 489534f470b3d2dcbb61660458bf473e0a2c0552 /tests/cross-compile/integer-input.slang | |
| parent | eecb6c56da5792010e88f2a0d6d1503244b081a4 (diff) | |
| parent | 15aba2fe81fea44969e036e181a4cf252ff41963 (diff) | |
Merge pull request #106 from tfoleyNV/varying-integer
Handle `flat` interpolation cases in cross compilation
Diffstat (limited to 'tests/cross-compile/integer-input.slang')
| -rw-r--r-- | tests/cross-compile/integer-input.slang | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/cross-compile/integer-input.slang b/tests/cross-compile/integer-input.slang new file mode 100644 index 000000000..2069091c6 --- /dev/null +++ b/tests/cross-compile/integer-input.slang @@ -0,0 +1,11 @@ +//TEST:CROSS_COMPILE: -profile ps_5_0 -entry main -target spirv-assembly + +struct VS_OUT +{ + uint drawID : DRAW_ID; +}; + +float4 main(VS_OUT vsOut) : SV_Target +{ + return float4(float(vsOut.drawID)); +} |
