From 451cf2e16555c96eaaf9d8180e29dd97a5d6cbd7 Mon Sep 17 00:00:00 2001 From: Jason Sams Date: Wed, 17 Aug 2011 13:46:46 -0700 Subject: Add structure to pack params for forEach. This allows the driver to not pass all the sub-params. Change-Id: I9728a7bb39893f49193a55155994ede0400cb7a6 --- rs_hal.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'rs_hal.h') diff --git a/rs_hal.h b/rs_hal.h index 6a4537b3..21dff218 100644 --- a/rs_hal.h +++ b/rs_hal.h @@ -40,6 +40,19 @@ class FBOCache; typedef void *(*RsHalSymbolLookupFunc)(void *usrptr, char const *symbolName); +typedef struct { + const void *in; + void *out; + const void *usr; + size_t usr_len; + uint32_t x; + uint32_t y; + uint32_t z; + uint32_t lod; + RsAllocationCubemapFace face; + uint32_t ar[16]; +} RsForEachStubParamStruct; + /** * Script management functions */ -- cgit v1.2.3