[Mesa-dev] [PATCH 3/4] i965: Define BRW_DEPTHFORMAT_D24_UNORM_X8_UINT

Kenneth Graunke kenneth at whitecape.org
Tue Apr 12 15:50:16 PDT 2011


On 04/12/2011 03:33 PM, chad at chad-versace.us wrote:
> From: Chad Versace<chad at chad-versace.us>
>
> This depth format was added in Gen5.
>
> Signed-off-by: Chad Versace<chad at chad-versace.us>
> ---
>   src/mesa/drivers/dri/i965/brw_defines.h |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_defines.h b/src/mesa/drivers/dri/i965/brw_defines.h
> index 6c61aef..0f23792 100644
> --- a/src/mesa/drivers/dri/i965/brw_defines.h
> +++ b/src/mesa/drivers/dri/i965/brw_defines.h
> @@ -147,6 +147,7 @@
>   #define BRW_DEPTHFORMAT_D32_FLOAT_S8X24_UINT     0
>   #define BRW_DEPTHFORMAT_D32_FLOAT                1
>   #define BRW_DEPTHFORMAT_D24_UNORM_S8_UINT        2
> +#define BRW_DEPTHFORMAT_D24_UNORM_X8_UINT        3
>   #define BRW_DEPTHFORMAT_D16_UNORM                5
>
>   #define BRW_FLOATING_POINT_IEEE_754        0

It would be nice to have a /* GEN5 */ or /* ILK */ comment here, similar 
to other #defines.

Either way,
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>


More information about the mesa-dev mailing list