summaryrefslogtreecommitdiff
path: root/rsScriptC_Lib.cpp
diff options
context:
space:
mode:
authorJason Sams <rjsams@android.com>2010-05-12 18:26:52 -0700
committerJason Sams <rjsams@android.com>2010-05-12 18:26:52 -0700
commit1b6b7fabe4fe7fdcbcff6b701af7e3c71d254d9e (patch)
tree6ff508ead5393c96c0a08187bb6cfee3e5bfe40e /rsScriptC_Lib.cpp
parentbe36bf3a76481737a7fa606a04144ceef80eb4f2 (diff)
downloadrs-1b6b7fabe4fe7fdcbcff6b701af7e3c71d254d9e.tar.gz
Add missing bindProgramRaster to scriptC_lib.
Change-Id: I06a7075a94ef907478f986b59ded4ff3e2766585
Diffstat (limited to 'rsScriptC_Lib.cpp')
-rw-r--r--rsScriptC_Lib.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/rsScriptC_Lib.cpp b/rsScriptC_Lib.cpp
index d94a62cf..5cf0fdbf 100644
--- a/rsScriptC_Lib.cpp
+++ b/rsScriptC_Lib.cpp
@@ -649,21 +649,24 @@ static void SC_bindProgramFragmentStore(RsProgramFragmentStore pfs)
{
GET_TLS();
rsi_ContextBindProgramFragmentStore(rsc, pfs);
-
}
static void SC_bindProgramFragment(RsProgramFragment pf)
{
GET_TLS();
rsi_ContextBindProgramFragment(rsc, pf);
-
}
static void SC_bindProgramVertex(RsProgramVertex pv)
{
GET_TLS();
rsi_ContextBindProgramVertex(rsc, pv);
+}
+static void SC_bindProgramRaster(RsProgramRaster pv)
+{
+ GET_TLS();
+ rsi_ContextBindProgramRaster(rsc, pv);
}
//////////////////////////////////////////////////////////////////////////////
@@ -1316,6 +1319,7 @@ ScriptCState::SymbolTable_t ScriptCState::gSyms[] = {
{ "bindProgramFragmentStore", (void *)&SC_bindProgramFragmentStore },
{ "bindProgramStore", (void *)&SC_bindProgramFragmentStore },
{ "bindProgramVertex", (void *)&SC_bindProgramVertex },
+ { "bindProgramRaster", (void *)&SC_bindProgramRaster },
{ "bindSampler", (void *)&SC_bindSampler },
{ "bindTexture", (void *)&SC_bindTexture },