summaryrefslogtreecommitdiff
path: root/backend/src/backend/context.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'backend/src/backend/context.hpp')
-rw-r--r--backend/src/backend/context.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/src/backend/context.hpp b/backend/src/backend/context.hpp
index 3d3c6d4d..3faead25 100644
--- a/backend/src/backend/context.hpp
+++ b/backend/src/backend/context.hpp
@@ -98,6 +98,7 @@ namespace gbe
void deallocateScratchMem(int32_t offset);
/*! Preallocated curbe register set including special registers. */
map<ir::Register, uint32_t> curbeRegs;
+ ir::Register getSurfaceBaseReg(unsigned char bti);
protected:
/*! Build the instruction stream. Return false if failed */
virtual bool emitCode(void) = 0;
@@ -138,6 +139,7 @@ namespace gbe
set<ir::LabelIndex> usedLabels; //!< Set of all used labels
JIPMap JIPs; //!< Where to jump all labels/branches
uint32_t simdWidth; //!< Number of lanes per HW threads
+ map<unsigned char, ir::Register> btiRegMap;
GBE_CLASS(Context); //!< Use custom allocators
};