diff options
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_sampler_state.c | 13 |
1 files 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 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 <[email protected]> */ +/** + * @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) { |