diff options
author | Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> | 2019-06-19 20:59:12 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> | 2019-06-20 09:02:00 -0700 |
commit | 6c5735e5ae4669ec4303e894cac19f99189e4910 (patch) | |
tree | c933513342dc19f3c2917ee9ea6f2e36e0a8fbc5 /tests/util | |
parent | f6a8740bdf08f66c2ef80272a081dee91f5127b5 (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.c | 1 |
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 }; |