diff options
author | Kenneth Graunke <[email protected]> | 2012-11-20 19:26:52 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2012-11-26 19:52:34 -0800 |
commit | 9136723214136a95a3c915d580943c888cd99503 (patch) | |
tree | 24b2cbb1660f810212a0bf3d0ccefe6e3afdb4dc /src/mesa/drivers/dri/i965/brw_shader.h | |
parent | ea681a0d64ecde3a2e729fe3b71d3f3fe4cedff0 (diff) |
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 <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_shader.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_shader.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h index 0abc6671134..46fe570364f 100644 --- a/src/mesa/drivers/dri/i965/brw_shader.h +++ b/src/mesa/drivers/dri/i965/brw_shader.h @@ -41,7 +41,6 @@ public: struct brw_context *brw; struct intel_context *intel; struct gl_context *ctx; - struct brw_compile *p; struct brw_shader *shader; struct gl_shader_program *prog; |