diff options
author | David Heidelberg <[email protected]> | 2014-12-19 14:11:21 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-12-21 20:34:19 +0100 |
commit | fbfe2918f4e48d0315983b24352e9d3ce7c382f1 (patch) | |
tree | fa36a7f05595172c2272ba86c0f9dea4b781ab54 /src/gallium/drivers/r300/compiler/radeon_opcodes.h | |
parent | aa6415b4852557ed91b4f31065a79b2a6c987c53 (diff) |
r300g: implement ARR opcode
Same as ARL, just has extra rounding.
Useful for st/nine.
Tested-by: Pavel Ondračka <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Signed-off-by: David Heidelberg <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r300/compiler/radeon_opcodes.h')
-rw-r--r-- | src/gallium/drivers/r300/compiler/radeon_opcodes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/compiler/radeon_opcodes.h b/src/gallium/drivers/r300/compiler/radeon_opcodes.h index 0a70901a82f..1c425050727 100644 --- a/src/gallium/drivers/r300/compiler/radeon_opcodes.h +++ b/src/gallium/drivers/r300/compiler/radeon_opcodes.h @@ -47,6 +47,10 @@ typedef enum { * dst.x = floor(src.x), where dst must be an address register */ RC_OPCODE_ARL, + /** special instruction: load address register with round + * dst.x = round(src.x), where dst must be an address register */ + RC_OPCODE_ARR, + /** vec4 instruction: dst.c = ceil(src0.c) */ RC_OPCODE_CEIL, |