[Mesa-dev] [PATCH 03/23] i965: Write a better file comment for brw_sampler_state.c.

Kenneth Graunke kenneth at whitecape.org
Tue Jul 29 16:29:08 PDT 2014


The old one has been inaccurate for years.

Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
---
 src/mesa/drivers/dri/i965/brw_sampler_state.c | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_sampler_state.c b/src/mesa/drivers/dri/i965/brw_sampler_state.c
index 8a4bfea..12aea39 100644
--- a/src/mesa/drivers/dri/i965/brw_sampler_state.c
+++ b/src/mesa/drivers/dri/i965/brw_sampler_state.c
@@ -29,6 +29,12 @@
   *   Keith Whitwell <keithw at vmware.com>
   */
 
+/**
+ * @file brw_sampler_state.c
+ *
+ * This file contains code for emitting SAMPLER_STATE structures, which
+ * specifies filter modes, wrap modes, border color, and so on.
+ */
 
 #include "brw_context.h"
 #include "brw_state.h"
@@ -38,13 +44,6 @@
 #include "main/macros.h"
 #include "main/samplerobj.h"
 
-
-/* Samplers aren't strictly wm state from the hardware's perspective,
- * but that is the only situation in which we use them in this driver.
- */
-
-
-
 uint32_t
 translate_wrap_mode(struct brw_context *brw, GLenum wrap, bool using_nearest)
 {
-- 
2.0.2



More information about the mesa-dev mailing list