diff options
author | Eric Anholt <eric@anholt.net> | 2010-12-02 18:25:45 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-12-04 16:26:55 -0800 |
commit | 4ac2f09e2034d8940a0ce9426a8d5c5d74bc63bd (patch) | |
tree | 83abf82132056d0446eb146b50b44d55bba26f5f /src/mesa/drivers/dri/intel/intel_context.c | |
parent | 859106f196ade77f59f8787b071739901cd1a843 (diff) |
intel: Add an env var override to execute for a different GPU revision.
Sometimes I'm on the train and want to just read what's generated
under INTEL_DEBUG=vs,wm for some code on another generation. Or, for
the next gen enablement we'll want to dump aub files before we have
the actual hardware. This will let us do that.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_context.c')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_context.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c index 152cdcaf37..2f13eb36fd 100644 --- a/src/mesa/drivers/dri/intel/intel_context.c +++ b/src/mesa/drivers/dri/intel/intel_context.c @@ -838,11 +838,6 @@ intelInitContext(struct intel_context *intel, intel->always_flush_cache = 1; } - /* Disable all hardware rendering (skip emitting batches and fences/waits - * to the kernel) - */ - intel->no_hw = getenv("INTEL_NO_HW") != NULL; - return GL_TRUE; } |