Mesa (master): svga: fix a comment (sampler vs. sampler_view)

Brian Paul brianp at kemper.freedesktop.org
Wed Mar 26 16:42:16 UTC 2014


Module: Mesa
Branch: master
Commit: 82246f793980204cd68240b2bc2b2b3cb7ed7d3d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=82246f793980204cd68240b2bc2b2b3cb7ed7d3d

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Mar 24 13:53:26 2014 -0600

svga: fix a comment (sampler vs. sampler_view)

---

 src/gallium/drivers/svga/svga_pipe_sampler.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gallium/drivers/svga/svga_pipe_sampler.c b/src/gallium/drivers/svga/svga_pipe_sampler.c
index 805e23b..a5b5d00 100644
--- a/src/gallium/drivers/svga/svga_pipe_sampler.c
+++ b/src/gallium/drivers/svga/svga_pipe_sampler.c
@@ -175,7 +175,7 @@ svga_bind_sampler_states(struct pipe_context *pipe,
    for (i = 0; i < num; i++)
       svga->curr.sampler[start + i] = samplers[i];
 
-   /* find highest non-null sampler_views[] entry */
+   /* find highest non-null sampler[] entry */
    {
       unsigned j = MAX2(svga->curr.num_samplers, start + num);
       while (j > 0 && svga->curr.sampler[j - 1] == NULL)




More information about the mesa-commit mailing list