mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-15 00:50:18 +01:00
gallium: remove redundant cube face #defines
This commit is contained in:
parent
077c904b76
commit
95b7771ea7
1 changed files with 1 additions and 8 deletions
|
|
@ -132,6 +132,7 @@ enum pipe_texture_target {
|
|||
#define PIPE_TEX_FACE_NEG_Y 3
|
||||
#define PIPE_TEX_FACE_POS_Z 4
|
||||
#define PIPE_TEX_FACE_NEG_Z 5
|
||||
#define PIPE_TEX_FACE_MAX 6
|
||||
|
||||
#define PIPE_TEX_WRAP_REPEAT 0
|
||||
#define PIPE_TEX_WRAP_CLAMP 1
|
||||
|
|
@ -158,14 +159,6 @@ enum pipe_texture_target {
|
|||
#define PIPE_TEX_COMPARE_NONE 0
|
||||
#define PIPE_TEX_COMPARE_R_TO_TEXTURE 1
|
||||
|
||||
#define PIPE_TEX_FACE_POS_X 0
|
||||
#define PIPE_TEX_FACE_NEG_X 1
|
||||
#define PIPE_TEX_FACE_POS_Y 2
|
||||
#define PIPE_TEX_FACE_NEG_Y 3
|
||||
#define PIPE_TEX_FACE_POS_Z 4
|
||||
#define PIPE_TEX_FACE_NEG_Z 5
|
||||
#define PIPE_TEX_FACE_MAX 6
|
||||
|
||||
#define PIPE_TEXTURE_USAGE_RENDER_TARGET 0x1
|
||||
#define PIPE_TEXTURE_USAGE_DISPLAY_TARGET 0x2 /* ie a backbuffer */
|
||||
#define PIPE_TEXTURE_USAGE_PRIMARY 0x4 /* ie a frontbuffer */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue