swr: fix memory leaks from vs/fs compilation
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 21 Apr 2016 00:42:16 +0000 (19:42 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Fri, 22 Apr 2016 23:05:02 +0000 (18:05 -0500)
commitee9621e2f5653cf2dfa8589bd3a57bafb122c6bd
treea33122ae117b3a96b96bcb9dd19f5151b9b10fd3
parent5815c8b3d3b7fe3311ac51533438f24f09768ad6
swr: fix memory leaks from vs/fs compilation

v2: varient -> variant

Reviewed by: George Kyriazis <George.Kyriazis@intel.com>
src/gallium/drivers/swr/swr_shader.cpp
src/gallium/drivers/swr/swr_state.cpp
src/gallium/drivers/swr/swr_state.h