mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-06 16:30:42 +01:00
i965: use gl_shader_program_data::spirv
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
a940683733
commit
a6dc3d22eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue