projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a714fba
)
radeonsi/compute: Default to the same PIPE_SHADER_CAP values as other shader types v2
author
Tom Stellard
<thomas.stellard@amd.com>
Sat, 21 Mar 2015 00:27:16 +0000
(
00:27
+0000)
committer
Tom Stellard
<thomas.stellard@amd.com>
Tue, 31 Mar 2015 15:40:51 +0000
(15:40 +0000)
v2:
- Fix typo
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_pipe.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_pipe.c
b/src/gallium/drivers/radeonsi/si_pipe.c
index 0eada72ad5ae4cd89ea0424a25c4ff056ff32592..ae96b6bab1d764ef3a3f3148f826fd973f559173 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_pipe.c
+++ b/
src/gallium/drivers/radeonsi/si_pipe.c
@@
-398,8
+398,12
@@
static int si_get_shader_param(struct pipe_screen* pscreen, unsigned shader, enu
return max_const_buffer_size;
}
default:
- return 0;
+ /* If compute shaders don't require a special value
+ * for this cap, we can return the same value we
+ * do for other shader types. */
+ break;
}
+ break;
default:
/* TODO: support tessellation */
return 0;