find_lowerable_rvalues(options, instructions, v.lowerable_rvalues);
visit_list_elements(&v, instructions);
- if (options->LowerPrecisionTemporaries) {
- lower_variables_visitor vars(options);
- visit_list_elements(&vars, instructions);
- }
+ lower_variables_visitor vars(options);
+ visit_list_elements(&vars, instructions);
}
options->LowerPrecisionFloat16 = true;
options->LowerPrecisionInt16 = true;
options->LowerPrecisionDerivatives = true;
- options->LowerPrecisionTemporaries = true;
options->LowerPrecisionConstants = true;
}
}
GLboolean LowerPrecisionConstants;
/**
- * This enables 16-bit phis in NIR, 16-bit loop counters, 16-bit indirect
- * arrays, etc.
- */
- GLboolean LowerPrecisionTemporaries;
-
- /**
* \name Forms of indirect addressing the driver cannot do.
*/
/*@{*/
screen->get_shader_param(screen, sh, PIPE_SHADER_CAP_INT16);
options->LowerPrecisionConstants =
screen->get_shader_param(screen, sh, PIPE_SHADER_CAP_GLSL_16BIT_CONSTS);
- options->LowerPrecisionTemporaries = true;
}
c->MaxUserAssignableUniformLocations =