diff options
author | Ilia Mirkin <[email protected]> | 2016-06-21 16:16:17 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-06-21 21:58:34 -0400 |
commit | 36ed1b695e5a0ae5714b79cae3a089b5e7e8bd29 (patch) | |
tree | 7131e5df020ca78ff1bf1d51eb3167a13df3187a /src/mesa/main/context.c | |
parent | 1f4bca798dda155ad0615ba81d8373c771d1ec94 (diff) |
glsl: only match gl_FragData and not gl_SecondaryFragDataEXT
There's special logic around finding gl_FragData. It latches onto any
array with FRAG_RESULT_DATA0. However gl_SecondaryFragDataEXT[], added
by GL_EXT_blend_func_extended, fits those parameters as well. The real
frag data array should have index 0 though, so we can use that to
distinguish them.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96617
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: "11.1 11.2 12.0" <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/context.c')
0 files changed, 0 insertions, 0 deletions