Commit eae06b34 authored by Neil Roberts's avatar Neil Roberts

glsl/builtin types: Set the precision on the depth range params

The members of gl_DepthRangeParameters are declared to be highp in
GLSL ES specs.
Reviewed-by: Eric Anholt's avatarEric Anholt <eric@anholt.net>
parent 74d71dac
Pipeline #47970 passed with stages
in 10 minutes and 16 seconds
......@@ -53,9 +53,9 @@
&glsl_type::_struct_##NAME##_type;
static const struct glsl_struct_field gl_DepthRangeParameters_fields[] = {
glsl_struct_field(glsl_type::float_type, "near"),
glsl_struct_field(glsl_type::float_type, "far"),
glsl_struct_field(glsl_type::float_type, "diff"),
glsl_struct_field(glsl_type::float_type, GLSL_PRECISION_HIGH, "near"),
glsl_struct_field(glsl_type::float_type, GLSL_PRECISION_HIGH, "far"),
glsl_struct_field(glsl_type::float_type, GLSL_PRECISION_HIGH, "diff"),
};
static const struct glsl_struct_field gl_PointParameters_fields[] = {
......
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