summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_program.c
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-01-05 02:54:50 -0800
committerKenneth Graunke <[email protected]>2016-01-05 18:07:27 -0800
commitbd21b54607615605b6335282029687bb0885f4ad (patch)
treef984c47f934eda86c79907c2a4bdc2166ffeb8b9 /src/mesa/state_tracker/st_cb_program.c
parent25b7e4a01f20df4ca94a5381dee5b33294f6c161 (diff)
i965: Only turn on ARB_compute_shader if we can write registers.
Compute shaders require reconfiguring the L3 for shared local memory support. We have to be able to write the L3 registers to do that. This effectively turns off compute shaders prior to Kernel 4.2. (Previously, the extension enable was in an API_OPENGL_CORE conditional. However, that isn't necessary - core Mesa extension handling already restricts it properly. I've moved it out in this patch.) Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Francisco Jerez <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_program.c')
0 files changed, 0 insertions, 0 deletions