diff options
author | Michal Krol <[email protected]> | 2009-12-03 10:20:49 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-12-03 10:20:49 +0100 |
commit | 0bed834be4a174d20b31a6cbcf066774bf749929 (patch) | |
tree | cc682542906a7eaf030794976ce4a0c036bd4c14 /src/gallium/include | |
parent | d28740c298968303500a8c43047ded2679e727ac (diff) |
Move pf_is_depth_and_stencil() to u_format auxiliary module.
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_format.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/gallium/include/pipe/p_format.h b/src/gallium/include/pipe/p_format.h index 16ac95be9b6..69639ab011d 100644 --- a/src/gallium/include/pipe/p_format.h +++ b/src/gallium/include/pipe/p_format.h @@ -548,13 +548,6 @@ pf_get_2d_size(const struct pipe_format_block *block, size_t stride, unsigned he return pf_get_nblocksy(block, height)*stride; } -static INLINE boolean -pf_is_depth_and_stencil( enum pipe_format format ) -{ - return (pf_get_component_bits( format, PIPE_FORMAT_COMP_Z ) != 0 && - pf_get_component_bits( format, PIPE_FORMAT_COMP_S ) != 0); -} - enum pipe_video_chroma_format { PIPE_VIDEO_CHROMA_FORMAT_420, |