Home
last modified time | relevance | path

Searched refs:floatPtr (Results 1 – 8 of 8) sorted by relevance

/external/skia/modules/canvaskit/
Dhelper.js89 var floatPtr = (this._ptr / BYTES_PER_ELEMENT) + idx;
90 CanvasKit.HEAPF32[floatPtr] = f1;
91 CanvasKit.HEAPF32[floatPtr + 1] = f2;
92 CanvasKit.HEAPF32[floatPtr + 2] = f3;
93 CanvasKit.HEAPF32[floatPtr + 3] = f4;
/external/OpenCL-CTS/test_common/harness/
Dconversions.cpp265 floatPtr = (float *)outRaw; \
266 *floatPtr = (float)(*inType##Ptr); \
280 *outType##Ptr = (outType)lrintf_clamped(*floatPtr); \
287 Long wholeValue = (Long)*floatPtr; \
288 float largeRemainder = (*floatPtr - (float)wholeValue) * 10.f; \
311 wholeValue = (Long)lrintf_clamped(*floatPtr); \
405 float *floatPtr; in convert_explicit_value() local
436 floatPtr = (float *)outRaw; in convert_explicit_value()
437 *floatPtr = (*boolPtr) ? -1.f : 0.f; in convert_explicit_value()
835 floatPtr = (float *)inRaw; in convert_explicit_value()
[all …]
/external/OpenCL-CTS/test_conformance/gl/
Dtest_buffers.cpp86 cl_float *floatPtr = (float *)outData; in gen_input_data() local
88 floatPtr[i] = get_random_float( -100000.f, 100000.f, d ); in gen_input_data()
/external/OpenCL-CTS/test_conformance/gles/
Dtest_buffers.cpp89 cl_float *floatPtr = (float *)outData; in gen_input_data() local
91 floatPtr[i] = get_random_float( -100000.f, 100000.f, d ); in gen_input_data()
/external/deqp/modules/gles31/functional/
Des31fOpaqueTypeIndexingTests.cpp637 const float* floatPtr = (const float*)resPtr; in iterate() local
638 const tcu::Vec4 result (floatPtr[0], floatPtr[1], floatPtr[2], floatPtr[3]); in iterate()
/external/deqp/modules/gles2/performance/
Des2pShaderCompilationCases.cpp1756 const float* floatPtr = progCtx.uniforms[uniformNdx].value.getPtr(); in setShaderInputs() local
1760 case UniformSpec::TYPE_FLOAT: gl.uniform1fv(location, 1, floatPtr); break; in setShaderInputs()
1761 case UniformSpec::TYPE_VEC2: gl.uniform2fv(location, 1, floatPtr); break; in setShaderInputs()
1762 case UniformSpec::TYPE_VEC3: gl.uniform3fv(location, 1, floatPtr); break; in setShaderInputs()
1763 case UniformSpec::TYPE_VEC4: gl.uniform4fv(location, 1, floatPtr); break; in setShaderInputs()
1764 case UniformSpec::TYPE_MAT3: gl.uniformMatrix3fv(location, 1, GL_FALSE, floatPtr); break; in setShaderInputs()
1765 case UniformSpec::TYPE_MAT4: gl.uniformMatrix4fv(location, 1, GL_FALSE, floatPtr); break; in setShaderInputs()
1766 …formSpec::TYPE_TEXTURE_UNIT: gl.uniform1i(location, (GLint)deRoundFloatToInt32(*floatPtr)); break; in setShaderInputs()
/external/deqp/modules/gles3/performance/
Des3pShaderCompilationCases.cpp1776 const float* floatPtr = progCtx.uniforms[uniformNdx].value.getPtr(); in setShaderInputs() local
1780 case UniformSpec::TYPE_FLOAT: gl.uniform1fv(location, 1, floatPtr); break; in setShaderInputs()
1781 case UniformSpec::TYPE_VEC2: gl.uniform2fv(location, 1, floatPtr); break; in setShaderInputs()
1782 case UniformSpec::TYPE_VEC3: gl.uniform3fv(location, 1, floatPtr); break; in setShaderInputs()
1783 case UniformSpec::TYPE_VEC4: gl.uniform4fv(location, 1, floatPtr); break; in setShaderInputs()
1784 case UniformSpec::TYPE_MAT3: gl.uniformMatrix3fv(location, 1, GL_FALSE, floatPtr); break; in setShaderInputs()
1785 case UniformSpec::TYPE_MAT4: gl.uniformMatrix4fv(location, 1, GL_FALSE, floatPtr); break; in setShaderInputs()
1786 …formSpec::TYPE_TEXTURE_UNIT: gl.uniform1i(location, (GLint)deRoundFloatToInt32(*floatPtr)); break; in setShaderInputs()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp945 const float* floatPtr = (const float*)resPtr; in iterate() local
946 const tcu::Vec4 result (floatPtr[0], floatPtr[1], floatPtr[2], floatPtr[3]); in iterate()