From d6a5b40cc787c1d516e3452dc4dcdb5f5c60676c Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Wed, 26 Jan 2011 12:31:36 -0800 Subject: Hook up tgammaf properly for RS. Change-Id: I9b489cbfe49b3c01028f23c1123bc272e100c60e b: 3370708, 2933146 --- libs/rs/rsScriptC_LibCL.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/rs/rsScriptC_LibCL.cpp') diff --git a/libs/rs/rsScriptC_LibCL.cpp b/libs/rs/rsScriptC_LibCL.cpp index 02d33b7..57855db 100644 --- a/libs/rs/rsScriptC_LibCL.cpp +++ b/libs/rs/rsScriptC_LibCL.cpp @@ -195,7 +195,7 @@ static ScriptCState::SymbolTable_t gSyms[] = { { "_Z4logbf", (void *)&logbf, true }, { "_Z3madfff", (void *)&SC_mad, true }, { "_Z4modffPf", (void *)&modff, true }, - //{ "nan", (void *)&, true }, + //{ "_Z3nanj", (void *)&SC_nan, true }, { "_Z9nextafterff", (void *)&nextafterf, true }, { "_Z3powff", (void *)&powf, true }, { "_Z9remainderff", (void *)&remainderf, true }, @@ -210,7 +210,7 @@ static ScriptCState::SymbolTable_t gSyms[] = { { "_Z4sqrtf", (void *)&sqrtf, true }, { "_Z3tanf", (void *)&tanf, true }, { "_Z4tanhf", (void *)&tanhf, true }, - { "_Z6tgammaf", (void *)&lgammaf, true }, // FIXME!!! NEEDS TO USE tgammaf + { "_Z6tgammaf", (void *)&tgammaf, true }, { "_Z5truncf", (void *)&truncf, true }, // OpenCL Int -- cgit v1.1