summaryrefslogtreecommitdiff
path: root/src/glsl
diff options
context:
space:
mode:
authorPaul Berry <stereotype441@gmail.com>2013-11-25 07:49:15 -0800
committerIan Romanick <ian.d.romanick@intel.com>2013-11-26 21:04:52 -0800
commit756b4f9a8c657c4ba93a0a082bd77a9c3390c11e (patch)
tree067247a7e992eef5f779b4a766ec166c7038e11b /src/glsl
parentd963daa3803db266c88ef8e0643f75a5e600ba19 (diff)
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> (cherry picked from commit 37bdde1087584f4c1839e14db75c157b83246ebd)
Diffstat (limited to 'src/glsl')
0 files changed, 0 insertions, 0 deletions