Home
last modified time | relevance | path

Searched refs:srcreg (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_program_alu.c131 static struct rc_src_register srcreg(int file, int index) in srcreg() function
255 inst->U.I.SrcReg[0], srcreg(RC_FILE_TEMPORARY, dst.Index)); in transform_CEIL()
271 srcreg(RC_FILE_TEMPORARY, dst.Index), inst->U.I.SrcReg[1]); in transform_CLAMP()
320 inst->U.I.SrcReg[0], negate(srcreg(RC_FILE_TEMPORARY, dst.Index))); in transform_FLR()
336 negate(srcreg(RC_FILE_TEMPORARY, dst.Index))); in transform_TRUNC()
338 negate(srcreg(RC_FILE_TEMPORARY, dst.Index)), srcreg(RC_FILE_TEMPORARY, dst.Index)); in transform_TRUNC()
375 srcreg(RC_FILE_TEMPORARY, rc_find_free_temporary(c))); in transform_LIT()
383 srctemp = srcreg(RC_FILE_TEMPORARY, temp); in transform_LIT()
391 swizzle(srcreg(RC_FILE_CONSTANT, constant), in transform_LIT()
435 inst->U.I.SrcReg[0], srcreg(RC_FILE_TEMPORARY, dst.Index), inst->U.I.SrcReg[2]); in transform_LRP()
[all …]
Dradeon_compiler_util.c288 struct rc_src_register lmul_swizzle(unsigned int swizzle, struct rc_src_register srcreg) in lmul_swizzle() argument
290 struct rc_src_register tmp = srcreg; in lmul_swizzle()
297 tmp.Swizzle |= GET_SWZ(srcreg.Swizzle, swz) << (i*3); in lmul_swizzle()
298 tmp.Negate |= GET_BIT(srcreg.Negate, swz) << i; in lmul_swizzle()
Dradeon_compiler_util.h46 struct rc_src_register lmul_swizzle(unsigned int swizzle, struct rc_src_register srcreg);
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_shader_dump.c414 static void dump_srcreg( struct sh_srcreg srcreg, struct sh_srcreg *indreg, const struct dump_info … in dump_srcreg() argument
416 switch (srcreg.modifier) { in dump_srcreg()
430 dump_reg( *(struct sh_reg *) &srcreg, indreg, di ); in dump_srcreg()
431 switch (srcreg.modifier) { in dump_srcreg()
462 …if (srcreg.swizzle_x != 0 || srcreg.swizzle_y != 1 || srcreg.swizzle_z != 2 || srcreg.swizzle_w !=… in dump_srcreg()
464 …if (srcreg.swizzle_x == srcreg.swizzle_y && srcreg.swizzle_y == srcreg.swizzle_z && srcreg.swizzle… in dump_srcreg()
465 _debug_printf( "%c", "xyzw"[srcreg.swizzle_x] ); in dump_srcreg()
468 _debug_printf( "%c", "xyzw"[srcreg.swizzle_x] ); in dump_srcreg()
469 _debug_printf( "%c", "xyzw"[srcreg.swizzle_y] ); in dump_srcreg()
470 _debug_printf( "%c", "xyzw"[srcreg.swizzle_z] ); in dump_srcreg()
[all …]