[Mesa-dev] [PATCH 6/7] glsl: do not loose precision information when packing varyings
Iago Toral
itoral at igalia.com
Tue Nov 10 02:27:26 PST 2015
s/loose/lose
Reviewed-by: Iago Toral Quiroga <itoral at igalia.com>
On Thu, 2015-11-05 at 13:33 +0200, Tapani Pälli wrote:
> This information will be used by cross stage validation of varyings
> for pipeline objects.
>
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> ---
> src/glsl/lower_packed_varyings.cpp | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/glsl/lower_packed_varyings.cpp b/src/glsl/lower_packed_varyings.cpp
> index 5d66ca9..037c27d 100644
> --- a/src/glsl/lower_packed_varyings.cpp
> +++ b/src/glsl/lower_packed_varyings.cpp
> @@ -621,6 +621,7 @@ lower_packed_varyings_visitor::get_packed_varying_deref(
> packed_var->data.patch = unpacked_var->data.patch;
> packed_var->data.interpolation = unpacked_var->data.interpolation;
> packed_var->data.location = location;
> + packed_var->data.precision = unpacked_var->data.precision;
> unpacked_var->insert_before(packed_var);
> this->packed_varyings[slot] = packed_var;
> } else {
More information about the mesa-dev
mailing list