i965/fs: Add an instruction flag for choosing the flag subregister.
authorEric Anholt <eric@anholt.net>
Thu, 6 Dec 2012 18:36:11 +0000 (10:36 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 11 Dec 2012 18:12:58 +0000 (10:12 -0800)
commitb278f65e1c5295794dcf08d100356e6ded6c1f32
tree648273a43d463bcd6f2d22e68053385efae95ab3
parent2c69a9fb60e1b5e879a9b9bb4d0c08485483a7db
i965/fs: Add an instruction flag for choosing the flag subregister.

We're going to redo discard handling to track discards in the other flag
subregister, saving instructions in the discard and allowing predicated
jumps out to the end of the shader.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_eu.c
src/mesa/drivers/dri/i965/brw_eu.h
src/mesa/drivers/dri/i965/brw_fs.cpp
src/mesa/drivers/dri/i965/brw_fs.h
src/mesa/drivers/dri/i965/brw_fs_emit.cpp
src/mesa/drivers/dri/i965/brw_fs_schedule_instructions.cpp