From: Kenneth Graunke Date: Sat, 26 Jul 2014 19:03:21 +0000 (-0700) Subject: i965: Write a better file comment for brw_sampler_state.c. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c8e2549785e9adac768e47bd310b0537a1b269a4;p=mesa.git i965: Write a better file comment for brw_sampler_state.c. The old one has been inaccurate for years. Signed-off-by: Kenneth Graunke Reviewed-by: Topi Pohjolainen --- diff --git a/src/mesa/drivers/dri/i965/brw_sampler_state.c b/src/mesa/drivers/dri/i965/brw_sampler_state.c index 8a4bfead550..12aea39dc74 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 */ +/** + * @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) {