Home
last modified time | relevance | path

Searched refs:program (Results 376 - 400 of 1142) sorted by relevance

1...<<11121314151617181920>>...46

/third_party/mesa3d/src/amd/compiler/
H A Daco_form_hard_clauses.cpp65 form_hard_clauses(Program* program) in form_hard_clauses() argument
67 for (Block& block : program->blocks) { in form_hard_clauses()
74 Builder bld(program, &new_instructions); in form_hard_clauses()
81 if (program->gfx_level == GFX10 && instr->isMIMG() && in form_hard_clauses()
/third_party/node/test/async-hooks/
H A Dtest-callback-error.js62 let program = process.execPath;
67 program = `ulimit -c 0 && exec ${program} ${args.join(' ')}`;
71 const child = spawnSync(program, args, options);
/third_party/skia/src/gpu/vk/
H A DGrVkUtil.cpp102 std::unique_ptr<SkSL::Program> program = gpu->shaderCompiler()->convertProgram( in GrCompileVkShaderModule() local
104 if (!program) { in GrCompileVkShaderModule()
109 *outInputs = program->fInputs; in GrCompileVkShaderModule()
110 if (!gpu->shaderCompiler()->toSPIRV(*program, outSPIRV)) { in GrCompileVkShaderModule()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
H A Dfunction_decl_test.cc76 auto got = test::ToString(p->program()); in TEST_F()
96 auto got = test::ToString(p->program()); in TEST_F()
121 auto got = test::ToString(p->program()); in TEST_F()
145 auto got = test::ToString(p->program()); in TEST_F()
/third_party/skia/third_party/externals/tint/src/transform/
H A Dtransform.h23 #include "src/program.h"
130 /// @param program the program to move into this Output
131 explicit Output(Program&& program);
134 /// @param program_ the program to move into this Output
139 : program(std::move(program_)), data(std::forward<DATA>(data_)...) {} in Output()
141 /// The transformed program. May be empty on error.
142 Program program; member in tint::transform::Output
156 /// Runs the transform on `program`, returning the transformation result.
157 /// @param program th
[all...]
/third_party/typescript/tests/baselines/reference/
H A DAPISample_Watch.js12 * at: https://github.com/Microsoft/TypeScript-wiki/blob/master/Using-the-Compiler-API.md#writing-an-incremental-program-watcher
34 // TypeScript can use several different program creation "strategies":
40 // The last uses an ordinary program which does a full type check after every change.
55 console.log("** We're about to create the program! **");
60 host.afterProgramCreate = program => {
61 console.log("** We finished making the program! **");
62 origPostProgramCreate!(program);
65 // `createWatchProgram` creates an initial program, watches files, and updates the program over time.
90 * at: https://github.com/Microsoft/TypeScript-wiki/blob/master/Using-the-Compiler-API.md#writing-an-incremental-program
[all...]
H A DAPISample_WatchWithOwnWatchHost.js49 console.log("** We're about to create the program! **");
54 host.afterProgramCreate = program => {
55 console.log("** We finished making the program! **");
56 origPostProgramCreate!(program);
59 // `createWatchProgram` creates an initial program, watches files, and updates the program over time.
99 console.log("** We're about to create the program! **");
103 host.afterProgramCreate = function (program) {
104 console.log("** We finished making the program! **");
105 origPostProgramCreate(program);
[all...]
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fLightAmountTest.cpp169 // Create shader and program objects. in iterate()
170 glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexShaderSource, fragmentShaderSource)); in iterate()
171 m_testCtx.getLog() << program; in iterate()
174 glUseProgram(program.getProgram()); in iterate()
176 bool testOk = program.isOk(); in iterate()
/third_party/ffmpeg/tests/fate/
H A Dmpegts.mak13 FATE_MPEGTS_PROBE-$(call DEMDEC, MPEGTS, HEVC, LOAS_DEMUXER) += fate-mpegts-probe-program
14 fate-mpegts-probe-program: SRC = $(TARGET_SAMPLES)/mpegts/loewe.ts
15 fate-mpegts-probe-program: CMD = run $(PROBE_CODEC_NAME_COMMAND) -select_streams p:769:v:0 -i "$(SRC)"
/third_party/libunwind/libunwind/tests/
H A Dforker.c35 char *program, **child_argv; in main() local
43 program = argv[2]; in main()
56 execve (program, child_argv, envp); in main()
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_compile_clip.c49 * This program accesses the entire VUE, so nr_regs needs to be the size of in brw_compile_clip()
62 /* Would ideally have the option of producing a program which could in brw_compile_clip()
86 const unsigned *program = brw_get_program(&c.func, final_assembly_size); in brw_compile_clip() local
91 program, 0, *final_assembly_size, stderr); in brw_compile_clip()
95 return program; in brw_compile_clip()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DVulkanDescriptorSetTest.cpp65 // Must be before program creation to limit the descriptor pool sizes when creating the pipeline in TEST_P()
81 ANGLE_GL_PROGRAM(program, essl31_shaders::vs::Simple(), kFS); in TEST_P()
83 glUseProgram(program.get()); in TEST_P()
94 drawQuad(program.get(), essl31_shaders::PositionAttrib(), 0.0f); in TEST_P()
H A DBlendPackedTest.cpp35 ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), kFs); in runTest()
36 glUseProgram(program); in runTest()
64 drawQuad(program, essl1_shaders::PositionAttrib(), 0.5f); in runTest()
H A DCopyTextureTest.cpp1256 ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Texture2D(), essl1_shaders::fs::Texture2D()); in TEST_P()
1257 glUseProgram(program); in TEST_P()
1258 GLint textureLoc = glGetUniformLocation(program, essl1_shaders::Texture2DUniform()); in TEST_P()
1278 drawQuad(program, std::string(essl1_shaders::PositionAttrib()), 0.5f); in TEST_P()
1289 drawQuad(program, std::string(essl1_shaders::PositionAttrib()), 0.5f); in TEST_P()
1823 ANGLE_GL_PROGRAM(program, kVS, kFS); in TEST_P()
1824 glUseProgram(program); in TEST_P()
1838 glUniform1i(glGetUniformLocation(program.get(), "tex"), 0); in TEST_P()
1840 drawQuad(program, "position", 0.5f, 1.0f, true); in TEST_P()
1960 ANGLE_GL_PROGRAM(program, kV in TEST_P()
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gles31/
H A Des31cExplicitUniformLocationTest.cpp1344 CompiledProgram program;
1345 program.name = glCreateProgram();
1352 glAttachShader(program.name, shader);
1354 program.stages.push_back(programConfigs[config][target].stage);
1356 programs.push_back(program);
1378 Logger::Get()->writeCompileInfo("program", "", status == GL_TRUE, infoLog);
1392 Logger() << "Negative link case failed: program should not link, but GL_LINK_STATUS != 0";
1410 void setUniform(const Uniform& uniform, const CompiledProgram& program)
1414 for (size_t i = 0; i < program.stages.size(); i++)
1416 used |= uniform.declOccurence.occurs(program
[all...]
H A Des31cSeparateShaderObjsTests.cpp64 * * Test with valid parameters and verify that program and GL state are set
82 * * Test with a program containing
86 * * Test with null program to reset a stage or stages. Expect no errors.
87 * * Test with a program that doesn't contain code for a stage defined in the
89 * * Test with a new program pipeline object that has not yet been used/bound.
95 * * Test with program that isn't separable. Expect INVALID_OPERATION GL error.
96 * * Test with program that isn't linked succesfully. Expect INVALID_OPERATION
98 * * Test with deleted/nonexistent program. Expect INVALID_OPERATION error.
105 * * Test with a new program pipeline object that has not yet been used/bound.
109 * * Test with deleted/nonexistent program pipelin
536 checkCSProg(const glw::Functions& gl, GLuint program, int expectedSep = GL_TRUE, int expectedLink = GL_TRUE) checkCSProg() argument
555 glw::GLuint program; iterate() local
2002 logProgramInfoLog(const glw::Functions& gl, glw::GLuint program) logProgramInfoLog() argument
2019 checkCSProg(const glw::Functions& gl, GLuint program, int expectedLink = GL_TRUE) checkCSProg() argument
2622 logProgramInfoLog(const glw::Functions& gl, glw::GLuint program) logProgramInfoLog() argument
2639 checkCSProg(const glw::Functions& gl, GLuint program, int expectedLink = GL_TRUE) checkCSProg() argument
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cSparseTextureClampTests.cpp386 ShaderProgram program(m_context.getRenderContext(), sources); in verifyLookupTextureData()
387 if (program.isOk()) in verifyLookupTextureData()
399 gl.useProgram(program.getProgram()); in verifyLookupTextureData()
418 draw(target, z, program); in verifyLookupTextureData()
444 << ", vertexInfoLog: " << program.getShaderInfo(SHADERTYPE_VERTEX).infoLog in verifyLookupTextureData()
445 << ", fragmentInfoLog: " << program.getShaderInfo(SHADERTYPE_FRAGMENT).infoLog in verifyLookupTextureData()
446 << ", programInfoLog: " << program.getProgramInfo().infoLog << ", fragmentSource: " << fragment.c_str() in verifyLookupTextureData()
464 void SparseTextureClampLookupResidencyTestCase::draw(GLint target, GLint layer, const ShaderProgram& program) in draw() argument
513 glu::draw(m_context.getRenderContext(), program.getProgram(), DE_LENGTH_OF_ARRAY(vertexArrays), vertexArrays, in draw()
763 ShaderProgram program(m_contex in writeDataToTexture()
[all...]
H A Dgl4cClipControlTests.cpp440 de::SharedPtr<glu::ShaderProgram> program( in iterate()
443 log << (*program); in iterate()
444 if (!program->isOk()) in iterate()
462 gl.useProgram(program->getProgram()); in iterate()
641 de::SharedPtr<glu::ShaderProgram> program( in iterate()
644 log << (*program); in iterate()
645 if (!program->isOk()) in iterate()
665 gl.useProgram(program->getProgram()); in iterate()
830 de::SharedPtr<glu::ShaderProgram> program( in iterate()
833 log << (*program); in iterate()
[all...]
H A Dgl4cShaderSubroutineTests.cpp207 const glw::GLenum Utils::program::ARB_COMPUTE_SHADER = 0x91B9;
213 Utils::program::program(deqp::Context& context) in program() function in gl4cts::ShaderSubroutine::Utils::program
229 Utils::program::~program() in ~program()
234 /** Build program
244 * @param is_separable Selects if monolithis or separable program should be built. Defaults to false
246 void Utils::program::build(const glw::GLchar* compute_shader_code, const glw::GLchar* fragment_shader_code, in build()
303 /* Create program object */ in build()
321 /* Link program */ in build()
[all...]
/third_party/skia/third_party/externals/tint/src/writer/spirv/
H A Dbuilder_type_test.cc41 auto id = b.GenerateTypeIfNeeded(program->TypeOf(ary)); in TEST_F()
62 EXPECT_EQ(b.GenerateTypeIfNeeded(program->TypeOf(ary)), 1u); in TEST_F()
63 EXPECT_EQ(b.GenerateTypeIfNeeded(program->TypeOf(ary)), 1u); in TEST_F()
77 auto id = b.GenerateTypeIfNeeded(program->TypeOf(ary)); in TEST_F()
94 auto id = b.GenerateTypeIfNeeded(program->TypeOf(ary)); in TEST_F()
114 EXPECT_EQ(b.GenerateTypeIfNeeded(program->TypeOf(ary)), 1u); in TEST_F()
115 EXPECT_EQ(b.GenerateTypeIfNeeded(program->TypeOf(ary)), 1u); in TEST_F()
274 auto id = b.GenerateTypeIfNeeded(program->TypeOf(s)); in TEST_F()
292 auto id = b.GenerateTypeIfNeeded(program->TypeOf(s)); in TEST_F()
315 auto id = b.GenerateTypeIfNeeded(program in TEST_F()
[all...]
/third_party/mesa3d/src/mesa/main/
H A Dffvertex_prog.c31 * Create a vertex program to execute the current fixed function T&L pipeline.
43 #include "program/program.h"
44 #include "program/prog_cache.h"
45 #include "program/prog_instruction.h"
46 #include "program/prog_parameter.h"
47 #include "program/prog_print.h"
48 #include "program/prog_statevars.h"
283 * generated program with line/function references for each
313 struct gl_program *program; member
1698 create_new_program( const struct state_key *key, struct gl_program *program, GLboolean mvp_with_dp4, GLuint max_temps) create_new_program() argument
[all...]
/third_party/skia/tests/
H A DSkVMTest.cpp33 std::vector<skvm::Instruction> program = b.program(); in DEF_TEST() local
34 REPORTER_ASSERT(r, program.size() == 4); in DEF_TEST()
36 program = skvm::eliminate_dead_code(program); in DEF_TEST()
37 REPORTER_ASSERT(r, program.size() == 0); in DEF_TEST()
41 // Let's build a program with no memory arguments. in DEF_TEST()
49 test_jit_and_interpreter(b, [&](const skvm::Program& program) { in DEF_TEST()
51 program.eval(N); in DEF_TEST()
120 test_jit_and_interpreter(b, [&](const skvm::Program& program) { in DEF_TEST()
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A Dqueryutils.h46 void QueryProgramiv(Context *context, const Program *program, GLenum pname, GLint *params);
115 void QueryActiveUniformBlockiv(const Program *program,
155 void SetProgramParameteri(Program *program, GLenum pname, GLint value);
157 GLint GetUniformResourceProperty(const Program *program, GLuint index, const GLenum prop);
159 GLuint QueryProgramResourceIndex(const Program *program,
163 void QueryProgramResourceName(const Program *program,
170 GLint QueryProgramResourceLocation(const Program *program,
173 void QueryProgramResourceiv(const Program *program,
182 void QueryProgramInterfaceiv(const Program *program,
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fShaderMetamorphicTests.cpp128 const glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources(vertexSrc, fragmentSrc)); in render()
129 log << program; in render() local
131 if (!program.isOk()) in render()
135 gl.useProgram(program.getProgram()); in render()
137 int uniformLoc = gl.getUniformLocation(program.getProgram(), "injectionSwitch"); in render()
141 uniformLoc = gl.getUniformLocation(program.getProgram(), "resolution"); in render()
145 uniformLoc = gl.getUniformLocation(program.getProgram(), "mouse"); in render()
149 uniformLoc = gl.getUniformLocation(program.getProgram(), "time"); in render()
154 glu::draw(m_context.getRenderContext(), program.getProgram(), 1, &posBinding, glu::pr::Triangles(DE_LENGTH_OF_ARRAY(indices), &indices[0])); in render()
/third_party/skia/third_party/externals/angle2/src/libGL/
H A Dentry_points_gl_2_autogen.cpp33 void GL_APIENTRY GL_AttachShader(GLuint program, GLuint shader) in GL_AttachShader() argument
36 EVENT(context, GLAttachShader, "context = %d, program = %u, shader = %u", CID(context), program, in GL_AttachShader()
41 ShaderProgramID programPacked = PackParam<ShaderProgramID>(program); in GL_AttachShader()
59 void GL_APIENTRY GL_BindAttribLocation(GLuint program, GLuint index, const GLchar *name) in GL_BindAttribLocation() argument
63 "context = %d, program = %u, index = %u, name = 0x%016" PRIxPTR "", CID(context), program, in GL_BindAttribLocation()
68 ShaderProgramID programPacked = PackParam<ShaderProgramID>(program); in GL_BindAttribLocation()
197 void GL_APIENTRY GL_DeleteProgram(GLuint program) in GL_DeleteProgram() argument
200 EVENT(context, GLDeleteProgram, "context = %d, program in GL_DeleteProgram()
245 GL_DetachShader(GLuint program, GLuint shader) GL_DetachShader() argument
341 GL_GetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) GL_GetActiveAttrib() argument
377 GL_GetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) GL_GetActiveUniform() argument
413 GL_GetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders) GL_GetAttachedShaders() argument
446 GL_GetAttribLocation(GLuint program, const GLchar *name) GL_GetAttribLocation() argument
479 GL_GetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) GL_GetProgramInfoLog() argument
511 GL_GetProgramiv(GLuint program, GLenum pname, GLint *params) GL_GetProgramiv() argument
617 GL_GetUniformLocation(GLuint program, const GLchar *name) GL_GetUniformLocation() argument
650 GL_GetUniformfv(GLuint program, GLint location, GLfloat *params) GL_GetUniformfv() argument
677 GL_GetUniformiv(GLuint program, GLint location, GLint *params) GL_GetUniformiv() argument
808 GL_IsProgram(GLuint program) GL_IsProgram() argument
869 GL_LinkProgram(GLuint program) GL_LinkProgram() argument
1498 GL_UseProgram(GLuint program) GL_UseProgram() argument
1522 GL_ValidateProgram(GLuint program) GL_ValidateProgram() argument
[all...]

Completed in 24 milliseconds

1...<<11121314151617181920>>...46