Home
last modified time | relevance | path

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

/third_party/typescript/src/testRunner/unittests/
DreuseProgramStructure.ts231 const program2 = updateProgram(program1, ["a.ts"], { target }, files => { constant
234 assert.equal(program2.structureIsReused, StructureIsReused.Completely);
236 … const program2Diagnostics = program2.getSemanticDiagnostics(program1.getSourceFile("a.ts"));
242 const program2 = updateProgram(program1, ["a.ts"], { target }, files => { constant
245 assert.equal(program2.structureIsReused, StructureIsReused.Completely);
247 … const program2Diagnostics = program2.getSemanticDiagnostics(program1.getSourceFile("a.ts"));
253 const program2 = updateProgram(program1, ["a.ts"], { target }, files => { constant
259 assert.equal(program2.structureIsReused, StructureIsReused.SafeModules);
264 const program2 = updateProgram(program1, ["a.ts"], { types: ["b"] }, noop); constant
265 assert.equal(program2.structureIsReused, StructureIsReused.Not);
[all …]
DmoduleResolution.ts1533 const program2 = createProgram(names, {}, compilerHost, program1); constant
1534 assert.isTrue(program2.structureIsReused === StructureIsReused.Completely);
1535 const diagnostics2 = program2.getOptionsDiagnostics();
/third_party/vk-gl-cts/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()
/third_party/flutter/skia/third_party/externals/angle2/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()
DFramebufferTest.cpp856 GLuint program2 = CompileProgram(kVS2, kFS2); in TEST_P() local
857 ASSERT_NE(program2, 0u); in TEST_P()
893 glUseProgram(program2); in TEST_P()
DStateChangeTest.cpp422 ANGLE_GL_PROGRAM(program2, kSimpleAttributeVS, kSimpleAttributeFS); in TEST_P()
423 glUseProgram(program2); in TEST_P()
424 ASSERT_EQ(attribLoc, glGetAttribLocation(program2, "testAttrib")); in TEST_P()
425 ASSERT_EQ(positionLoc, glGetAttribLocation(program2, "position")); in TEST_P()
1022 ANGLE_GL_PROGRAM(program2, kSamplerMetadataVertexShader1, kSamplerMetadataFragmentShader); in TEST_P()
1023 glUseProgram(program2); in TEST_P()
1024 glUniform1i(glGetUniformLocation(program2, "texture1"), 0); in TEST_P()
1025 glUniform1i(glGetUniformLocation(program2, "texture2"), 0); in TEST_P()
1035 glUseProgram(program2); in TEST_P()
2922 ANGLE_GL_PROGRAM(program2, kVS, kFS); in TEST_P()
[all …]
DShaderStorageBufferTest.cpp1477 ANGLE_GL_COMPUTE_PROGRAM(program2, kCS2); in TEST_P()
1490 glGetProgramResourceIndex(program2.get(), GL_BUFFER_VARIABLE, "Output.result2"); in TEST_P()
1491 glGetProgramResourceiv(program2.get(), GL_BUFFER_VARIABLE, outVarIndex2, 1, props, 1, 0, in TEST_P()
1501 glUseProgram(program2.get()); in TEST_P()
DGLSLTest.cpp978 ANGLE_GL_PROGRAM(program2, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red()); in TEST_P()
979 drawQuad(program2, essl1_shaders::PositionAttrib(), 0.5f); in TEST_P()
/third_party/flutter/skia/third_party/externals/angle2/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()
/third_party/skia/third_party/externals/angle2/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()
/third_party/typescript/src/testRunner/unittests/services/
DlanguageService.ts109 const program2 = ls.getProgram()!; constant
110 assert.strictEqual(program1, program2);
117 assert.notStrictEqual(program2, program3);
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DVulkanUniformUpdatesTest.cpp354 ANGLE_GL_PROGRAM(program2, kVS, kFS); in TEST_P()
368 GLint colorMaskLoc2 = glGetUniformLocation(program2, "colorMask"); in TEST_P()
378 glUseProgram(program2); in TEST_P()
385 drawQuad(program2, "position", 0.5f, 1.0f, true); in TEST_P()
389 drawQuad(program2, "position", 0.5f, 1.0f, true); in TEST_P()
393 drawQuad(program2, "position", 0.5f, 1.0f, true); in TEST_P()
397 drawQuad(program2, "position", 0.5f, 1.0f, true); in TEST_P()
DStateChangeTest.cpp436 ANGLE_GL_PROGRAM(program2, essl1_shaders::vs::Simple(), essl1_shaders::fs::Blue()); in TEST_P()
437 glUseProgram(program2); in TEST_P()
484 ANGLE_GL_PROGRAM(program2, kSimpleAttributeVS, kSimpleAttributeFS); in TEST_P()
485 glUseProgram(program2); in TEST_P()
486 ASSERT_EQ(attribLoc, glGetAttribLocation(program2, "testAttrib")); in TEST_P()
487 ASSERT_EQ(positionLoc, glGetAttribLocation(program2, "position")); in TEST_P()
1196 ANGLE_GL_PROGRAM(program2, kSamplerMetadataVertexShader1, kSamplerMetadataFragmentShader); in TEST_P()
1197 glUseProgram(program2); in TEST_P()
1198 glUniform1i(glGetUniformLocation(program2, "texture1"), 0); in TEST_P()
1199 glUniform1i(glGetUniformLocation(program2, "texture2"), 0); in TEST_P()
[all …]
DShaderStorageBufferTest.cpp1602 ANGLE_GL_COMPUTE_PROGRAM(program2, kCS2); in TEST_P()
1615 glGetProgramResourceIndex(program2.get(), GL_BUFFER_VARIABLE, "Output.result2"); in TEST_P()
1616 glGetProgramResourceiv(program2.get(), GL_BUFFER_VARIABLE, outVarIndex2, 1, props, 1, 0, in TEST_P()
1626 glUseProgram(program2.get()); in TEST_P()
DMultisampledRenderToTextureTest.cpp656 ANGLE_GL_PROGRAM(program2, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red()); in colorAttachmentMultisampleDrawTestCommon()
657 glUseProgram(program2); in colorAttachmentMultisampleDrawTestCommon()
658 GLint positionLocation2 = glGetAttribLocation(program2, essl1_shaders::PositionAttrib()); in colorAttachmentMultisampleDrawTestCommon()
884 ANGLE_GL_PROGRAM(program2, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red());
885 glUseProgram(program2);
886 GLint positionLocation2 = glGetAttribLocation(program2, essl1_shaders::PositionAttrib());
DUniformBufferTest.cpp2572 ANGLE_GL_PROGRAM(program2, essl3_shaders::vs::Simple(), kFS2.c_str()); in TEST_P()
2574 GLint uniformBufferIndex2 = glGetUniformBlockIndex(program2, "buffer"); in TEST_P()
2577 glGetActiveUniformBlockiv(program2, uniformBufferIndex2, GL_UNIFORM_BLOCK_DATA_SIZE, in TEST_P()
2584 glUniformBlockBinding(program2, uniformBufferIndex2, 0); in TEST_P()
2602 drawQuad(program2.get(), essl3_shaders::PositionAttrib(), 0.5f); in TEST_P()
DFramebufferTest.cpp2676 ANGLE_GL_PROGRAM(program2, kVS2, kFS2); in TEST_P()
2712 glUseProgram(program2); in TEST_P()
DGLSLTest.cpp1686 ANGLE_GL_PROGRAM(program2, essl1_shaders::vs::Simple(), essl1_shaders::fs::Red()); in TEST_P()
1687 drawQuad(program2, essl1_shaders::PositionAttrib(), 0.5f); in TEST_P()
/third_party/skia/third_party/externals/angle2/src/tests/perf_tests/
DDrawCallPerf.cpp400 GLuint program2) in ChangeProgramThenDraw() argument
407 glUseProgram(program2); in ChangeProgramThenDraw()
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
Des31cProgramInterfaceQueryTests.cpp2225 GLuint program2 = CreateProgram(VertexShader().c_str(), FragmentShader().c_str(), false); in Run() local
2267 glGetProgramResourceLocation(program2, GL_PROGRAM_INPUT, "pie"); in Run()
2272 glDeleteProgram(program2); in Run()
3446 GLuint program2 = CreateProgram(VertexShader2().c_str(), FragmentShader2().c_str(), false); in Run() local
3447 LinkProgram(program2); in Run()
3448 glUseProgram(program2); in Run()
3488 glDeleteProgram(program2); in Run()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fNegativeShaderApiTests.cpp326 …glu::ShaderProgram program2(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSo… in init()
344 glUseProgram (program2.getProgram()); in init()
348 glUseProgram (program2.getProgram()); in init()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fNegativeShaderApiTests.cpp398 …glu::ShaderProgram program2(ctx.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, … in use_program() local
416 ctx.glUseProgram (program2.getProgram()); in use_program()
420 ctx.glUseProgram (program2.getProgram()); in use_program()
/third_party/openssl/doc/internal/man7/
Dbuild.info.pod586 DEPEND[program2]=libmandatory.a lib2.a