Skip to content
Snippets Groups Projects
Commit b2cdcc8b authored by Dave Airlie's avatar Dave Airlie Committed by Emil Velikov
Browse files

r600g: fix calculation for gpr allocation


I've been chasing a geom shader hang on rv635 since I wrote
r600 geom code, and finally I hacked some values from fglrx
in and I could run texelfetch without failures.

This is totally my fault as well, maths fail 101.

This makes geom shaders on r600 not fail heavily.

Cc: "10.6" "11.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarEdward O'Callaghan <eocallaghan@alterapraxis.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
(cherry picked from commit 0de53ccc)
parent bfc5ed53
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment