summaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_clip_distance.cpp
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2013-11-25 07:49:15 -0800
committerPaul Berry <stereotype441@gmail.com>2013-11-26 13:22:23 -0800
commit37bdde1087584f4c1839e14db75c157b83246ebd (patch)
tree75750ed887e95d9b7063747ca48f07794368392c /src/glsl/lower_clip_distance.cpp
parent2714ca81b9bad3dec3894fac97f34502c80b1697 (diff)
downloadexternal_mesa3d-37bdde1087584f4c1839e14db75c157b83246ebd.zip
external_mesa3d-37bdde1087584f4c1839e14db75c157b83246ebd.tar.gz
external_mesa3d-37bdde1087584f4c1839e14db75c157b83246ebd.tar.bz2
i965/gs: Set GS prog_data to NULL if there is no GS program.
The previous commit fixes a bug wherein we would incorrectly refer to stale geometry shader prog_data when no geometry shader was active. This patch reduces the likelihood of that sort of bug occurring in the future by setting prog_data to NULL whenever there is no GS program. Cc: mesa-stable@lists.freedesktop.org Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/glsl/lower_clip_distance.cpp')
0 files changed, 0 insertions, 0 deletions