[Mesa-dev] [PATCH 5/7] gallium: Make use of gl_transform_feedback_info::ComponentOffset.
Marek Olšák
maraeo at gmail.com
Thu Dec 29 09:35:38 PST 2011
Reviewed-by: Marek Olšák <maraeo at gmail.com>
On Thu, Dec 29, 2011 at 6:16 PM, Paul Berry <stereotype441 at gmail.com> wrote:
> ---
> src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> index 77aa0d1..d337f9b 100644
> --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp
> @@ -5120,7 +5120,8 @@ st_translate_stream_output_info(struct glsl_to_tgsi_visitor *glsl_to_tgsi,
> so->output[i].register_index =
> outputMapping[info->Outputs[i].OutputRegister];
> so->output[i].register_mask =
> - comps_to_mask[info->Outputs[i].NumComponents];
> + comps_to_mask[info->Outputs[i].NumComponents]
> + << info->Outputs[i].ComponentOffset;
> so->output[i].output_buffer = info->Outputs[i].OutputBuffer;
> }
> so->num_outputs = info->NumOutputs;
> --
> 1.7.6.4
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list