i965: Create new files for HS/DS/TE state upload code.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 30 Sep 2015 21:54:55 +0000 (14:54 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 7 Dec 2015 22:48:54 +0000 (14:48 -0800)
commit7a1735680007a78b0a56107871e4afdc33985604
tree08e3f4eb65bdda5717a30427bd3a3f4f2e33b499
parent63b850403c90f33c295d3ad6be4ad749d4ea6274
i965: Create new files for HS/DS/TE state upload code.

For now, this just splits the existing code to disable these stages into
separate atoms/files.  We can then replace it with real code.

v2: Bump the render atoms in this patch so it compiles (in my branch,
    I'd bumped it in an earlier patch).  61 seems to be the minimum
    that works, which doesn't match the old value + the number of atoms
    I added in this patch, so apparently we had some slop before.

v3: Actually disable the DS unit on Gen8+.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net> [v1]
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/Makefile.sources
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/brw_state_upload.c
src/mesa/drivers/dri/i965/gen7_disable.c [deleted file]
src/mesa/drivers/dri/i965/gen7_ds_state.c [new file with mode: 0644]
src/mesa/drivers/dri/i965/gen7_hs_state.c [new file with mode: 0644]
src/mesa/drivers/dri/i965/gen7_te_state.c [new file with mode: 0644]
src/mesa/drivers/dri/i965/gen8_disable.c
src/mesa/drivers/dri/i965/gen8_ds_state.c [new file with mode: 0644]
src/mesa/drivers/dri/i965/gen8_hs_state.c [new file with mode: 0644]