diff options
-rw-r--r-- | src/gallium/drivers/radeon/SICodeEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/SICodeEmitter.cpp b/src/gallium/drivers/radeon/SICodeEmitter.cpp index 0553f0e7d42..ad494fae7c6 100644 --- a/src/gallium/drivers/radeon/SICodeEmitter.cpp +++ b/src/gallium/drivers/radeon/SICodeEmitter.cpp @@ -25,7 +25,7 @@ #include <stdio.h> #define LITERAL_REG 255 -#define VGPR_BIT(src_idx) (1 << (8 * (src_idx))) +#define VGPR_BIT(src_idx) (1ULL << (9 * src_idx - 1)) using namespace llvm; namespace { |