From: José Fonseca Date: Wed, 7 May 2008 05:14:48 +0000 (+0900) Subject: gallium: New PIPE_TEXTURE_USAGE_PRIMARY flag for primary surfaces. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fe06a47361b2db3dfde537aeb0c193495a16905e;p=mesa.git gallium: New PIPE_TEXTURE_USAGE_PRIMARY flag for primary surfaces. --- diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index 571ea8c6e15..e7ee8c97ed7 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -287,8 +287,9 @@ struct pipe_surface #define PIPE_TEXTURE_USAGE_RENDER_TARGET 0x1 #define PIPE_TEXTURE_USAGE_DISPLAY_TARGET 0x2 /* ie a backbuffer */ -#define PIPE_TEXTURE_USAGE_DEPTH_STENCIL 0x4 -#define PIPE_TEXTURE_USAGE_SAMPLER 0x8 +#define PIPE_TEXTURE_USAGE_PRIMARY 0x4 /* ie a frontbuffer */ +#define PIPE_TEXTURE_USAGE_DEPTH_STENCIL 0x8 +#define PIPE_TEXTURE_USAGE_SAMPLER 0x10 /** * Texture object.