wine/3DMark2001: shader generation fails
Submitted by gur..@..il.com
Assigned to Default DRI bug account
Description
When running 3DMark2001 in wine (1.7.1), the r600 gallium driver (on RV710) fails to generate some shaders. This is a regression:
3f67251e is the first bad commit commit 3f67251e Author: Christian König christian.koenig@amd.com Date: Sun Mar 10 14:33:29 2013 +0100
glsl_to_tgsi: allocate arrays separately v2
Instead of allocating everything as temporaries, use the
new array allocation functions.
v2: fix bug in simplify_cmp, declare arrays on demand
Signed-off-by: Christian König <christian.koenig@amd.com>
:040000 040000 75a734fc12e314c32a959f4111543ec518cb8a51 57eed35384ed9aadd89adfce1a075b4ad0a745cc M src
The output when the shader generation fails is: EE /mnt/raid0/software/mesa/git/src/gallium/drivers/r600/r600_shader.c:1886 r600_shader_from_tgsi - GPR limit exceeded - shader requires 129 registers EE /mnt/raid0/software/mesa/git/src/gallium/drivers/r600/r600_shader.c:134 r600_pipe_shader_create - translation from TGSI failed ! EE /mnt/raid0/software/mesa/git/src/gallium/drivers/r600/r600_state_common.c:750 r600_shader_select - Failed to build shader variant (type=0) -12 EE /mnt/raid0/software/mesa/git/src/gallium/drivers/r600/r600_shader.c:1886 r600_shader_from_tgsi - GPR limit exceeded - shader requires 129 registers EE /mnt/raid0/software/mesa/git/src/gallium/drivers/r600/r600_shader.c:134 r600_pipe_shader_create - translation from TGSI failed ! EE /mnt/raid0/software/mesa/git/src/gallium/drivers/r600/r600_state_common.c:750 r600_shader_select - Failed to build shader variant (type=0) -12
This is not a dupe of bug 62696 as the problem is still there with git version 6b5c802c.
Version: git