diff options
author | Alejandro Piñeiro <[email protected]> | 2018-04-13 16:44:23 +0200 |
---|---|---|
committer | Alejandro Piñeiro <[email protected]> | 2018-06-21 14:25:05 +0200 |
commit | a6dc3d22ebea709f353dda869e0ca474cda72559 (patch) | |
tree | 3c10e40221570657a324aa99051809e540355787 /src/mesa/drivers/dri | |
parent | a940683733f5f5d22453237840e970dd7ca81a5d (diff) |
i965: use gl_shader_program_data::spirv
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_program.c b/src/mesa/drivers/dri/i965/brw_program.c index 446aaee0673..959c6122f57 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); |