Skip to content
Snippets Groups Projects
Commit b85d10e1 authored by Kenneth Graunke's avatar Kenneth Graunke Committed by Dylan Baker
Browse files

gallium: Fix util_format_get_depth_only


This is a pipe format, not a boolean.

Fixes: 5849e061 ("gallium/auxiliary: Add util_format_get_depth_only() helper.")
Reviewed-by: default avatarTapani Pälli <tapani.palli@intel.com>
(cherry picked from commit c6d40b51)
parent 7882268c
No related branches found
No related tags found
Loading
......@@ -570,7 +570,7 @@ util_format_is_depth_and_stencil(enum pipe_format format)
/**
* For depth-stencil formats, return the equivalent depth-only format.
*/
static inline boolean
static inline enum pipe_format
util_format_get_depth_only(enum pipe_format format)
{
switch (format) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment