OSDN Git Service
(root)
/
android-x86
/
external-swiftshader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3779153
)
Fix sampler usage
author
John Bauman
<jbauman@google.com>
Tue, 6 May 2014 19:32:06 +0000
(15:32 -0400)
committer
Nicolas Capens
<capn@google.com>
Tue, 6 May 2014 19:32:06 +0000
(15:32 -0400)
Patch from Nicolas at Transgaming.
src/OpenGL ES 2.0/compiler/OutputASM.cpp
patch
|
blob
|
history
diff --git
a/src/OpenGL ES 2.0/compiler/OutputASM.cpp
b/src/OpenGL ES 2.0/compiler/OutputASM.cpp
index
49a1262
..
b63f3ad
100644
(file)
--- a/
src/OpenGL ES 2.0/compiler/OutputASM.cpp
+++ b/
src/OpenGL ES 2.0/compiler/OutputASM.cpp
@@
-1911,7
+1911,7
@@
namespace sh
for(int i = 0; i < sampler->totalRegisterCount(); i++)
{
- shader->declareSampler(i);
+ shader->declareSampler(i
ndex + i
);
}
}