i965: Fix 'SIMD16 only' dispatch of fragment shader in case of sample shading
authorAnuj Phogat <anuj.phogat@gmail.com>
Mon, 4 Nov 2013 22:48:51 +0000 (14:48 -0800)
committerAnuj Phogat <anuj.phogat@gmail.com>
Thu, 7 Nov 2013 20:20:33 +0000 (12:20 -0800)
commit735a77784244d677a1ee33978f9e1aad48e7edae
tree9ff20a7f9f4a9978278800b0d0c097918f77f063
parent4871e7b91fd6d5840803218462bbf0f1b0c1d865
i965: Fix 'SIMD16 only' dispatch of fragment shader in case of sample shading

This patch make changes to correctly set up the Dispatch GRF Start
Register in case of 'SIMD16 only' FS dispatch.

This fixes an issue of incorrect rendering on dolphin emulator with
GL_SAMPLE_SHADING enabled.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/gen6_wm_state.c
src/mesa/drivers/dri/i965/gen7_wm_state.c