Home
last modified time | relevance | path

Searched refs:testProgram (Results 1 – 11 of 11) sorted by relevance

/external/deqp/external/openglcts/modules/common/
DglcAggressiveShaderOptimizationsTests.cpp432 glu::ShaderProgram testProgram(renderContext, sources); in renderAndGrabSurface() local
433 if (!testProgram.isOk()) in renderAndGrabSurface()
435 m_testCtx.getLog() << testProgram; in renderAndGrabSurface()
440 gl.useProgram(testProgram.getProgram()); in renderAndGrabSurface()
443 glu::draw(renderContext, testProgram.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in renderAndGrabSurface()
DglcPolygonOffsetClampTests.cpp277 ShaderProgram testProgram(gl, testSources); in test() local
279 if (!testProgram.isOk()) in test()
282 << "Vertex: " << testProgram.getShaderInfo(SHADERTYPE_VERTEX).infoLog << "\n" in test()
283 << "Fragment: " << testProgram.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in test()
284 << "Program: " << testProgram.getProgramInfo().infoLog << tcu::TestLog::EndMessage; in test()
317 gl.useProgram(testProgram.getProgram()); in test()
DglcMultipleContextsTests.cpp86 bool testProgram(Utils::program** programs, bool is_separable, const glw::GLuint test_cases[][5],
248 if (false == testProgram(program_pointers, false, test_cases, n_test_cases)) in iterate()
276 if (false == testProgram(program_pointers, true, test_cases, n_test_cases)) in iterate()
775 bool UniformPreservationTest::testProgram(Utils::program** programs, bool is_separable, in testProgram() function in glcts::UniformPreservationTest
DglcInternalformatTests.cpp749 glu::ShaderProgram testProgram( in iterate() local
752 if (!testProgram.isOk()) in iterate()
754 m_testCtx.getLog() << testProgram; in iterate()
757 gl.useProgram(testProgram.getProgram()); in iterate()
758 gl.uniform1i(gl.getUniformLocation(testProgram.getProgram(), "sampler"), 0); in iterate()
762 renderTexturedQuad(testProgram.getProgram()); in iterate()
/external/OpenCL-CTS/test_conformance/api/
Dtest_retain_program.cpp29 const char *testProgram[] = { "__kernel void sample_test(__global int *data){}" }; in test_release_kernel_order() local
32 error = create_single_kernel_helper(context, &program, NULL, 1, testProgram, NULL); in test_release_kernel_order()
Dtest_kernels.cpp84 cl_program program, testProgram; in test_get_kernel_info() local
146 if( paramSize != sizeof( testProgram ) ) in test_get_kernel_info()
148 …gram param returns invalid size (expected %d, got %d)\n", (int)sizeof( testProgram ), (int)paramSi… in test_get_kernel_info()
152 error = clGetKernelInfo( kernel, CL_KERNEL_PROGRAM, sizeof( testProgram ), &testProgram, NULL ); in test_get_kernel_info()
154 if( testProgram != program ) in test_get_kernel_info()
156 …or( "ERROR: Kernel program returned invalid value (expected %p, got %p)\n", program, testProgram ); in test_get_kernel_info()
Dtest_create_kernels.cpp80 cl_program testProgram; in test_load_single_kernel() local
96 …error = clGetKernelInfo( kernel, CL_KERNEL_PROGRAM, sizeof( cl_program ), &testProgram, &realSize … in test_load_single_kernel()
98 if( (cl_program)testProgram != (cl_program)program ) in test_load_single_kernel()
100 …match program used to create it! (Got %p, expected %p)\n", (cl_program)testProgram, (cl_program)pr… in test_load_single_kernel()
Dtest_retain.cpp246 const char *testProgram[] = { "__kernel void sample_test(__global int *data){}" }; in test_retain_mem_object_set_kernel_arg() local
254 err = create_single_kernel_helper( context, &program, nullptr, 1, testProgram, nullptr ); in test_retain_mem_object_set_kernel_arg()
/external/clang/utils/
Dtoken-delta.py134 def __init__(self, testProgram, tokenLists, log): argument
139 self.testProgram = testProgram
190 p = subprocess.Popen([self.testProgram] + self.tempFiles)
/external/deqp/external/openglcts/modules/gl/
Dgl4cVertexAttrib64BitTest.cpp1406 bool testProgram(_iteration iteration, GLuint program_id, bool use_arrays) const;
2756 if (false == testProgram(iteration, _no_array__no_location______regular.m_program_id, false)) in testIteration()
2763 if (false == testProgram(iteration, use_array__no_location______regular.m_program_id, true)) in testIteration()
2770 if (false == testProgram(iteration, _no_array_use_location______regular.m_program_id, false)) in testIteration()
2777 if (false == testProgram(iteration, use_array_use_location______regular.m_program_id, true)) in testIteration()
2854 bool LimitTest::testProgram(_iteration iteration, GLuint program_id, bool use_arrays) const in testProgram() function in VertexAttrib64Bit::LimitTest
/external/deqp/external/openglcts/modules/gles2/
Des2cTexture3DTests.cpp332 glu::ShaderProgram testProgram(renderContext, programSources); in renderQuad() local
333 if (!testProgram.isOk()) in renderQuad()
335 m_testCtx.getLog() << testProgram; in renderQuad()
340 deUint32 programId = testProgram.getProgram(); in renderQuad()