mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 06:00:14 +01:00
gallium: New PIPE_TEXTURE_USAGE_PRIMARY flag for primary surfaces.
This commit is contained in:
parent
6b0fd0f157
commit
fe06a47361
1 changed files with 3 additions and 2 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue