[Mesa-dev] [PATCH 1/4] mesa/st: handle gl_Layer input semantic
Marek Olšák
maraeo at gmail.com
Sun Jun 22 09:02:13 PDT 2014
Patch 1 & 2:
Reviewed-by: Marek Olšák <marek.olsak at amd.com>
Marek
On Sun, Jun 22, 2014 at 5:10 PM, Ilia Mirkin <imirkin at alum.mit.edu> wrote:
> Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
> ---
> src/mesa/state_tracker/st_program.c | 5 +++++
> 1 file changed, 5 insertions(+)
>
> diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
> index 26eb978..1df411c 100644
> --- a/src/mesa/state_tracker/st_program.c
> +++ b/src/mesa/state_tracker/st_program.c
> @@ -572,6 +572,11 @@ st_translate_fragment_program(struct st_context *st,
> input_semantic_index[slot] = 0;
> interpMode[slot] = TGSI_INTERPOLATE_CONSTANT;
> break;
> + case VARYING_SLOT_LAYER:
> + input_semantic_name[slot] = TGSI_SEMANTIC_LAYER;
> + input_semantic_index[slot] = 0;
> + interpMode[slot] = TGSI_INTERPOLATE_CONSTANT;
> + break;
> case VARYING_SLOT_VIEWPORT:
> input_semantic_name[slot] = TGSI_SEMANTIC_VIEWPORT_INDEX;
> input_semantic_index[slot] = 0;
> --
> 1.8.5.5
>
> _______________________________________________
> 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