summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/R600CodeEmitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/radeon/R600CodeEmitter.cpp')
-rw-r--r--src/gallium/drivers/radeon/R600CodeEmitter.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/gallium/drivers/radeon/R600CodeEmitter.cpp b/src/gallium/drivers/radeon/R600CodeEmitter.cpp
index 421562255f6..cc1fbb72cf5 100644
--- a/src/gallium/drivers/radeon/R600CodeEmitter.cpp
+++ b/src/gallium/drivers/radeon/R600CodeEmitter.cpp
@@ -90,8 +90,6 @@ namespace {
unsigned getHWReg(unsigned regNo) const;
- unsigned getElement(unsigned regNo);
-
};
} /* End anonymous namespace */
@@ -710,19 +708,5 @@ uint64_t R600CodeEmitter::getMachineOpValue(const MachineInstr &MI,
}
}
-
-RegElement maskBitToElement(unsigned int maskBit)
-{
- switch (maskBit) {
- case WRITE_MASK_X: return ELEMENT_X;
- case WRITE_MASK_Y: return ELEMENT_Y;
- case WRITE_MASK_Z: return ELEMENT_Z;
- case WRITE_MASK_W: return ELEMENT_W;
- default:
- assert("Invalid maskBit");
- return ELEMENT_X;
- }
-}
-
#include "AMDILGenCodeEmitter.inc"