projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4358cfc
)
radeonsi: disable hw ETC2 on Polaris
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 13 Apr 2016 14:31:35 +0000
(16:31 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Thu, 14 Apr 2016 14:58:59 +0000
(16:58 +0200)
not supported by hw directly, but it's still fully supported by the driver
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
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 82ae4c43245e3122ce8471f5043d7d542cd98d2d..af9ffdd381fd4b4cbcb4e536af7ada06f2a4a8fa 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state.c
+++ b/
src/gallium/drivers/radeonsi/si_state.c
@@
-1487,7
+1487,7
@@
static uint32_t si_translate_texformat(struct pipe_screen *screen,
}
if (desc->layout == UTIL_FORMAT_LAYOUT_ETC &&
- sscreen->b.family
>
= CHIP_STONEY) {
+ sscreen->b.family
=
= CHIP_STONEY) {
switch (format) {
case PIPE_FORMAT_ETC1_RGB8:
case PIPE_FORMAT_ETC2_RGB8: