diff options
author | Michal Krol <[email protected]> | 2009-12-03 11:58:36 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-12-03 11:58:36 +0100 |
commit | f5bd93fae2e4f46665eb1f09ca64cb39ff2b8a79 (patch) | |
tree | 2389d913bcd736d2d17a64189550b00ef68e1033 /src/gallium/state_trackers/vega | |
parent | cceeab39ea541b1be1521114316d660a77769c2a (diff) |
Move pf_get_component_bits() to u_format auxiliary module.
Diffstat (limited to 'src/gallium/state_trackers/vega')
-rw-r--r-- | src/gallium/state_trackers/vega/vg_tracker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vega/vg_tracker.c b/src/gallium/state_trackers/vega/vg_tracker.c index e7b04a8e068..257feda671e 100644 --- a/src/gallium/state_trackers/vega/vg_tracker.c +++ b/src/gallium/state_trackers/vega/vg_tracker.c @@ -57,7 +57,7 @@ create_texture(struct pipe_context *pipe, enum pipe_format format, templ.depth0 = 1; templ.last_level = 0; - if (pf_get_component_bits(format, PIPE_FORMAT_COMP_S)) { + if (util_format_get_component_bits(format, UTIL_FORMAT_COLORSPACE_ZS, 1)) { templ.tex_usage = PIPE_TEXTURE_USAGE_DEPTH_STENCIL; } else { templ.tex_usage = (PIPE_TEXTURE_USAGE_DISPLAY_TARGET | |