static struct tgsi_instruction_label
tgsi_build_instruction_label(
unsigned label,
- struct tgsi_token *prev_token,
struct tgsi_instruction *instruction,
struct tgsi_header *header )
{
unsigned texture,
unsigned num_offsets,
unsigned return_type,
- struct tgsi_token *prev_token,
struct tgsi_instruction *instruction,
struct tgsi_header *header )
{
unsigned qualifier,
unsigned texture,
unsigned format,
- struct tgsi_token *prev_token,
struct tgsi_instruction *instruction,
struct tgsi_header *header )
{
static struct tgsi_texture_offset
tgsi_build_texture_offset(
int index, int file, int swizzle_x, int swizzle_y, int swizzle_z,
- struct tgsi_token *prev_token,
struct tgsi_instruction *instruction,
struct tgsi_header *header )
{
*instruction_label = tgsi_build_instruction_label(
full_inst->Label.Label,
- prev_token,
instruction,
header );
prev_token = (struct tgsi_token *) instruction_label;
full_inst->Texture.Texture,
full_inst->Texture.NumOffsets,
full_inst->Texture.ReturnType,
- prev_token,
instruction,
header );
prev_token = (struct tgsi_token *) instruction_texture;
full_inst->TexOffsets[i].SwizzleX,
full_inst->TexOffsets[i].SwizzleY,
full_inst->TexOffsets[i].SwizzleZ,
- prev_token,
instruction,
header);
prev_token = (struct tgsi_token *) texture_offset;
full_inst->Memory.Qualifier,
full_inst->Memory.Texture,
full_inst->Memory.Format,
- prev_token,
instruction,
header );
prev_token = (struct tgsi_token *) instruction_memory;