Re: [Mesa-dev] [PATCH] i965: Only turn on ARB_compute_shader if we can write registers.

2016-01-05 Thread Francisco Jerez
Kenneth Graunke writes: > 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

[Mesa-dev] [PATCH] i965: Only turn on ARB_compute_shader if we can write registers.

2016-01-05 Thread Kenneth Graunke
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