Home
last modified time | relevance | path

Searched refs:program (Results 226 - 250 of 1361) sorted by relevance

12345678910>>...55

/third_party/skia/tests/
H A DSkSLGLSLTestbed.cpp19 std::unique_ptr<SkSL::Program> program = compiler.convertProgram(kind, SkSL::String(src), in test() local
21 if (!program) { in test()
23 REPORTER_ASSERT(r, program); in test()
25 REPORTER_ASSERT(r, compiler.toGLSL(*program, &output)); in test()
H A DSkSLSPIRVTestbed.cpp19 std::unique_ptr<SkSL::Program> program = compiler.convertProgram(kind, SkSL::String(src), in test() local
21 if (!program) { in test()
23 REPORTER_ASSERT(r, program); in test()
25 REPORTER_ASSERT(r, compiler.toSPIRV(*program, &output)); in test()
/third_party/skia/third_party/externals/tint/src/writer/
H A Dtext_generator_test.cc24 Program program(ProgramBuilder{}); in TEST()
26 TextGenerator gen(&program); in TEST()
36 Program program(std::move(builder)); in TEST()
38 TextGenerator gen(&program); in TEST()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
H A Dgl4cGlSpirvTests.cpp327 ShaderProgram* program = DE_NULL; in iterate() local
336 program = new ShaderProgram(gl, sources); in iterate()
348 program = new ShaderProgram(gl, binaries); in iterate()
351 if (!program->isOk()) in iterate()
354 << "Vertex: " << program->getShaderInfo(SHADERTYPE_VERTEX).infoLog << "\n" in iterate()
356 << "TesselationCtrl: " << program->getShaderInfo(SHADERTYPE_TESSELLATION_CONTROL).infoLog in iterate()
360 << program->getShaderInfo(SHADERTYPE_TESSELLATION_EVALUATION).infoLog << "\n" in iterate()
362 << "Geometry: " << program->getShaderInfo(SHADERTYPE_GEOMETRY).infoLog << "\n" in iterate()
364 << "Fragment: " << program->getShaderInfo(SHADERTYPE_FRAGMENT).infoLog << "\n" in iterate()
366 << "Program: " << program in iterate()
2378 ShaderProgram* program = DE_NULL; iterate() local
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/gles3/
H A Des3cNumberParsingTests.cpp97 static void initializeExpectedValue(const glu::ShaderProgram& program, const glw::Functions& gl, const deUint32 value);
98 static void initializeZeroValue(const glu::ShaderProgram& program, const glw::Functions& gl);
286 static void initializeExpectedValue(const glu::ShaderProgram& program, const glw::Functions& gl, const deUint32 value) in initializeExpectedValue() argument
288 const auto location = gl.getUniformLocation(program.getProgram(), "expected"); in initializeExpectedValue()
295 static void initializeZeroValue(const glu::ShaderProgram& program, const glw::Functions& gl) in initializeZeroValue() argument
297 const auto location = gl.getUniformLocation(program.getProgram(), "zero"); in initializeZeroValue()
365 glu::ShaderProgram program(renderContext, glu::makeVtxFragSources(m_vertexShader, m_fragmentShader)); in iterate()
366 if (!program.isOk()) in iterate()
381 gl.useProgram(program.getProgram()); in iterate()
385 m_params.setupUniformsFn(program, g in iterate()
[all...]
/third_party/skia/src/core/
H A DSkVMBlitter.cpp83 return SkColorSpaceXformSteps{fSprite, dst}.program(p, uniforms, c);
104 skvm::Color c = as_SB(fShader)->program(p, device,local, paint,
262 // be reflected in Params and Key to make program caching sound, and it in EffectiveParams()
264 // uniforms than its fundamental program structure and so unsafe to use. in EffectiveParams()
266 // Opacity is such a powerful property that SkShaderBase::program() in EffectiveParams()
268 // the opaque bit is strongly guaranteed to be part of the program and in EffectiveParams()
269 // not just a property of the uniforms. The shader program hash includes in EffectiveParams()
313 // See note about arguments above: a SpriteShader will call p->arg() once during program(). in BuildProgram()
314 skvm::Color src = as_SB(params.shader)->program(p, device, /*local=*/device, paint, in BuildProgram()
371 skvm::Color clip = as_SB(params.clip)->program( in BuildProgram()
610 skvm::Program program = builder.done(DebugName(key).c_str()); buildProgram() local
692 const skvm::Program* program = nullptr; blitMask() local
[all...]
/kernel/linux/linux-5.10/security/tomoyo/
H A Ddomain.c231 && p1->program == p2->program; in tomoyo_same_transition_control()
247 char *program = param->data; in tomoyo_write_transition_control() local
248 char *domainname = strstr(program, " from "); in tomoyo_write_transition_control()
255 domainname = program; in tomoyo_write_transition_control()
256 program = NULL; in tomoyo_write_transition_control()
258 if (program && strcmp(program, "any")) { in tomoyo_write_transition_control()
259 if (!tomoyo_correct_path(program)) in tomoyo_write_transition_control()
261 e.program in tomoyo_write_transition_control()
297 tomoyo_scan_transition(const struct list_head *list, const struct tomoyo_path_info *domainname, const struct tomoyo_path_info *program, const char *last_name, const enum tomoyo_transition_type type) tomoyo_scan_transition() argument
343 tomoyo_transition_type(const struct tomoyo_policy_namespace *ns, const struct tomoyo_path_info *domainname, const struct tomoyo_path_info *program) tomoyo_transition_type() argument
[all...]
/kernel/linux/linux-6.6/security/tomoyo/
H A Ddomain.c231 && p1->program == p2->program; in tomoyo_same_transition_control()
247 char *program = param->data; in tomoyo_write_transition_control() local
248 char *domainname = strstr(program, " from "); in tomoyo_write_transition_control()
255 domainname = program; in tomoyo_write_transition_control()
256 program = NULL; in tomoyo_write_transition_control()
258 if (program && strcmp(program, "any")) { in tomoyo_write_transition_control()
259 if (!tomoyo_correct_path(program)) in tomoyo_write_transition_control()
261 e.program in tomoyo_write_transition_control()
297 tomoyo_scan_transition(const struct list_head *list, const struct tomoyo_path_info *domainname, const struct tomoyo_path_info *program, const char *last_name, const enum tomoyo_transition_type type) tomoyo_scan_transition() argument
343 tomoyo_transition_type(const struct tomoyo_policy_namespace *ns, const struct tomoyo_path_info *domainname, const struct tomoyo_path_info *program) tomoyo_transition_type() argument
[all...]
/third_party/mesa3d/src/imagination/vulkan/pds/
H A Dpvr_pds.h154 /* Structure representing the PDS pixel event program.
174 * Structure representing the PDS pixel shader secondary attribute program.
226 /* Structure representing the PDS pixel shader program.
242 /* Structure representing the PDS fence/doutc program.
277 /* Structure representing the PDS vertex shader secondary attribute program.
390 /* Structure representing the PDS vertex shader program.
393 * by the PDS vertex loading program.
396 * usc_task_control - Description of USC task for vertex shader program.
457 /* Structure representing PDS shared reg storing program. */
491 /* Structure representing stream out terminate PDS program
809 struct pvr_psc_program_output program; global() member
[all...]
/third_party/glslang/gtests/
H A DConfig.FromFile.cpp79 glslang::TProgram program; in TEST_P() local
80 program.addShader(&shader); in TEST_P()
81 program.link(testCase.controls); in TEST_P()
82 result.linkingOutput = program.getInfoLog(); in TEST_P()
83 result.linkingError = program.getInfoDebugLog(); in TEST_P()
H A DLink.FromFile.cpp70 glslang::TProgram program; in TEST_P() local
71 for (const auto& shader : shaders) program.addShader(shader.get()); in TEST_P()
72 program.link(controls); in TEST_P()
73 result.linkingOutput = program.getInfoLog(); in TEST_P()
74 result.linkingError = program.getInfoDebugLog(); in TEST_P()
/third_party/skia/src/sksl/codegen/
H A DSkSLVMCodeGenerator.h38 /** Where is this variable located in the program? */
49 skvm::Color ProgramToSkVM(const Program& program,
78 * If the program declares any uniforms, 'uniforms' should contain the IDs of each individual value
81 bool ProgramToSkVM(const Program& program,
88 const FunctionDefinition* Program_GetFunction(const Program& program, const char* function);
102 std::unique_ptr<UniformInfo> Program_GetUniformInfo(const Program& program);
104 bool testingOnly_ProgramToSkVMShader(const Program& program,
/third_party/mesa3d/src/amd/compiler/
H A Daco_assembler.cpp44 Program* program; member
51 asm_context(Program* program_) : program(program_), gfx_level(program->gfx_level) in asm_context()
106 aco_err(ctx.program, outmem); in emit_instruction()
789 fix_exports(asm_context& ctx, std::vector<uint32_t>& out, Program* program) in fix_exports() argument
792 for (Block& block : program->blocks) { in fix_exports()
799 if (program->stage.hw == HWStage::VS || program->stage.hw == HWStage::NGG) { in fix_exports()
806 if (!program->info.ps.has_epilog) { in fix_exports()
819 exported |= program in fix_exports()
992 emit_program(Program* program, std::vector<uint32_t>& code) emit_program() argument
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fProgramInterfaceDefinitionUtil.hpp172 bool programContainsIOBlocks (const ProgramInterfaceDefinition::Program* program);
174 glu::ShaderType getProgramTransformFeedbackStage (const ProgramInterfaceDefinition::Program* program);
175 std::vector<std::string> getProgramInterfaceResourceList (const ProgramInterfaceDefinition::Program* program, ProgramInterface interface);
178 glu::ProgramSources generateProgramInterfaceProgramSources (const ProgramInterfaceDefinition::Program* program);
179 bool findProgramVariablePathByPathName (std::vector<ProgramInterfaceDefinition::VariablePathComponent>& typePath, const ProgramInterfaceDefinition::Program* program, const std::string& pathName, const ProgramInterfaceDefinition::VariableSearchFilter& filter);
181 ProgramInterfaceDefinition::ShaderResourceUsage getShaderResourceUsage (const ProgramInterfaceDefinition::Program* program, const ProgramInterfaceDefinition::Shader* shader);
182 ProgramInterfaceDefinition::ProgramResourceUsage getCombinedProgramResourceUsage (const ProgramInterfaceDefinition::Program* program);
/third_party/glfw/examples/
H A Dheightmap.c2 // Heightmap example program using OpenGL 3 core profile
112 * the shader program. They should not be used before creating
113 * the program.
149 /* Creates a program object using the specified vertex and fragment text
153 GLuint program = 0u; in make_shader_program() local
166 /* make the program that connect the two shader and link it */ in make_shader_program()
167 program = glCreateProgram(); in make_shader_program()
168 if (program != 0u) in make_shader_program()
171 glAttachShader(program, vertex_shader); in make_shader_program()
172 glAttachShader(program, fragment_shade in make_shader_program()
343 make_mesh(GLuint program) make_mesh() argument
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcMultipleContextsTests.cpp43 * are preserved for each program stage when switching rendering context.
46 * * Same as above, but use pipelines instead of monolithic program.
80 void prepareProgram(Utils::program** programs, bool is_separable);
82 void prepareProgramPipeline(glw::GLuint& pipeline_id, Utils::program** programs);
86 bool testProgram(Utils::program** programs, bool is_separable, const glw::GLuint test_cases[][5],
236 Utils::program* program_pointers[5]; in iterate()
238 /* Test monolithic program */ in iterate()
240 /* Prepare program */ in iterate()
241 Utils::program program(*m_base_contex in iterate()
[all...]
/third_party/skia/src/sksl/
H A DSkSLMain.cpp90 // Given a string containing an SkSL program, searches for a #pragma settings comment, like so:
334 std::unique_ptr<SkSL::Program> program = compiler.convertProgram(kind, text, settings); in processCommand()
335 if (!program || !writeFn(compiler, *program, out)) { in processCommand()
348 [](SkSL::Compiler& compiler, SkSL::Program& program, SkSL::OutputStream& out) { in processCommand()
349 return compiler.toSPIRV(program, out); in processCommand()
353 [](SkSL::Compiler& compiler, SkSL::Program& program, SkSL::OutputStream& out) { in processCommand()
354 // Compile program to SPIR-V assembly in a string-stream. in processCommand()
356 if (!compiler.toSPIRV(program, assembly)) { in processCommand()
373 [](SkSL::Compiler& compiler, SkSL::Program& program, SkS in processCommand()
[all...]
/third_party/skia/src/gpu/glsl/
H A DGrGLSLVertexGeoBuilder.h30 GrGLSLVertexGeoBuilder(GrGLSLProgramBuilder* program) : INHERITED(program) {} in GrGLSLVertexGeoBuilder() argument
48 GrGLSLVertexBuilder(GrGLSLProgramBuilder* program) : INHERITED(program) {} in GrGLSLVertexBuilder() argument
/third_party/elfutils/tests/
H A Dtest-subr.sh16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
91 program="$1"
93 case "$program" in
101 program=${bindir}/`program_transform ${program##*/}`
107 $VALGRIND_CMD $program ${1+"$@"}
109 $VALGRIND_CMD $program ${1+"$@"}
/third_party/typescript/tests/baselines/reference/
H A DAPISample_compile.js23 var program = ts.createProgram(fileNames, options);
24 var emitResult = program.emit();
26 var allDiagnostics = ts.getPreEmitDiagnostics(program);
60 var program = ts.createProgram(fileNames, options);
61 var emitResult = program.emit();
62 var allDiagnostics = ts.getPreEmitDiagnostics(program);
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fShaderBuiltinVarTests.cpp290 const glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources( in iterate()
303 log << program; in iterate() local
305 if (!program.isOk()) in iterate()
319 const int scaleLoc = gl.getUniformLocation(program.getProgram(), "u_scale"); in iterate()
322 gl.useProgram(program.getProgram()); in iterate()
325 glu::draw(m_context.getRenderContext(), program.getProgram(), 1, &posBinding, in iterate()
385 const glu::ShaderProgram program(m_context.getRenderContext(), glu::makeVtxFragSources( in iterate()
397 log << program; in iterate() local
399 if (!program.isOk()) in iterate()
415 gl.useProgram(program in iterate()
506 log << program; iterate() local
609 log << program; iterate() local
[all...]
H A Des2fPolygonOffsetTests.cpp367 const glu::ShaderProgram program (m_context.getRenderContext(), glu::makeVtxFragSources(s_shaderSourceVertex, s_shaderSourceFragment)); in testPolygonOffset()
368 const GLint positionLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in testPolygonOffset()
369 const GLint colorLoc = gl.getAttribLocation(program.getProgram(), "a_color"); in testPolygonOffset()
371 if (!program.isOk()) in testPolygonOffset()
373 log << program; in testPolygonOffset() local
381 gl.useProgram (program.getProgram()); in testPolygonOffset()
423 PositionColorShader program; in testPolygonOffset() local
442 rr::Program(program.getVertexShader(), program.getFragmentShader()), in testPolygonOffset()
497 const glu::ShaderProgram program (m_contex in testPolygonOffset()
504 log << program; testPolygonOffset() local
623 log << program; testPolygonOffset() local
689 PositionColorShader program; testPolygonOffset() local
775 log << program; testPolygonOffset() local
888 log << program; testPolygonOffset() local
1005 log << program; testPolygonOffset() local
1127 log << program; testPolygonOffset() local
[all...]
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fPolygonOffsetTests.cpp370 const glu::ShaderProgram program (m_context.getRenderContext(), glu::makeVtxFragSources(s_shaderSourceVertex, s_shaderSourceFragment)); in testPolygonOffset()
371 const GLint positionLoc = gl.getAttribLocation(program.getProgram(), "a_position"); in testPolygonOffset()
372 const GLint colorLoc = gl.getAttribLocation(program.getProgram(), "a_color"); in testPolygonOffset()
374 if (!program.isOk()) in testPolygonOffset()
376 log << program; in testPolygonOffset() local
384 gl.useProgram (program.getProgram()); in testPolygonOffset()
426 PositionColorShader program; in testPolygonOffset() local
445 rr::Program(program.getVertexShader(), program.getFragmentShader()), in testPolygonOffset()
500 const glu::ShaderProgram program (m_contex in testPolygonOffset()
507 log << program; testPolygonOffset() local
625 log << program; testPolygonOffset() local
691 PositionColorShader program; testPolygonOffset() local
777 log << program; testPolygonOffset() local
890 log << program; testPolygonOffset() local
1007 log << program; testPolygonOffset() local
1129 log << program; testPolygonOffset() local
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
H A DContextGL.cpp314 const gl::Program *program = context->getState().getProgram(); in drawArrays() local
315 const bool usesMultiview = program->usesMultiview(); in drawArrays()
316 const GLsizei instanceCount = usesMultiview ? program->getNumViews() : 0; in drawArrays()
344 const gl::Program *program = context->getState().getProgram(); in drawArraysInstanced() local
345 if (program->usesMultiview()) in drawArraysInstanced()
347 adjustedInstanceCount *= program->getNumViews(); in drawArraysInstanced()
358 gl::AttributesMask ContextGL::updateAttributesForBaseInstance(const gl::Program *program, in updateAttributesForBaseInstance() argument
443 const gl::Program *program = context->getState().getProgram(); in drawArraysInstancedBaseInstance() local
444 if (program->usesMultiview()) in drawArraysInstancedBaseInstance()
446 adjustedInstanceCount *= program in drawArraysInstancedBaseInstance()
488 const gl::Program *program = glState.getProgram(); drawElements() local
522 const gl::Program *program = glState.getProgram(); drawElementsBaseVertex() local
556 const gl::Program *program = context->getState().getProgram(); drawElementsInstanced() local
580 const gl::Program *program = context->getState().getProgram(); drawElementsInstancedBaseVertex() local
607 const gl::Program *program = context->getState().getProgram(); drawElementsInstancedBaseVertexBaseInstance() local
653 const gl::Program *program = context->getState().getProgram(); drawRangeElements() local
685 const gl::Program *program = context->getState().getProgram(); drawRangeElementsBaseVertex() local
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/
H A DANGLETest.cpp890 void ANGLETestBase::drawQuad(GLuint program, in drawQuad() argument
894 drawQuad(program, positionAttribName, positionAttribZ, 1.0f); in drawQuad()
898 void ANGLETestBase::drawQuad(GLuint program, in drawQuad() argument
903 drawQuad(program, positionAttribName, positionAttribZ, positionAttribXYScale, false); in drawQuad()
906 void ANGLETestBase::drawQuad(GLuint program, in drawQuad() argument
912 drawQuad(program, positionAttribName, positionAttribZ, positionAttribXYScale, useVertexBuffer, in drawQuad()
916 void ANGLETestBase::drawQuadInstanced(GLuint program, in drawQuadInstanced() argument
923 drawQuad(program, positionAttribName, positionAttribZ, positionAttribXYScale, useVertexBuffer, in drawQuadInstanced()
927 void ANGLETestBase::drawPatches(GLuint program, in drawPatches() argument
933 drawQuad(program, positionAttribNam in drawPatches()
937 drawQuad(GLuint program, const std::string &positionAttribName, GLfloat positionAttribZ, GLfloat positionAttribXYScale, bool useVertexBuffer, bool useInstancedDrawCalls, bool useTessellationPatches, GLuint numInstances) drawQuad() argument
1044 drawIndexedQuad(GLuint program, const std::string &positionAttribName, GLfloat positionAttribZ) drawIndexedQuad() argument
1051 drawIndexedQuad(GLuint program, const std::string &positionAttribName, GLfloat positionAttribZ, GLfloat positionAttribXYScale) drawIndexedQuad() argument
1061 drawIndexedQuad(GLuint program, const std::string &positionAttribName, GLfloat positionAttribZ, GLfloat positionAttribXYScale, bool useIndexBuffer) drawIndexedQuad() argument
1071 drawIndexedQuad(GLuint program, const std::string &positionAttribName, GLfloat positionAttribZ, GLfloat positionAttribXYScale, bool useIndexBuffer, bool restrictedRange) drawIndexedQuad() argument
1210 GLuint program = get3DTexturedQuadProgram(); draw3DTexturedQuad() local
[all...]

Completed in 21 milliseconds

12345678910>>...55