summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_wm.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2012-11-20 19:26:52 -0800
committerKenneth Graunke <kenneth@whitecape.org>2012-11-26 19:52:34 -0800
commit9136723214136a95a3c915d580943c888cd99503 (patch)
tree24b2cbb1660f810212a0bf3d0ccefe6e3afdb4dc /src/mesa/drivers/dri/i965/brw_wm.h
parentea681a0d64ecde3a2e729fe3b71d3f3fe4cedff0 (diff)
downloadexternal_mesa3d-9136723214136a95a3c915d580943c888cd99503.zip
external_mesa3d-9136723214136a95a3c915d580943c888cd99503.tar.gz
external_mesa3d-9136723214136a95a3c915d580943c888cd99503.tar.bz2
i965/fs: Move struct brw_compile (p) entirely inside fs_generator.
The brw_compile structure contains the brw_instruction store and the brw_eu_emit.c state tracking fields. These are only useful for the final assembly generation pass; the earlier compilation stages doesn't need them. This also means that the code generator for future hardware won't have access to the brw_compile structure, which is extremely desirable because it prevents accidental generation of Gen4-7 code. v2: rzalloc p, as suggested by Eric. Reviewed-by: Eric Anholt <eric@anholt.net> Reviewed-by: Paul Berry <stereotype441@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_wm.h')
-rw-r--r--src/mesa/drivers/dri/i965/brw_wm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm.h b/src/mesa/drivers/dri/i965/brw_wm.h
index 478be86..a4ac3f1 100644
--- a/src/mesa/drivers/dri/i965/brw_wm.h
+++ b/src/mesa/drivers/dri/i965/brw_wm.h
@@ -77,7 +77,6 @@ struct brw_wm_prog_key {
};
struct brw_wm_compile {
- struct brw_compile func;
struct brw_wm_prog_key key;
struct brw_wm_prog_data prog_data;