[Mesa-dev] [PATCH] glsl: disable resource checking in the linker until it's done right

Marek Olšák maraeo at gmail.com
Sun Nov 20 20:53:40 PST 2011


On Mon, Nov 21, 2011 at 1:06 AM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> On 11/20/2011 01:15 PM, Marek Olšák wrote:
>> ---
>>  src/glsl/linker.cpp |   20 ++++++++++++++++++++
>>  1 files changed, 20 insertions(+), 0 deletions(-)
>>
>> diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp
>> index 3527088..8089255 100644
>> --- a/src/glsl/linker.cpp
>> +++ b/src/glsl/linker.cpp
>> @@ -2230,8 +2230,28 @@ link_shaders(struct gl_context *ctx, struct gl_shader_program *prog)
>>     link_assign_uniform_locations(prog);
>>     store_fragdepth_layout(prog);
>>
>> +   /* This is disabled for now because the checks are breaking a lot of apps.
>
> Out of curiosity, what apps?

EVE Online and Civilization 4.

However any other complex D3D9 application under Wine is likely
affected too, see:
https://bugs.freedesktop.org/show_bug.cgi?id=29137#c12

Marek


More information about the mesa-dev mailing list