projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce9e939
)
r600g: calculate a better value for array_size (v2)
author
Dave Airlie
<airlied@redhat.com>
Mon, 3 Feb 2014 05:31:26 +0000
(15:31 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 5 Feb 2014 00:49:42 +0000
(10:49 +1000)
attempt to calculate a better value for array size to avoid breaking apps.
v2: use 0xfff like streamout, suggested by Grigori
Signed-off-by: Dave Airlie <airlied@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
src/gallium/drivers/r600/r600_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index 8fa70542ea1ee3600b35197d46afbab1d48a3c0d..213b1c9db817853e002445c7487c958f25413ef7 100644
(file)
--- a/
src/gallium/drivers/r600/r600_shader.c
+++ b/
src/gallium/drivers/r600/r600_shader.c
@@
-1416,7
+1416,7
@@
static int emit_gs_ring_writes(struct r600_shader_ctx *ctx, bool ind)
if (ind) {
output.array_base = ring_offset >> 2; /* in dwords */
- output.array_size = 0xff
+ output.array_size = 0xff
f;
output.index_gpr = ctx->gs_export_gpr_treg;
} else
output.array_base = ring_offset >> 2; /* in dwords */