projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
829bd77
)
radeonsi: unify HS max_offchip_buffers workarounds
author
Marek Olšák
<marek.olsak@amd.com>
Mon, 27 Feb 2017 22:49:19 +0000
(23:49 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Fri, 31 Mar 2017 19:41:57 +0000
(21:41 +0200)
Vulkan doesn't set more than 508.
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state_shaders.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state_shaders.c
b/src/gallium/drivers/radeonsi/si_state_shaders.c
index 89de761e66ee31b7e4fbe1587e11981ad3fab3b6..d175b9c75e5ef66b9c04a14f282c100e2fc576cc 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state_shaders.c
+++ b/
src/gallium/drivers/radeonsi/si_state_shaders.c
@@
-2407,13
+2407,13
@@
static void si_init_tess_factor_ring(struct si_context *sctx)
max_offchip_buffers = MIN2(max_offchip_buffers, 126);
break;
case CIK:
+ case VI:
case GFX9:
max_offchip_buffers = MIN2(max_offchip_buffers, 508);
break;
- case VI:
default:
-
max_offchip_buffers = MIN2(max_offchip_buffers, 512
);
-
break
;
+
assert(0
);
+
return
;
}
assert(!sctx->tf_ring);