diff options
author | Kenneth Graunke <[email protected]> | 2011-10-23 21:42:27 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2011-10-25 17:09:21 -0700 |
commit | 47f1d9deffee8aeb2d73d8e06f829d32125f944c (patch) | |
tree | 6e21414e01257922e5ce532603fda5a45d21d6dc /src/mesa/drivers/dri/i965/brw_context.c | |
parent | 7a86bf816c3eb977a5d7e558e85f00f8f2b9868a (diff) |
i965: Remove "single threaded" INTEL_DEBUG mode.
According to the docs for 3DSTATE_PS (Gen7+) and 3DSTATE_WM (Gen6),
there is a platform dependent value for the minimum number of pixel
shader threads. It may also vary based on whether WIZ Hashing is on.
For example, Ivybridge requires at least 4 threads if WIZ hashing is
disabled, and 8 if it's enabled. Programming it to use less threads is
illegal. Sandybridge appears to have similar restrictions.
So on newer platforms, INTEL_DEBUG=sing will probably just hang the GPU.
Rather than try to patch it up for newer platforms and extend it to
support geometry shaders, just remove it as it isn't that useful anyway.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 95662dc932c..dcc25524e8c 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -235,11 +235,6 @@ brwCreateContext(int api, brw->has_negative_rhw_bug = true; } - if (INTEL_DEBUG & DEBUG_SINGLE_THREAD) { - brw->vs_max_threads = 1; - brw->wm_max_threads = 1; - } - brw_init_state( brw ); brw->curbe.last_buf = calloc(1, 4096); |