[Mesa-dev] [PATCH 02/22] i965: use gl_shader_program_data::spirv
Alejandro PiƱeiro
apinheiro at igalia.com
Tue Apr 17 14:36:39 UTC 2018
---
src/mesa/drivers/dri/i965/brw_program.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c
index fc77926d6e0..39c2d2a3581 100644
--- a/src/mesa/drivers/dri/i965/brw_program.c
+++ b/src/mesa/drivers/dri/i965/brw_program.c
@@ -77,7 +77,7 @@ brw_create_nir(struct brw_context *brw,
/* First, lower the GLSL/Mesa IR or SPIR-V to NIR */
if (shader_prog) {
- if (shader_prog->_LinkedShaders[stage]->spirv_data)
+ if (shader_prog->data->spirv)
nir = _mesa_spirv_to_nir(ctx, shader_prog, stage, options);
else
nir = glsl_to_nir(shader_prog, stage, options);
--
2.14.1
More information about the mesa-dev
mailing list