OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
svga: update shader code for GBS
[android-x86/external-mesa.git]
/
src
/
gallium
/
drivers
/
svga
/
svga_context.c
diff --git
a/src/gallium/drivers/svga/svga_context.c
b/src/gallium/drivers/svga/svga_context.c
index
de769ca
..
4da9a65
100644
(file)
--- a/
src/gallium/drivers/svga/svga_context.c
+++ b/
src/gallium/drivers/svga/svga_context.c
@@
-197,6
+197,10
@@
void svga_context_flush( struct svga_context *svga,
*/
svga->rebind.rendertargets = TRUE;
svga->rebind.texture_samplers = TRUE;
+ if (svga_have_gb_objects(svga)) {
+ svga->rebind.vs = TRUE;
+ svga->rebind.fs = TRUE;
+ }
if (SVGA_DEBUG & DEBUG_SYNC) {
if (fence)