summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a940683)
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
/* First, lower the GLSL/Mesa IR or SPIR-V to NIR */
if (shader_prog) {
/* 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);
nir = _mesa_spirv_to_nir(ctx, shader_prog, stage, options);
else
nir = glsl_to_nir(shader_prog, stage, options);