mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 07:18:17 +02:00
tgsi,softpipe: use enum tgsi_opcode
Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
ec478cf9c3
commit
7181a9fa0e
3 changed files with 8 additions and 8 deletions
|
|
@ -134,7 +134,7 @@ struct tgsi_image {
|
|||
|
||||
void (*op)(const struct tgsi_image *image,
|
||||
const struct tgsi_image_params *params,
|
||||
unsigned opcode,
|
||||
enum tgsi_opcode opcode,
|
||||
const int s[TGSI_QUAD_SIZE],
|
||||
const int t[TGSI_QUAD_SIZE],
|
||||
const int r[TGSI_QUAD_SIZE],
|
||||
|
|
@ -167,7 +167,7 @@ struct tgsi_buffer {
|
|||
|
||||
void (*op)(const struct tgsi_buffer *buffer,
|
||||
const struct tgsi_buffer_params *params,
|
||||
unsigned opcode,
|
||||
enum tgsi_opcode opcode,
|
||||
const int s[TGSI_QUAD_SIZE],
|
||||
float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE],
|
||||
float rgba2[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE]);
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ handle_op_uint(const struct pipe_shader_buffer *bview,
|
|||
bool just_read,
|
||||
unsigned char *data_ptr,
|
||||
uint qi,
|
||||
unsigned opcode,
|
||||
enum tgsi_opcode opcode,
|
||||
unsigned writemask,
|
||||
float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE],
|
||||
float rgba2[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE])
|
||||
|
|
@ -281,7 +281,7 @@ handle_op_uint(const struct pipe_shader_buffer *bview,
|
|||
static void
|
||||
sp_tgsi_op(const struct tgsi_buffer *buffer,
|
||||
const struct tgsi_buffer_params *params,
|
||||
unsigned opcode,
|
||||
enum tgsi_opcode opcode,
|
||||
const int s[TGSI_QUAD_SIZE],
|
||||
float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE],
|
||||
float rgba2[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE])
|
||||
|
|
|
|||
|
|
@ -384,7 +384,7 @@ handle_op_uint(const struct pipe_image_view *iview,
|
|||
char *data_ptr,
|
||||
uint qi,
|
||||
unsigned stride,
|
||||
unsigned opcode,
|
||||
enum tgsi_opcode opcode,
|
||||
int s,
|
||||
int t,
|
||||
float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE],
|
||||
|
|
@ -501,7 +501,7 @@ handle_op_int(const struct pipe_image_view *iview,
|
|||
char *data_ptr,
|
||||
uint qi,
|
||||
unsigned stride,
|
||||
unsigned opcode,
|
||||
enum tgsi_opcode opcode,
|
||||
int s,
|
||||
int t,
|
||||
float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE],
|
||||
|
|
@ -615,7 +615,7 @@ handle_op_r32f_xchg(const struct pipe_image_view *iview,
|
|||
char *data_ptr,
|
||||
uint qi,
|
||||
unsigned stride,
|
||||
unsigned opcode,
|
||||
enum tgsi_opcode opcode,
|
||||
int s,
|
||||
int t,
|
||||
float rgba[TGSI_NUM_CHANNELS][TGSI_QUAD_SIZE])
|
||||
|
|
@ -649,7 +649,7 @@ handle_op_r32f_xchg(const struct pipe_image_view *iview,
|
|||
static void
|
||||
sp_tgsi_op(const struct tgsi_image *image,
|
||||
const struct tgsi_image_params *params,
|
||||
unsigned opcode,
|
||||
enum tgsi_opcode opcode,
|
||||
const int s[TGSI_QUAD_SIZE],
|
||||
const int t[TGSI_QUAD_SIZE],
|
||||
const int r[TGSI_QUAD_SIZE],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue