/third_party/skia/third_party/externals/tint/src/writer/spirv/ |
H A D | builder_function_test.cc | 32 auto* func = program->AST().Functions()[0]; in TEST_F() 53 auto* func = program->AST().Functions()[0]; in TEST_F() 73 auto* var_a = program->AST().GlobalVariables()[0]; in TEST_F() 74 auto* func = program->AST().Functions()[0]; in TEST_F() 102 auto* func = program->AST().Functions()[0]; in TEST_F() 122 auto* func = program->AST().Functions()[0]; in TEST_F() 148 auto* func = program->AST().Functions()[0]; in TEST_F() 165 auto* func = program->AST().Functions()[0]; in TEST_F()
|
/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
H A D | entry_points_gles_2_0_autogen.h | 19 ANGLE_EXPORT void GL_APIENTRY GL_AttachShader(GLuint program, GLuint shader); 20 ANGLE_EXPORT void GL_APIENTRY GL_BindAttribLocation(GLuint program, 97 ANGLE_EXPORT void GL_APIENTRY GL_DeleteProgram(GLuint program); 104 ANGLE_EXPORT void GL_APIENTRY GL_DetachShader(GLuint program, GLuint shader); 131 ANGLE_EXPORT void GL_APIENTRY GL_GetActiveAttrib(GLuint program, 138 ANGLE_EXPORT void GL_APIENTRY GL_GetActiveUniform(GLuint program, 145 ANGLE_EXPORT void GL_APIENTRY GL_GetAttachedShaders(GLuint program, 149 ANGLE_EXPORT GLint GL_APIENTRY GL_GetAttribLocation(GLuint program, const GLchar *name); 159 ANGLE_EXPORT void GL_APIENTRY GL_GetProgramInfoLog(GLuint program, 163 ANGLE_EXPORT void GL_APIENTRY GL_GetProgramiv(GLuint program, GLenu [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_lower_to_hw_instr.cpp | 36 Program* program; member 203 Builder bld(ctx->program, &ctx->instructions); in emit_int64_dpp_op() 212 if (ctx->program->gfx_level >= GFX10) { in emit_int64_dpp_op() 302 Builder bld(ctx->program, &ctx->instructions); in emit_int64_op() 326 if (ctx->program->gfx_level >= GFX10) { in emit_int64_op() 390 Builder bld(ctx->program, &ctx->instructions); in emit_dpp_op() 396 aco_opcode opcode = get_reduce_opcode(ctx->program->gfx_level, op); in emit_dpp_op() 430 Builder bld(ctx->program, &ctx->instructions); in emit_op() 436 aco_opcode opcode = get_reduce_opcode(ctx->program->gfx_level, op); in emit_op() 457 Builder bld(ctx->program, in emit_dpp_mov() 842 emit_gfx10_wave64_bpermute(Program* program, aco_ptr<Instruction>& instr, Builder& bld) emit_gfx10_wave64_bpermute() argument 920 emit_gfx6_bpermute(Program* program, aco_ptr<Instruction>& instr, Builder& bld) emit_gfx6_bpermute() argument 1982 emit_set_mode_from_block(Builder& bld, Program& program, Block* block, bool always_set) emit_set_mode_from_block() argument 2004 lower_to_hw_instr(Program* program) lower_to_hw_instr() argument [all...] |
H A D | aco_ir.h | 2148 friend void reindex_ssa(Program* program); 2149 friend void reindex_ssa(Program* program, std::vector<IDSet>& live_out); 2186 void init_program(Program* program, Stage stage, const struct aco_shader_info* info, 2190 void select_program(Program* program, unsigned shader_count, struct nir_shader* const* shaders, 2194 void select_gs_copy_shader(Program* program, struct nir_shader* gs_shader, ac_shader_config* config, 2198 void select_trap_handler_shader(Program* program, struct nir_shader* shader, 2203 void select_vs_prolog(Program* program, const struct aco_vs_prolog_key* key, 2210 void select_ps_epilog(Program* program, const struct aco_ps_epilog_key* key, 2216 void lower_phis(Program* program); 2217 void calc_min_waves(Program* program); [all...] |
/third_party/skia/src/gpu/glsl/ |
H A D | GrGLSLVertexGeoBuilder.h | 30 GrGLSLVertexGeoBuilder(GrGLSLProgramBuilder* program) : INHERITED(program) {} in GrGLSLVertexGeoBuilder() argument 48 GrGLSLVertexBuilder(GrGLSLProgramBuilder* program) : INHERITED(program) {} in GrGLSLVertexBuilder() argument
|
/third_party/skia/src/core/ |
H A D | SkRuntimeEffect.cpp | 77 // set produces the final program (including our re-emitted SkSL), and the backend's in Impl() 220 std::unique_ptr<SkSL::Program> program; in MakeFromSource() local 231 program = compiler->convertProgram(kind, SkSL::String(sksl.c_str(), sksl.size()), settings); in MakeFromSource() 233 if (!program) { in MakeFromSource() 237 return MakeInternal(std::move(program), options, kind); in MakeFromSource() 249 SkRuntimeEffect::Result SkRuntimeEffect::MakeFromDSL(std::unique_ptr<SkSL::Program> program, in MakeFromDSL() argument 253 // program's source. Populate it so that we can compute fHash, and serialize these effects. in MakeFromDSL() 254 program->fSource = std::make_unique<SkSL::String>(program->description()); in MakeFromDSL() 255 return MakeInternal(std::move(program), option in MakeFromDSL() 258 MakeInternal(std::unique_ptr<SkSL::Program> program, const Options& options, SkSL::ProgramKind kind) MakeInternal() argument 408 MakeForColorFilter(std::unique_ptr<SkSL::Program> program, const Options& options) MakeForColorFilter() argument 415 MakeForShader(std::unique_ptr<SkSL::Program> program, const Options& options) MakeForShader() argument 422 MakeForBlender(std::unique_ptr<SkSL::Program> program, const Options& options) MakeForBlender() argument 429 MakeForColorFilter( std::unique_ptr<SkSL::Program> program) MakeForColorFilter() argument 434 MakeForShader(std::unique_ptr<SkSL::Program> program) MakeForShader() argument 438 MakeForBlender(std::unique_ptr<SkSL::Program> program) MakeForBlender() argument 693 SkFilterColorProgram(skvm::Program program, std::vector<SampleCall> sampleCalls, bool alphaUnchanged) SkFilterColorProgram() argument 906 const SkFilterColorProgram* program = fEffect->getFilterColorProgram(); global() variable [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fNegativeVertexArrayApiTests.cpp | 436 glu::ShaderProgram program (rc, glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu::StringTemplate(fragmentShaderSource).specialize(args))); in draw_arrays() 439 ctx.glUseProgram(program.getProgram()); in draw_arrays() 500 glu::ShaderProgram program (rc, glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu::StringTemplate(fragmentShaderSource).specialize(args))); in draw_arrays_incomplete_primitive() 503 ctx.glUseProgram(program.getProgram()); in draw_arrays_incomplete_primitive() 540 glu::ShaderProgram program (rc, glu::makeVtxFragSources(tcu::StringTemplate(vertexShaderSource).specialize(args), tcu::StringTemplate(fragmentShaderSource).specialize(args))); in draw_elements() 543 ctx.glUseProgram(program.getProgram()); in draw_elements() 581 ctx.glUseProgram(program.getProgram()); in draw_elements() 582 ctx.glTransformFeedbackVaryings(program.getProgram(), 1, &tfVarying, GL_INTERLEAVED_ATTRIBS); in draw_elements() 583 ctx.glLinkProgram(program.getProgram()); in draw_elements() 654 glu::ShaderProgram program (r in draw_elements_incomplete_primitive() [all...] |
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkShaderToSpirV.cpp | 349 buildInfo->program.infoLog = glslangProgram.getInfoLog(); // \todo [2015-11-05 scygan] Include debug log? in compileShaderToSpirV() 350 buildInfo->program.linkOk = (linkRes != 0); in compileShaderToSpirV() 351 buildInfo->program.linkTimeUs = deGetMicroseconds()-linkStartTime; in compileShaderToSpirV() 354 if (buildInfo->program.linkOk) in compileShaderToSpirV() 360 return buildInfo->program.linkOk; in compileShaderToSpirV() 364 TCU_THROW(InternalError, "Can't compile empty program"); in compileShaderToSpirV() 367 bool compileGlslToSpirV (const GlslSource& program, std::vector<deUint32>* dst, glu::ShaderProgramInfo* buildInfo) in compileGlslToSpirV() argument 369 return compileShaderToSpirV(program.sources, program.buildOptions, program in compileGlslToSpirV() 372 compileHlslToSpirV(const HlslSource& program, std::vector<deUint32>* dst, glu::ShaderProgramInfo* buildInfo) compileHlslToSpirV() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | GetImageTest.cpp | 99 ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Texture2D(), essl1_shaders::fs::Texture2D()); in TEST_P() 100 drawQuad(program, essl1_shaders::PositionAttrib(), 0.5, 1.0f, true); in TEST_P() 181 ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Texture2D(), essl1_shaders::fs::Texture2D()); in TEST_P() 182 drawQuad(program, essl1_shaders::PositionAttrib(), 0.5, 1.0f, true); in TEST_P() 256 ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Texture2D(), essl1_shaders::fs::Texture2D()); in TEST_P() 257 drawQuad(program, essl1_shaders::PositionAttrib(), 0.5, 1.0f, true); in TEST_P() 279 ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Texture2D(), essl1_shaders::fs::Texture2D()); in TEST_P() 280 drawQuad(program, essl1_shaders::PositionAttrib(), 0.5, 1.0f, true); in TEST_P() 330 ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Texture2D(), essl1_shaders::fs::Texture2D()); in TEST_P() 331 drawQuad(program, essl1_shader in TEST_P() [all...] |
H A D | WebGLFramebufferTest.cpp | 31 void drawUByteColorQuad(GLuint program, GLint uniformLoc, const GLColor &color); 37 void testRenderingAndReading(GLuint program); 214 void WebGLFramebufferTest::drawUByteColorQuad(GLuint program, in drawUByteColorQuad() argument 219 glUseProgram(program); in drawUByteColorQuad() 221 drawQuad(program, essl1_shaders::PositionAttrib(), 0.5f, 1.0f, true); in drawUByteColorQuad() 231 ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::UniformColor()); in testDepthStencilDepthStencil() 232 GLint uniformLoc = glGetUniformLocation(program.get(), essl1_shaders::ColorUniform()); in testDepthStencilDepthStencil() 276 drawUByteColorQuad(program.get(), uniformLoc, GLColor::green); in testDepthStencilDepthStencil() 278 drawUByteColorQuad(program.get(), uniformLoc, GLColor::red); in testDepthStencilDepthStencil() 308 drawUByteColorQuad(program in testDepthStencilDepthStencil() 534 testRenderingAndReading(GLuint program) testRenderingAndReading() argument [all...] |
H A D | ViewportTest.cpp | 253 ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::Green()); in TEST_P() 254 glUseProgram(program); in TEST_P() 258 const GLint positionLocation = glGetAttribLocation(program, essl1_shaders::PositionAttrib()); in TEST_P() 294 ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::Green()); in TEST_P() 295 glUseProgram(program); in TEST_P() 299 const GLint positionLocation = glGetAttribLocation(program, essl1_shaders::PositionAttrib()); in TEST_P() 328 ANGLE_GL_PROGRAM(program, essl1_shaders::vs::Simple(), essl1_shaders::fs::Green()); in TEST_P() 329 glUseProgram(program); in TEST_P() 333 const GLint positionLocation = glGetAttribLocation(program, essl1_shaders::PositionAttrib()); in TEST_P()
|
H A D | PackUnpackTest.cpp | 103 void compareBeforeAfter(GLuint program, float input1, float input2) in compareBeforeAfter() argument 105 compareBeforeAfter(program, input1, input2, input1, input2); in compareBeforeAfter() 108 void compareBeforeAfter(GLuint program, in compareBeforeAfter() argument 117 GLint vec2Location = glGetUniformLocation(program, "v"); in compareBeforeAfter() 119 glUseProgram(program); in compareBeforeAfter() 122 drawQuad(program, essl3_shaders::PositionAttrib(), 0.5f); in compareBeforeAfter()
|
H A D | WEBGLVideoTextureTest.cpp | 69 ANGLE_GL_PROGRAM(program, kVS, kFS); in TEST_P() 81 drawQuad(program, "position", 0.0f); in TEST_P() 119 ANGLE_GL_PROGRAM(program, kVS, kFS); in TEST_P() 130 drawQuad(program, "position", 0.0f); in TEST_P() 137 // and can handle it correctly based on the program. 236 ANGLE_GL_PROGRAM(program, kVS, kFS); in TEST_P() 247 drawQuad(program, "position", 0.0f); in TEST_P()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | arbprogram.c | 41 #include "program/arbprogparse.h" 42 #include "program/program.h" 43 #include "program/prog_print.h" 72 /* Bind a default program */ in lookup_or_create_program() 79 /* Bind a user program */ in lookup_or_create_program() 83 /* allocate a new program now */ in lookup_or_create_program() 102 * Bind a program (make it current) 126 * Get pointer to new program to bind. in _mesa_BindProgramARB() 127 * NOTE: binding to a non-existant program i in _mesa_BindProgramARB() 485 _mesa_NamedProgramStringEXT(GLuint program, GLenum target, GLenum format, GLsizei len, const GLvoid *string) _mesa_NamedProgramStringEXT() argument 655 _mesa_NamedProgramLocalParameter4fEXT(GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) _mesa_NamedProgramLocalParameter4fEXT() argument 690 _mesa_NamedProgramLocalParameter4fvEXT(GLuint program, GLenum target, GLuint index, const GLfloat *params) _mesa_NamedProgramLocalParameter4fvEXT() argument 732 _mesa_NamedProgramLocalParameters4fvEXT(GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params) _mesa_NamedProgramLocalParameters4fvEXT() argument 758 _mesa_NamedProgramLocalParameter4dEXT(GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) _mesa_NamedProgramLocalParameter4dEXT() argument 778 _mesa_NamedProgramLocalParameter4dvEXT(GLuint program, GLenum target, GLuint index, const GLdouble *params) _mesa_NamedProgramLocalParameter4dvEXT() argument 806 _mesa_GetNamedProgramLocalParameterfvEXT(GLuint program, GLenum target, GLuint index, GLfloat *params) _mesa_GetNamedProgramLocalParameterfvEXT() argument 843 _mesa_GetNamedProgramLocalParameterdvEXT(GLuint program, GLenum target, GLuint index, GLdouble *params) _mesa_GetNamedProgramLocalParameterdvEXT() argument 1045 _mesa_GetNamedProgramivEXT(GLuint program, GLenum target, GLenum pname, GLint *params) _mesa_GetNamedProgramivEXT() argument 1095 _mesa_GetNamedProgramStringEXT(GLuint program, GLenum target, GLenum pname, GLvoid *string) _mesa_GetNamedProgramStringEXT() argument [all...] |
/third_party/skia/src/sksl/ |
H A D | SkSLAnalysis.cpp | 69 // Visitor that determines the merged SampleUsage for a given child in the program. 77 SampleUsage visit(const Program& program) { in visit() argument 79 INHERITED::visit(program); in visit() 101 // If the coords are a direct reference to the program's sample-coords, and those 124 // Visitor that searches through the program for references to a particular builtin variable 309 SampleUsage Analysis::GetSampleUsage(const Program& program, in GetSampleUsage() argument 313 MergeSampleUsageVisitor visitor(*program.fContext, child, writesToSampleCoords); in GetSampleUsage() 314 SampleUsage result = visitor.visit(program); in GetSampleUsage() 320 if (program.fConfig != nullptr && program in GetSampleUsage() 326 ReferencesBuiltin(const Program& program, int builtin) ReferencesBuiltin() argument 331 ReferencesSampleCoords(const Program& program) ReferencesSampleCoords() argument 335 ReferencesFragCoords(const Program& program) ReferencesFragCoords() argument 339 CallsSampleOutsideMain(const Program& program) CallsSampleOutsideMain() argument 528 VerifyStaticTestsAndExpressions(const Program& program) VerifyStaticTestsAndExpressions() argument 615 visit(const Program& program) visit() argument [all...] |
/third_party/elfutils/tests/ |
H A D | run-lfs-symbols.sh | 16 # along with this program. If not, see <http://www.gnu.org/licenses/>. 76 for program in $(makeprint PROGRAMS $dir); do 77 testrun_lfs $dir/$program 84 for program in $(makeprint check_PROGRAMS $dir); do 85 testrun_lfs $dir/$program
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
H A D | compiler.hpp | 35 compile_program(const program &prog, const header_map &headers, in compile_program() 42 case program::il_type::source: in compile_program() 44 case program::il_type::spirv: in compile_program() 52 if (prog.il_type() == program::il_type::source) in compile_program()
|
/third_party/skia/third_party/externals/tint/fuzzers/tint_ast_fuzzer/ |
H A D | util.h | 23 #include "src/program.h" 42 /// @param program - the program to look for variables in. 50 const tint::Program& program, in GetAllVarsInScope() 69 const auto* sem_var = program.Sem().Get(var_node->variable); in GetAllVarsInScope() 85 for (const auto* global_decl : program.AST().GlobalDeclarations()) { in GetAllVarsInScope() 94 const auto* sem_node = program.Sem().Get(global_var); in GetAllVarsInScope() 49 GetAllVarsInScope( const tint::Program& program, const sem::Statement* curr_stmt, Pred&& pred) GetAllVarsInScope() argument
|
/third_party/typescript/tests/baselines/reference/ |
H A D | APISample_WatchWithDefaults.js | 25 // TypeScript can use several different program creation "strategies": 31 // The last uses an ordinary program which does a full type check after every change. 42 console.log("** We're about to create the program! **"); 47 host.afterProgramCreate = program => { 48 console.log("** We finished making the program! **"); 49 origPostProgramCreate!(program); 52 // `createWatchProgram` creates an initial program, watches files, and updates the program over time. 72 // TypeScript can use several different program creation "strategies":
78 // The last uses an ordinary program whic [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | opencl.c | 146 if (ctx->program) { in ff_opencl_filter_uninit() 147 cle = clReleaseProgram(ctx->program); in ff_opencl_filter_uninit() 150 "program: %d.\n", cle); in ff_opencl_filter_uninit() 163 ctx->program = clCreateProgramWithSource(ctx->hwctx->context, nb_strings, in ff_opencl_filter_load_program() 166 if (!ctx->program) { in ff_opencl_filter_load_program() 167 av_log(avctx, AV_LOG_ERROR, "Failed to create program: %d.\n", cle); in ff_opencl_filter_load_program() 171 cle = clBuildProgram(ctx->program, 1, &ctx->hwctx->device_id, in ff_opencl_filter_load_program() 174 av_log(avctx, AV_LOG_ERROR, "Failed to build program: %d.\n", cle); in ff_opencl_filter_load_program() 180 clGetProgramBuildInfo(ctx->program, ctx->hwctx->device_id, in ff_opencl_filter_load_program() 185 cle = clGetProgramBuildInfo(ctx->program, in ff_opencl_filter_load_program() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
H A D | EGLProgramCacheControlTest.cpp | 186 // Link a program, which will miss the cache. in TEST_P() 192 ANGLE_GL_PROGRAM(program, kVS, kFS); in TEST_P() 193 drawQuad(program, "position", 0.5f); in TEST_P() 228 // Link a program, which will hit the cache. in TEST_P() 234 ANGLE_GL_PROGRAM(program, kVS, kFS); in TEST_P() 235 drawQuad(program, "position", 0.5f); in TEST_P() 244 // Tests that trying to link a program without correct shaders doesn't buggily call the cache. 251 GLuint program = glCreateProgram(); in TEST_P() local 252 glAttachShader(program, shader); in TEST_P() 253 glLinkProgram(program); in TEST_P() [all...] |
/third_party/mesa3d/src/amd/compiler/tests/ |
H A D | test_insert_nops.cpp | 108 bld.reset(program->create_and_insert_block()); 110 program->blocks[0].linear_succs.push_back(1); 111 program->blocks[1].linear_preds.push_back(0); 160 bld.reset(program->create_and_insert_block()); 162 program->blocks[0].linear_succs.push_back(1); 163 program->blocks[1].linear_preds.push_back(0);
|
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | module_test.cc | 33 Program program(std::move(*this)); in TEST_F() 35 program.AST().Functions().Find(program.Symbols().Get("main"))); in TEST_F() 39 Program program(std::move(*this)); in TEST_F() 41 program.AST().Functions().Find(program.Symbols().Get("Missing"))); in TEST_F() 95 // Create a program with a function, alias decl and var decl. in TEST_F() 104 // Clone the program, using ReplaceAll() to create new module-scope in TEST_F()
|
/third_party/vk-gl-cts/execserver/tools/ |
H A D | xsClient.cpp | 141 std::string program; member in xs::CommandLine 186 msg.name = m_cmdLine.program; in run() 294 printf(" --program=[program] Test program\n"); in printHelp() 295 printf(" --params=[params] Test program params\n"); in printHelp() 319 else if (deStringBeginsWith(arg, "--program=")) in runClient() 320 cmdLine.program = parseString(arg+10); in runClient()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | trace_fixture.h | 61 void UpdateUniformLocation(GLuint program, const char *name, GLint location); 62 void UpdateUniformLocation(GLuint program, const char *name, GLint location, GLint count); 63 void UpdateUniformLocation2(GLuint program, const char *name, GLint location, GLint count); 64 void DeleteUniformLocations(GLuint program); 65 void DeleteUniformLocations2(GLuint program); 66 void UpdateUniformBlockIndex(GLuint program, const char *name, GLuint index); 67 void UpdateCurrentProgram(GLuint program);
|