[Mesa-dev] [PATCH] r600g: don't reserve more stack space than required v2

Andy Furniss andyqos at ukfsn.org
Mon Feb 18 08:31:24 PST 2013


Vadim Girlin wrote:
> Overcautious stack reservation caused significant loss of performance.
>
> v2: fix stack depth computation

I get some corruption with this patch and heaven 3.0 with llvm on 
HD4890, R600_LLVM=0 is OK.

It appears on sunlit areas over a certain distance and the patches move 
around.

http://www.andyqos.ukfsn.org/heaven-corrupt.jpg

that was taken with these settings

http://www.andyqos.ukfsn.org/unigine_20130218_1304-llvm-1-patched.html

I also retested with shaders high using the envs you gave -

MESA_EXTENSION_OVERRIDE=-GL_ARB_shader_bit_encoding
force_glsl_extensions_warn=true

and saw the same issue.





More information about the mesa-dev mailing list