diff options
author | Kenneth Graunke <[email protected]> | 2014-07-26 12:03:21 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-08-02 05:14:42 -0700 |
commit | c8e2549785e9adac768e47bd310b0537a1b269a4 (patch) | |
tree | 0d78d99afd2785b910589b998a2306dc5c3752ba | |
parent | 3f67fb4dc30ed662ffe23c1b8f64a25daec67cdc (diff) |
i965: Write a better file comment for brw_sampler_state.c.
The old one has been inaccurate for years.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
-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) { |