mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-25 03:40:23 +01:00
i965: Remove the brw_context::emit_state_always flag.
This was always set to false, and is only used for debugging. To enable it, simply change the if (0) block and recompile. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
02b632d8e8
commit
d31b928b93
3 changed files with 2 additions and 5 deletions
|
|
@ -475,8 +475,6 @@ brwCreateContext(gl_api api,
|
|||
*/
|
||||
STATIC_ASSERT(BRW_NUM_STATE_BITS <= 8 * sizeof(brw->state.dirty.brw));
|
||||
|
||||
brw->emit_state_always = 0;
|
||||
|
||||
brw->batch.need_workaround_flush = true;
|
||||
|
||||
ctx->VertexProgram._MaintainTnlProgram = true;
|
||||
|
|
|
|||
|
|
@ -1040,8 +1040,6 @@ struct brw_context
|
|||
|
||||
uint32_t max_gtt_map_object_size;
|
||||
|
||||
bool emit_state_always;
|
||||
|
||||
int gen;
|
||||
int gt;
|
||||
|
||||
|
|
|
|||
|
|
@ -471,7 +471,8 @@ void brw_upload_state(struct brw_context *brw)
|
|||
state->brw |= ctx->NewDriverState;
|
||||
ctx->NewDriverState = 0;
|
||||
|
||||
if (brw->emit_state_always) {
|
||||
if (0) {
|
||||
/* Always re-emit all state. */
|
||||
state->mesa |= ~0;
|
||||
state->brw |= ~0;
|
||||
state->cache |= ~0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue