projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eff81cb
)
radeonsi: don't advertise multisample shader images
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 29 Jun 2016 09:19:58 +0000
(11:19 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Wed, 29 Jun 2016 14:34:22 +0000
(16:34 +0200)
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 54febce42261a102b50c6fd2740f9ac4decdec05..cec5e84ad8208cdf7f6abf458c0a338fb1d4d54f 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_state.c
+++ b/
src/gallium/drivers/radeonsi/si_state.c
@@
-1779,6
+1779,9
@@
static boolean si_is_format_supported(struct pipe_screen *screen,
if (!screen->get_param(screen, PIPE_CAP_TEXTURE_MULTISAMPLE))
return false;
+ if (usage & PIPE_BIND_SHADER_IMAGE)
+ return false;
+
switch (sample_count) {
case 2:
case 4: