summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_context.c
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2012-07-11 20:52:58 +0200
committerChristoph Bumiller <[email protected]>2012-09-30 23:09:37 +0200
commitc321b1bef15e2807de3f6225c4abcbf48969997a (patch)
treebcdfac23cf93ca7ab9bf0ad77c170786429bc26d /src/gallium/drivers/nvc0/nvc0_context.c
parent2149ce41ed6b10f7bff65d7b3f23fd03b89753e3 (diff)
nvc0: make sure handles for unbound textures/samplers are uploaded on nve4
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_context.c')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_context.c b/src/gallium/drivers/nvc0/nvc0_context.c
index ee131d29bbf..2c032ab7420 100644
--- a/src/gallium/drivers/nvc0/nvc0_context.c
+++ b/src/gallium/drivers/nvc0/nvc0_context.c
@@ -194,6 +194,8 @@ nvc0_create(struct pipe_screen *pscreen, void *priv)
nvc0->base.scratch.bo_size = 2 << 20;
+ memset(nvc0->tex_handles, ~0, sizeof(nvc0->tex_handles));
+
return pipe;
out_err: