projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36057ff
)
radeonsi: set CB_COLORn_INFO.SIMPLE_FLOAT
author
Marek Olšák
<marek.olsak@amd.com>
Tue, 9 Aug 2016 10:49:51 +0000
(12:49 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 10 Aug 2016 13:43:36 +0000
(15:43 +0200)
This can help enable some blend optimizations (see the register spec).
Vulkan always sets this.
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
src/gallium/drivers/radeonsi/si_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_state.c
b/src/gallium/drivers/radeonsi/si_state.c
index 8f7203ea9ba0a26ca12fb09bbbe784cdc23f78fc..ebd2b7d571149ab74ce6956c41cc9512216a8ddc 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state.c
+++ b/
src/gallium/drivers/radeonsi/si_state.c
@@
-2066,6
+2066,7
@@
static void si_initialize_color_surface(struct si_context *sctx,
S_028C70_COMP_SWAP(swap) |
S_028C70_BLEND_CLAMP(blend_clamp) |
S_028C70_BLEND_BYPASS(blend_bypass) |
+ S_028C70_SIMPLE_FLOAT(1) |
S_028C70_NUMBER_TYPE(ntype) |
S_028C70_ENDIAN(endian);