diff options
author | Michel Dänzer <[email protected]> | 2012-09-25 12:40:49 +0200 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2012-10-26 15:51:17 +0200 |
commit | f3257d80b0e3885607afda642d326e47db48ed62 (patch) | |
tree | fc6755aed06829757a6e62f86b5bf10a8418d8d1 /src/gallium/drivers/radeon/SIInstructions.td | |
parent | bd274eb8f4bcc6aeb561d60ffac89dbe8e504d9f (diff) |
radeon/llvm: Add intrinsic for reading SI FRONT_FACE VGPR in the pixel shader.
Signed-off-by: Michel Dänzer <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/SIInstructions.td')
-rw-r--r-- | src/gallium/drivers/radeon/SIInstructions.td | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/SIInstructions.td b/src/gallium/drivers/radeon/SIInstructions.td index 3dc0954a75d..f9bdc63e3e5 100644 --- a/src/gallium/drivers/radeon/SIInstructions.td +++ b/src/gallium/drivers/radeon/SIInstructions.td @@ -1132,6 +1132,11 @@ def : Pat < >; def : Pat < + (int_SI_fs_read_face), + (f32 FRONT_FACE) +>; + +def : Pat < (int_SI_fs_read_pos 0), (f32 POS_X_FLOAT) >; |