OSDN Git Service

r300/compiler: Try to eliminate REPL_ALPHA instructions
authorTom Stellard <tstellar@gmail.com>
Sat, 15 Oct 2011 21:56:15 +0000 (17:56 -0400)
committerTom Stellard <tstellar@gmail.com>
Mon, 17 Oct 2011 02:54:48 +0000 (19:54 -0700)
commit53d32600cc1bf69e048ff6f75ead5ab3f627a3a5
tree7b8d360e6af1810ba4382b148b14db7677526a21
parent8327fd18c9e2e89629696fb8dea729c7f3c773b5
r300/compiler: Try to eliminate REPL_ALPHA instructions

Scalar instruction that need to write to the xyz components of a
register must reserve the RGB instruction slot for a REPL_ALPHA
instruction.  With this commit, the scheduler will attempt to free
the RGB slot by moving the write to the w component of a register.
src/gallium/drivers/r300/compiler/radeon_pair_schedule.c