i965: Write a better file comment for brw_sampler_state.c.

The old one has been inaccurate for years.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
Kenneth Graunke 2014-07-26 12:03:21 -07:00
parent 3f67fb4dc3
commit c8e2549785

View file

@ -29,6 +29,12 @@
* 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"
@ -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)
{