projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4569bf9
)
radeonsi: report our border color behavior
author
Marek Olšák
<marek.olsak@amd.com>
Wed, 30 Oct 2013 20:44:07 +0000
(21:44 +0100)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 4 Nov 2013 18:07:57 +0000
(19:07 +0100)
src/gallium/drivers/radeonsi/radeonsi_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/radeonsi_pipe.c
b/src/gallium/drivers/radeonsi/radeonsi_pipe.c
index 0431ab0b4df014e654661900078bb29c89fa82f5..f222f7d66bdb0f39794b78c8c24993678850a64c 100644
(file)
--- a/
src/gallium/drivers/radeonsi/radeonsi_pipe.c
+++ b/
src/gallium/drivers/radeonsi/radeonsi_pipe.c
@@
-357,10
+357,12
@@
static int r600_get_param(struct pipe_screen* pscreen, enum pipe_cap param)
case PIPE_CAP_CUBE_MAP_ARRAY:
case PIPE_CAP_TEXTURE_BUFFER_OBJECTS:
case PIPE_CAP_TEXTURE_BUFFER_OFFSET_ALIGNMENT:
- case PIPE_CAP_TEXTURE_BORDER_COLOR_QUIRK:
case PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE:
return 0;
+ case PIPE_CAP_TEXTURE_BORDER_COLOR_QUIRK:
+ return PIPE_QUIRK_TEXTURE_BORDER_COLOR_SWIZZLE_R600;
+
/* Stream output. */
case PIPE_CAP_MAX_STREAM_OUTPUT_BUFFERS:
return has_streamout ? 4 : 0;