projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nv50,nvc0: share sampler state creation
[mesa.git]
/
src
/
gallium
/
drivers
/
nv50
/
nv50_tex.c
diff --git
a/src/gallium/drivers/nv50/nv50_tex.c
b/src/gallium/drivers/nv50/nv50_tex.c
index cb1f2620786d7fd91572b1cccdf5ed519c10d2e3..e9d6e5f201644a7618c899d37ec5c285238af803 100644
(file)
--- a/
src/gallium/drivers/nv50/nv50_tex.c
+++ b/
src/gallium/drivers/nv50/nv50_tex.c
@@
-148,6
+148,7
@@
nv50_create_sampler_view(struct pipe_context *pipe,
break;
case PIPE_BUFFER:
tic[2] |= NV50_TIC_2_TARGET_BUFFER | NV50_TIC_2_LINEAR;
+ break;
default:
NOUVEAU_ERR("invalid texture target: %d\n", mt->base.base.target);
return FALSE;