summaryrefslogtreecommitdiff
path: root/tests/pipeline
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pipeline')
-rw-r--r--tests/pipeline/rasterization/get-attribute-at-vertex-nv.slang.glsl7
-rw-r--r--tests/pipeline/rasterization/get-attribute-at-vertex-nv.slang.hlsl2
-rw-r--r--tests/pipeline/rasterization/get-attribute-at-vertex.slang.hlsl2
3 files changed, 7 insertions, 4 deletions
diff --git a/tests/pipeline/rasterization/get-attribute-at-vertex-nv.slang.glsl b/tests/pipeline/rasterization/get-attribute-at-vertex-nv.slang.glsl
index 1897c6467..820918d8b 100644
--- a/tests/pipeline/rasterization/get-attribute-at-vertex-nv.slang.glsl
+++ b/tests/pipeline/rasterization/get-attribute-at-vertex-nv.slang.glsl
@@ -2,11 +2,11 @@
//TEST_IGNORE_FILE:
#version 450
-#extension GL_NV_fragment_shader_barycentric : require
+#extension GL_EXT_fragment_shader_barycentric : require
layout(row_major) uniform;
layout(row_major) buffer;
-pervertexNV layout(location = 0)
+pervertexEXT layout(location = 0)
in vec4 color_0[3];
layout(location = 0)
@@ -14,6 +14,7 @@ out vec4 result_0;
void main()
{
- result_0 = gl_BaryCoordNV.x * ((color_0)[(0U)]) + gl_BaryCoordNV.y * ((color_0)[(1U)]) + gl_BaryCoordNV.z * ((color_0)[(2U)]);
+ result_0 = gl_BaryCoordEXT.x * ((color_0)[(0U)]) + gl_BaryCoordEXT.y * ((color_0)[(1U)]) + gl_BaryCoordEXT.z * ((color_0)[(2U)]);
return;
}
+
diff --git a/tests/pipeline/rasterization/get-attribute-at-vertex-nv.slang.hlsl b/tests/pipeline/rasterization/get-attribute-at-vertex-nv.slang.hlsl
index ce23492c9..a6b45eab4 100644
--- a/tests/pipeline/rasterization/get-attribute-at-vertex-nv.slang.hlsl
+++ b/tests/pipeline/rasterization/get-attribute-at-vertex-nv.slang.hlsl
@@ -2,6 +2,8 @@
//TEST_IGNORE_FILE:
+#pragma warning(disable: 3557)
+
[shader("pixel")]
void main(
nointerpolation vector<float,4> color_0 : COLOR,
diff --git a/tests/pipeline/rasterization/get-attribute-at-vertex.slang.hlsl b/tests/pipeline/rasterization/get-attribute-at-vertex.slang.hlsl
index ce23492c9..9322964d5 100644
--- a/tests/pipeline/rasterization/get-attribute-at-vertex.slang.hlsl
+++ b/tests/pipeline/rasterization/get-attribute-at-vertex.slang.hlsl
@@ -11,4 +11,4 @@ void main(
result_0 = bary_0.x * GetAttributeAtVertex(color_0, 0U)
+ bary_0.y * GetAttributeAtVertex(color_0, 1U)
+ bary_0.z * GetAttributeAtVertex(color_0, 2U);
-}
+} \ No newline at end of file