projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8db7dac
)
gallium/util: handle PIPE_BUFFER in util_pipe_tex_to_tgsi_tex
author
Marek Olšák
<marek.olsak@amd.com>
Sat, 16 Aug 2014 23:46:31 +0000
(
01:46
+0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Tue, 19 Aug 2014 10:20:18 +0000
(12:20 +0200)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/util/u_inlines.h
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_inlines.h
b/src/gallium/auxiliary/util/u_inlines.h
index e9526159ae33ea6c43823e5f9c1ae3bd973a7909..c80ec487ecef77b2a04acd699d022177f8a4682e 100644
(file)
--- a/
src/gallium/auxiliary/util/u_inlines.h
+++ b/
src/gallium/auxiliary/util/u_inlines.h
@@
-565,6
+565,9
@@
util_pipe_tex_to_tgsi_tex(enum pipe_texture_target pipe_tex_target,
unsigned nr_samples)
{
switch (pipe_tex_target) {
+ case PIPE_BUFFER:
+ return TGSI_TEXTURE_BUFFER;
+
case PIPE_TEXTURE_1D:
assert(nr_samples <= 1);
return TGSI_TEXTURE_1D;