Home
last modified time | relevance | path

Searched refs:program2 (Results 1 – 19 of 19) sorted by relevance

/external/deqp/external/openglcts/modules/gl/
Dgl4cPostDepthCoverageTests.cpp161 ShaderProgram program2(gl, sources2); in iterate() local
163 if (!program2.isOk()) in iterate()
166 …m_testCtx.getLog() << tcu::TestLog::Message << "Vertex: " << program2.getShaderInfo(SHADERTYPE_VER… in iterate()
168 << "Fragment: " << program2.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in iterate()
169 << "Program: " << program2.getProgramInfo().infoLog << tcu::TestLog::EndMessage; in iterate()
386 ShaderProgram program2(gl, sources2); in iterate() local
388 if (!program2.isOk()) in iterate()
391 …m_testCtx.getLog() << tcu::TestLog::Message << "Vertex: " << program2.getShaderInfo(SHADERTYPE_VER… in iterate()
393 << "Fragment: " << program2.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in iterate()
394 << "Program: " << program2.getProgramInfo().infoLog << tcu::TestLog::EndMessage; in iterate()
[all …]
Dgl4cProgramInterfaceQueryTests.cpp2892 GLuint program2 = CreateProgram(VertexShader().c_str(), FragmentShader().c_str(), false); in Run() local
2935 glGetProgramResourceLocation(program2, GL_PROGRAM_INPUT, "pie"); in Run()
2937 glGetProgramResourceLocationIndex(program2, GL_PROGRAM_OUTPUT, "pie"); in Run()
2942 glDeleteProgram(program2); in Run()
4807 GLuint program2 = CreateProgram(VertexShader2().c_str(), FragmentShader2().c_str(), false); in Run() local
4810 LinkProgram(program2); in Run()
4811 glUseProgram(program2); in Run()
4861 glDeleteProgram(program2); in Run()
/external/angle/src/tests/gl_tests/
DVulkanUniformUpdatesTest.cpp356 ANGLE_GL_PROGRAM(program2, kVS, kFS); in TEST_P()
361 limitMaxSets(program2); in TEST_P()
364 rx::ProgramVk *program2Vk = hackProgram(program2); in TEST_P()
373 GLint colorMaskLoc2 = glGetUniformLocation(program2, "colorMask"); in TEST_P()
383 glUseProgram(program2); in TEST_P()
390 drawQuad(program2, "position", 0.5f, 1.0f, true); in TEST_P()
394 drawQuad(program2, "position", 0.5f, 1.0f, true); in TEST_P()
398 drawQuad(program2, "position", 0.5f, 1.0f, true); in TEST_P()
402 drawQuad(program2, "position", 0.5f, 1.0f, true); in TEST_P()
DMultisampledRenderToTextureTest.cpp342 ANGLE_GL_PROGRAM(program2, kBasicVertexShader, kRedFragmentShader);
343 glUseProgram(program2);
344 GLint positionLocation2 = glGetAttribLocation(program2, "position");
410 ANGLE_GL_PROGRAM(program2, kBasicVertexShader, kRedFragmentShader);
411 glUseProgram(program2);
412 GLint positionLocation2 = glGetAttribLocation(program2, "position");
DStateChangeTest.cpp408 ANGLE_GL_PROGRAM(program2, essl1_shaders::vs::Simple(), essl1_shaders::fs::Blue()); in TEST_P()
409 glUseProgram(program2); in TEST_P()
456 ANGLE_GL_PROGRAM(program2, kSimpleAttributeVS, kSimpleAttributeFS); in TEST_P()
457 glUseProgram(program2); in TEST_P()
458 ASSERT_EQ(attribLoc, glGetAttribLocation(program2, "testAttrib")); in TEST_P()
459 ASSERT_EQ(positionLoc, glGetAttribLocation(program2, "position")); in TEST_P()
1075 ANGLE_GL_PROGRAM(program2, kSamplerMetadataVertexShader1, kSamplerMetadataFragmentShader); in TEST_P()
1076 glUseProgram(program2); in TEST_P()
1077 glUniform1i(glGetUniformLocation(program2, "texture1"), 0); in TEST_P()
1078 glUniform1i(glGetUniformLocation(program2, "texture2"), 0); in TEST_P()
[all …]
DShaderStorageBufferTest.cpp1481 ANGLE_GL_COMPUTE_PROGRAM(program2, kCS2); in TEST_P()
1494 glGetProgramResourceIndex(program2.get(), GL_BUFFER_VARIABLE, "Output.result2"); in TEST_P()
1495 glGetProgramResourceiv(program2.get(), GL_BUFFER_VARIABLE, outVarIndex2, 1, props, 1, 0, in TEST_P()
1505 glUseProgram(program2.get()); in TEST_P()
DUniformBufferTest.cpp2326 ANGLE_GL_PROGRAM(program2, essl3_shaders::vs::Simple(), kFS2.c_str()); in TEST_P()
2328 GLint uniformBufferIndex2 = glGetUniformBlockIndex(program2, "buffer"); in TEST_P()
2331 glGetActiveUniformBlockiv(program2, uniformBufferIndex2, GL_UNIFORM_BLOCK_DATA_SIZE, in TEST_P()
2338 glUniformBlockBinding(program2, uniformBufferIndex2, 0); in TEST_P()
2373 drawQuad(program2.get(), essl3_shaders::PositionAttrib(), 0.5f); in TEST_P()
DFramebufferTest.cpp1104 GLuint program2 = CompileProgram(kVS2, kFS2); in TEST_P() local
1105 ASSERT_NE(program2, 0u); in TEST_P()
1141 glUseProgram(program2); in TEST_P()
DGLSLTest.cpp1039 ANGLE_GL_PROGRAM(program2, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red()); in TEST_P()
1040 drawQuad(program2, essl1_shaders::PositionAttrib(), 0.5f); in TEST_P()
/external/angle/src/tests/compiler_tests/
DShaderVariable_test.cpp258 const char *program2[] = { in TEST() local
269 EXPECT_FALSE(sh::Compile(compiler, program2, 1, SH_VARIABLES)); in TEST()
288 const char *program2[] = { in TEST() local
303 EXPECT_TRUE(sh::Compile(compiler, program2, 1, SH_VARIABLES)); in TEST()
330 const char *program2[] = { in TEST() local
345 EXPECT_TRUE(sh::Compile(compiler, program2, 1, SH_VARIABLES)); in TEST()
372 const char *program2[] = { in TEST() local
391 EXPECT_TRUE(sh::Compile(compiler, program2, 1, SH_VARIABLES)); in TEST()
/external/OpenCL-CTS/test_conformance/device_execution/
Dhost_queue_order.cpp131 clProgramWrapper program1, program2; in test_host_queue_order() local
139 …err_ret = create_single_kernel_helper_with_build_options(context, &program2, &kernel2, arr_size(en… in test_host_queue_order()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgpu_debug_info_manager_test.cc175 auto program2 = RegisterProgram("program2"); in TEST_F() local
188 UnregisterProgram(program2); in TEST_F()
/external/angle/src/tests/perf_tests/
DDrawCallPerf.cpp331 GLuint program2) in ChangeProgramThenDraw() argument
338 glUseProgram(program2); in ChangeProgramThenDraw()
/external/u-boot/board/Arcturus/ucp1020/
DREADME54 B$ run program2
/external/fonttools/Lib/fontTools/cffLib/
Dspecializer.py737 program2 = commandsToProgram(commands) variable
738 print("Program from commands:"); print(programToString(program2))
739 assert program == program2
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c2018 char program2[1000]; in init_draw_stencil_pixels() local
2026 assert(strlen(program) + 4 < sizeof(program2)); in init_draw_stencil_pixels()
2031 snprintf(program2, sizeof(program2), program, texTarget); in init_draw_stencil_pixels()
2036 strlen(program2), (const GLubyte *) program2); in init_draw_stencil_pixels()
2052 char program2[200]; in init_draw_depth_pixels() local
2060 assert(strlen(program) + 4 < sizeof(program2)); in init_draw_depth_pixels()
2065 snprintf(program2, sizeof(program2), program, texTarget); in init_draw_depth_pixels()
2070 strlen(program2), (const GLubyte *) program2); in init_draw_depth_pixels()
/external/deqp/external/openglcts/modules/gles31/
Des31cProgramInterfaceQueryTests.cpp2138 GLuint program2 = CreateProgram(VertexShader().c_str(), FragmentShader().c_str(), false); in Run() local
2180 glGetProgramResourceLocation(program2, GL_PROGRAM_INPUT, "pie"); in Run()
2185 glDeleteProgram(program2); in Run()
3359 GLuint program2 = CreateProgram(VertexShader2().c_str(), FragmentShader2().c_str(), false); in Run() local
3360 LinkProgram(program2); in Run()
3361 glUseProgram(program2); in Run()
3401 glDeleteProgram(program2); in Run()
/external/deqp/modules/gles3/functional/
Des3fNegativeShaderApiTests.cpp324 …glu::ShaderProgram program2(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSo… in init()
342 glUseProgram (program2.getProgram()); in init()
346 glUseProgram (program2.getProgram()); in init()
/external/deqp/modules/gles31/functional/
Des31fNegativeShaderApiTests.cpp390 …glu::ShaderProgram program2(ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, … in use_program() local
408 ctx.glUseProgram (program2.getProgram()); in use_program()
412 ctx.glUseProgram (program2.getProgram()); in use_program()