diff options
Diffstat (limited to 'libpixelflinger/codeflinger/GGLAssembler.h')
-rw-r--r-- | libpixelflinger/codeflinger/GGLAssembler.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libpixelflinger/codeflinger/GGLAssembler.h b/libpixelflinger/codeflinger/GGLAssembler.h index d993684..9db20df 100644 --- a/libpixelflinger/codeflinger/GGLAssembler.h +++ b/libpixelflinger/codeflinger/GGLAssembler.h @@ -31,6 +31,12 @@ namespace android { // ---------------------------------------------------------------------------- +#define CONTEXT_ADDR_LOAD(REG, FIELD) \ + ADDR_LDR(AL, REG, mBuilderContext.Rctx, immed12_pre(GGL_OFFSETOF(FIELD))) + +#define CONTEXT_ADDR_STORE(REG, FIELD) \ + ADDR_STR(AL, REG, mBuilderContext.Rctx, immed12_pre(GGL_OFFSETOF(FIELD))) + #define CONTEXT_LOAD(REG, FIELD) \ LDR(AL, REG, mBuilderContext.Rctx, immed12_pre(GGL_OFFSETOF(FIELD))) |