[Piglit] [PATCH] shader_runner: allow enabling GL_DEPTH_CLAMP
Ilia Mirkin
imirkin at alum.mit.edu
Sat Aug 3 17:02:30 UTC 2019
This was useful for some manual testing, may as well have it ready in
the future.
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
tests/shaders/shader_runner.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/shaders/shader_runner.c b/tests/shaders/shader_runner.c
index 6f0990305..2da122752 100644
--- a/tests/shaders/shader_runner.c
+++ b/tests/shaders/shader_runner.c
@@ -3101,6 +3101,7 @@ static const struct string_to_enum enable_table[] = {
{ "GL_VERTEX_PROGRAM_TWO_SIDE", GL_VERTEX_PROGRAM_TWO_SIDE },
{ "GL_PROGRAM_POINT_SIZE", GL_PROGRAM_POINT_SIZE },
{ "GL_DEPTH_TEST", GL_DEPTH_TEST },
+ { "GL_DEPTH_CLAMP", GL_DEPTH_CLAMP },
{ NULL, 0 }
};
--
2.21.0
More information about the Piglit
mailing list