summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2021-03-09 21:39:54 +0000
committerassiduous <assiduous@diligentgraphics.com>2021-03-19 00:38:18 +0000
commitfb6e7026fd6c25bdffdae807e7fb3074188f8a3e (patch)
tree2921f96547186064be55ad6ebd29a5017a617e71 /Tests
parentAdded sampler correctness test (diff)
downloadDiligentCore-fb6e7026fd6c25bdffdae807e7fb3074188f8a3e.tar.gz
DiligentCore-fb6e7026fd6c25bdffdae807e7fb3074188f8a3e.zip
Reworked samplers handling in OpenGL
Diffstat (limited to 'Tests')
-rw-r--r--Tests/DiligentCoreAPITest/assets/shaders/SamplerCorrectness.hlsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/DiligentCoreAPITest/assets/shaders/SamplerCorrectness.hlsl b/Tests/DiligentCoreAPITest/assets/shaders/SamplerCorrectness.hlsl
index d95cb08d..a70e472e 100644
--- a/Tests/DiligentCoreAPITest/assets/shaders/SamplerCorrectness.hlsl
+++ b/Tests/DiligentCoreAPITest/assets/shaders/SamplerCorrectness.hlsl
@@ -82,8 +82,8 @@ void VSMain(in uint VertId : SV_VertexID,
f4Position = Pos[VertId];
}
-float4 PSMain(in float4 in_f4Color : COLOR,
+float4 PSMain(in float4 f4Color : COLOR, // Name must match VS output
in float4 f4Position : SV_Position) : SV_Target
{
- return in_f4Color * VerifyResources();
+ return f4Color * VerifyResources();
}