projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f6cbc5
)
[i965] Rename {pf -> util}_format_is_depth_or_stencil()
author
Tomas Carnecky
<tom@dbservice.com>
Wed, 23 Dec 2009 15:40:20 +0000
(15:40 +0000)
committer
Keith Whitwell
<keithw@vmware.com>
Wed, 23 Dec 2009 15:40:20 +0000
(15:40 +0000)
The function was moved and renamed in
0bed834b
.
Signed-off-by: Tomas Carnecky <tom@dbservice.com>
src/gallium/drivers/i965/brw_wm_sampler_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/i965/brw_wm_sampler_state.c
b/src/gallium/drivers/i965/brw_wm_sampler_state.c
index 4e99ac703a9f3c6cdffbe577b08596f95c2d1afb..d9f17ac305fc9f9129a7badac6e04a9be6c46f84 100644
(file)
--- a/
src/gallium/drivers/i965/brw_wm_sampler_state.c
+++ b/
src/gallium/drivers/i965/brw_wm_sampler_state.c
@@
-30,6
+30,7
@@
*/
#include "util/u_math.h"
+#include "util/u_format.h"
#include "brw_context.h"
#include "brw_state.h"
@@
-130,7
+131,7
@@
brw_wm_sampler_update_default_colors(struct brw_context *brw)
const struct brw_sampler *sampler = brw->curr.sampler[i];
const float *bc;
- if (
pf
_is_depth_or_stencil(tex->base.format)) {
+ if (
util
_is_depth_or_stencil(tex->base.format)) {
float bordercolor[4] = {
sampler->border_color[0],
sampler->border_color[0],