diff options
author | Rafael Antognolli <[email protected]> | 2017-12-18 15:23:11 -0800 |
---|---|---|
committer | Rafael Antognolli <[email protected]> | 2017-12-19 12:32:24 -0800 |
commit | 85789831b487c08eb4817fb902efc2e6b614d9ac (patch) | |
tree | fbfa6d7b8adbf1d9f2485b57687cd18a2f1e1d5f /src/mesa/drivers/dri | |
parent | 4237c3d64570fb1fd295473f3fa9e45a83946a81 (diff) |
intel/compiler/gen10: Disable push constants.
We still have gpu hangs on Cannonlake when using push constants, so
disable them for now until we have a proper fix for these hangs.
v2: Add warning message when creating context too.
Signed-off-by: Rafael Antognolli <[email protected]>
Cc: Ben Widawsky <[email protected]>
Cc: Kenneth Graunke <[email protected]>
Reviewed-by: Ben Widawsky <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c index 126c187f629..b555f7bfdf1 100644 --- a/src/mesa/drivers/dri/i965/brw_context.c +++ b/src/mesa/drivers/dri/i965/brw_context.c @@ -1022,6 +1022,13 @@ brwCreateContext(gl_api api, return false; } + if (devinfo->gen == 10) { + fprintf(stderr, + "WARNING: i965 does not fully support Gen10 yet.\n" + "Instability or lower performance might occur.\n"); + + } + brw_init_state(brw); intelInitExtensions(ctx); |