i965: Disable thread dispatch when the FS doesn't do any work.
authorEric Anholt <eric@anholt.net>
Mon, 18 Oct 2010 22:43:20 +0000 (15:43 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 19 Oct 2010 17:49:20 +0000 (10:49 -0700)
commitf30de6964018619658439216cd8bf9371ee6256d
treeaa32889d7ef8827b804b881466a8651bb8673749
parent2595589f1df351895bc5b1a92f19e995a19da15b
i965: Disable thread dispatch when the FS doesn't do any work.

This should reduce the cost of generating shadow maps, for example.
No performance difference measured in nexuiz, though it does trigger
this path.
src/mesa/drivers/dri/i965/brw_wm.h
src/mesa/drivers/dri/i965/brw_wm_state.c
src/mesa/drivers/dri/i965/gen6_wm_state.c