summaryrefslogtreecommitdiff
path: root/tests/util
diff options
context:
space:
mode:
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>2019-06-19 20:59:12 -0700
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>2019-06-20 09:02:00 -0700
commit6c5735e5ae4669ec4303e894cac19f99189e4910 (patch)
treec933513342dc19f3c2917ee9ea6f2e36e0a8fbc5 /tests/util
parentf6a8740bdf08f66c2ef80272a081dee91f5127b5 (diff)
util: Assemble SPIR-V with the correct target environment
In the future we should consider decide this based on the shader_test requirements. For now allow us to generate SPIR-V binary in the expected version -- useful for adding validation later. Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Diffstat (limited to 'tests/util')
-rw-r--r--tests/util/piglit-shader.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/util/piglit-shader.c b/tests/util/piglit-shader.c
index 1938b1576..4ba2c4dc5 100644
--- a/tests/util/piglit-shader.c
+++ b/tests/util/piglit-shader.c
@@ -472,6 +472,7 @@ piglit_assemble_spirv(GLenum target,
{
char *arguments[] = {
getenv("PIGLIT_SPIRV_AS_BINARY"),
+ "--target-env", "opengl4.5",
"-o", "-",
NULL
};