i965: Fix brw_gs_prog_data_compare to actually check field members.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 17 Sep 2013 06:41:57 +0000 (23:41 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 19 Sep 2013 17:52:57 +0000 (10:52 -0700)
commit9f64bb2312dece0bba02bcbaf0c48d27d2f69daf
treebfa3e5b171987a09de43b569cdca6c055c771152
parent4e4b0799165ae7b482da7d9af656ed8878500de1
i965: Fix brw_gs_prog_data_compare to actually check field members.

&a and &b are the address of the local stack variables, not the actual
structures.  Instead of comparing the fields of a and b, we compared
...some stack memory.

Not a candidate for stable since GS code doesn't exist in 9.2.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_vec4_gs.c