Commit a4c4e010 authored by Rob Clark's avatar Rob Clark 💬 Committed by Marge Bot

glsl: remove LowerPrecisionTemporaries

Signed-off-by: Rob Clark's avatarRob Clark <robdclark@chromium.org>
Reviewed-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
Part-of: <!6189>
parent c4e0cae9
Pipeline #186789 passed with stages
in 16 minutes and 7 seconds
......@@ -1333,8 +1333,6 @@ lower_precision(const struct gl_shader_compiler_options *options,
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);
}
......@@ -441,7 +441,6 @@ standalone_compile_shader(const struct standalone_options *_options,
options->LowerPrecisionFloat16 = true;
options->LowerPrecisionInt16 = true;
options->LowerPrecisionDerivatives = true;
options->LowerPrecisionTemporaries = true;
options->LowerPrecisionConstants = true;
}
}
......
......@@ -3217,12 +3217,6 @@ struct gl_shader_compiler_options
*/
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.
*/
......
......@@ -348,7 +348,6 @@ void st_init_limits(struct pipe_screen *screen,
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 =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment