diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-12-01 16:44:22 +0100 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-12-01 18:29:50 +0100 |
commit | e6d798948e00e255b80a69562a7d262257f77ee5 (patch) | |
tree | b8e44c50564694cb4ab6273ce500ba4f92f8b45d /src/mesa/drivers/dri/r300/compiler/radeon_opcodes.c | |
parent | 6f7c8c3cbf68ab9b587235198e19af30c1a60a82 (diff) |
r300/compiler: implement and lower OPCODE_CLAMP
Needed for st/vega.
Diffstat (limited to 'src/mesa/drivers/dri/r300/compiler/radeon_opcodes.c')
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/radeon_opcodes.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_opcodes.c b/src/mesa/drivers/dri/r300/compiler/radeon_opcodes.c index da495a3afa..113b27632a 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_opcodes.c +++ b/src/mesa/drivers/dri/r300/compiler/radeon_opcodes.c @@ -67,6 +67,13 @@ struct rc_opcode_info rc_opcodes[MAX_RC_OPCODE] = { .IsComponentwise = 1 }, { + .Opcode = RC_OPCODE_CLAMP, + .Name = "CLAMP", + .NumSrcRegs = 3, + .HasDstReg = 1, + .IsComponentwise = 1 + }, + { .Opcode = RC_OPCODE_CMP, .Name = "CMP", .NumSrcRegs = 3, |