diff options
author | Anuj Phogat <[email protected]> | 2014-04-11 10:55:38 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2014-04-17 10:08:28 -0700 |
commit | 7928b9c249b2059c926d58a30f9f38bceafefb77 (patch) | |
tree | 3660b5cb7395bd20b873515e7157e74deca65c44 /src/mesa/swrast/s_clear.c | |
parent | 969b461c2b28efbf44ea02cd09c8c6593f4c7343 (diff) |
i965: Fix component mask and varying_to_slot mapping for gl_Layer
gl_Layer doesn't get its own varying slot. It is stored in
VARYING_SLOT_PSIZ.y. This patch fixes the issue for both gen7
and gen8 because gen7_upload_3dstate_so_decl_list() is shared
between them.
Fixes failures in OpenGL Khronos CTS test transform_feedback_builtins.
Makes new piglit test glsl-1.50-transform-feedback-builtins pass for
'gl_Layer'.
Cc: <[email protected]>
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Chris Forbes <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/swrast/s_clear.c')
0 files changed, 0 insertions, 0 deletions