r600g: the code to check whether a new vertex shader is needed was wrong
authorDave Airlie <airlied@redhat.com>
Mon, 4 Oct 2010 06:24:59 +0000 (16:24 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 4 Oct 2010 06:24:59 +0000 (16:24 +1000)
commit6dc051557d99e81fc58e09edf21f185874dc1979
treeee587126208b0da2267abf70118a585d327235f3
parent92aba9c1f54b2681aed11f572f74bda941f19a54
r600g: the code to check whether a new vertex shader is needed was wrong

this code was memcmp'ing two structs, but refcounting one of them afterwards,
so any subsequent memcmp was never going to work.

again this stops unnecessary uploads of vertex program,
src/gallium/drivers/r600/r600_shader.c