diff options
| author | Yong He <yonghe@outlook.com> | 2019-01-28 10:48:10 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-28 10:48:10 -0800 |
| commit | f2579a60a3de45d5f48f1e1433ba736647988e8e (patch) | |
| tree | fe9c11d126e8ee656726d92ff55d6be1e81c45c5 /tests | |
| parent | 016f38981a52dd31aa4d3d35272c37f992a07862 (diff) | |
| parent | 71f1750dea041cb19eb6f25def585085dd171915 (diff) | |
Merge pull request #806 from csyonghe/texture-fix
Add GLSL translation rules for SampleCmp and bit reinterpretation functions
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/cross-compile/glsl-samplecmp.slang | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/cross-compile/glsl-samplecmp.slang b/tests/cross-compile/glsl-samplecmp.slang new file mode 100644 index 000000000..fbbc8b7c7 --- /dev/null +++ b/tests/cross-compile/glsl-samplecmp.slang @@ -0,0 +1,6 @@ +Texture2D shadowMap; +SamplerComparisonState sampler; +float4 main(float4 p : SV_POSITION) +{ + return shadowMap.SampleCmp(sampler, float2(0.0), 0.0); +}
\ No newline at end of file |
