i965: Write a better file comment for brw_sampler_state.c.
authorKenneth Graunke <kenneth@whitecape.org>
Sat, 26 Jul 2014 19:03:21 +0000 (12:03 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 2 Aug 2014 12:14:42 +0000 (05:14 -0700)
The old one has been inaccurate for years.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_sampler_state.c

index 8a4bfead5503099ca01eef213515f1298d3e7efa..12aea39dc74bc4195702db10ca18738fb4e59d11 100644 (file)
   *   Keith Whitwell <keithw@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"
 #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)
 {