mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 16:48:07 +02:00
fix s_spantemp.h includes
This commit is contained in:
parent
79c0bb5264
commit
eae0439ae6
1 changed files with 7 additions and 7 deletions
|
|
@ -178,7 +178,7 @@ get_buffer_size( GLframebuffer *buffer, GLuint *width, GLuint *height )
|
|||
DST[GCOMP] = SRC[1]; \
|
||||
DST[BCOMP] = SRC[2]; \
|
||||
DST[BCOMP] = SRC[3]
|
||||
#include "swrast/s_spantemp2.h"
|
||||
#include "swrast/s_spantemp.h"
|
||||
|
||||
/* BGRA */
|
||||
#define NAME(PREFIX) PREFIX##_BGRA
|
||||
|
|
@ -198,7 +198,7 @@ get_buffer_size( GLframebuffer *buffer, GLuint *width, GLuint *height )
|
|||
DST[GCOMP] = SRC[1]; \
|
||||
DST[BCOMP] = SRC[0]; \
|
||||
DST[BCOMP] = SRC[3]
|
||||
#include "swrast/s_spantemp2.h"
|
||||
#include "swrast/s_spantemp.h"
|
||||
|
||||
/* ARGB */
|
||||
#define NAME(PREFIX) PREFIX##_ARGB
|
||||
|
|
@ -218,7 +218,7 @@ get_buffer_size( GLframebuffer *buffer, GLuint *width, GLuint *height )
|
|||
DST[GCOMP] = SRC[2]; \
|
||||
DST[BCOMP] = SRC[3]; \
|
||||
DST[BCOMP] = SRC[0]
|
||||
#include "swrast/s_spantemp2.h"
|
||||
#include "swrast/s_spantemp.h"
|
||||
|
||||
/* RGB */
|
||||
#define NAME(PREFIX) PREFIX##_RGB
|
||||
|
|
@ -237,7 +237,7 @@ get_buffer_size( GLframebuffer *buffer, GLuint *width, GLuint *height )
|
|||
DST[GCOMP] = SRC[1]; \
|
||||
DST[BCOMP] = SRC[2]; \
|
||||
DST[BCOMP] = CHAN_MAX
|
||||
#include "swrast/s_spantemp2.h"
|
||||
#include "swrast/s_spantemp.h"
|
||||
|
||||
/* BGR */
|
||||
#define NAME(PREFIX) PREFIX##_BGR
|
||||
|
|
@ -256,7 +256,7 @@ get_buffer_size( GLframebuffer *buffer, GLuint *width, GLuint *height )
|
|||
DST[GCOMP] = SRC[1]; \
|
||||
DST[BCOMP] = SRC[0]; \
|
||||
DST[BCOMP] = CHAN_MAX
|
||||
#include "swrast/s_spantemp2.h"
|
||||
#include "swrast/s_spantemp.h"
|
||||
|
||||
/* 16-bit BGR */
|
||||
#if CHAN_TYPE == GL_UNSIGNED_BYTE
|
||||
|
|
@ -274,7 +274,7 @@ get_buffer_size( GLframebuffer *buffer, GLuint *width, GLuint *height )
|
|||
DST[GCOMP] = ( (((*SRC) >> 3) & 0xfc) | (((*SRC) >> 5) & 0x3) ); \
|
||||
DST[BCOMP] = ( (((*SRC) << 3) & 0xf8) | (((*SRC) ) & 0x7) ); \
|
||||
DST[ACOMP] = CHAN_MAX
|
||||
#include "swrast/s_spantemp2.h"
|
||||
#include "swrast/s_spantemp.h"
|
||||
#endif /* CHAN_TYPE == GL_UNSIGNED_BYTE */
|
||||
|
||||
/* color index */
|
||||
|
|
@ -289,7 +289,7 @@ get_buffer_size( GLframebuffer *buffer, GLuint *width, GLuint *height )
|
|||
*DST = VALUE[0]
|
||||
#define FETCH_PIXEL(DST, SRC) \
|
||||
DST = SRC[0]
|
||||
#include "swrast/s_spantemp2.h"
|
||||
#include "swrast/s_spantemp.h"
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue