Home
last modified time | relevance | path

Searched refs:Program (Results 1 – 25 of 2725) sorted by relevance

12345678910>>...109

/third_party/mesa3d/src/compiler/glsl/
Dstandalone.cpp146 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxTextureImageUnits = 16; in initialize_context()
147 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxUniformComponents = 1024; in initialize_context()
148 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxCombinedUniformComponents = 1024; in initialize_context()
149 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxInputComponents = 0; /* not used */ in initialize_context()
150 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxOutputComponents = 0; /* not used */ in initialize_context()
151 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxAtomicBuffers = 8; in initialize_context()
152 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxAtomicCounters = 8; in initialize_context()
153 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxImageUniforms = 8; in initialize_context()
154 ctx->Const.Program[MESA_SHADER_COMPUTE].MaxUniformBlocks = 12; in initialize_context()
167 ctx->Const.Program[MESA_SHADER_VERTEX].MaxAttribs = 8; in initialize_context()
[all …]
/third_party/skia/third_party/externals/tint/src/
Dprogram.cc26 std::string DefaultPrinter(const Program*) { in DefaultPrinter() argument
32 Program::Printer Program::printer = DefaultPrinter;
34 Program::Program() = default;
36 Program::Program(Program&& program) in Program() function in tint::Program
51 Program::Program(ProgramBuilder&& builder) { in Program() function in tint::Program
77 diagnostics_.add_error(diag::System::Program, "invalid program generated"); in Program()
81 Program::~Program() = default;
83 Program& Program::operator=(Program&& program) { in operator =()
100 Program Program::Clone() const { in Clone()
102 return Program(CloneAsBuilder()); in Clone()
[all …]
Dprogram.h39 class Program {
48 Program();
52 Program(Program&& rhs);
56 explicit Program(ProgramBuilder&& builder);
59 ~Program();
64 Program& operator=(Program&& rhs);
115 Program Clone() const;
168 using Printer = std::string (*)(const Program*);
174 Program(const Program&) = delete;
194 inline ProgramID ProgramIDOf(const Program* program) { in ProgramIDOf()
Dprogram_test.cc25 Program program; in TEST_F()
30 Program program(std::move(*this)); in TEST_F()
35 Program program(std::move(*this)); in TEST_F()
40 Program program_a(ProgramBuilder{}); in TEST_F()
41 Program program_b(ProgramBuilder{}); in TEST_F()
42 Program program_c(ProgramBuilder{}); in TEST_F()
51 Program program(std::move(*this)); in TEST_F()
83 Diagnostics().add_error(diag::System::Program, "an error message"); in TEST_F()
85 Program program_a(std::move(*this)); in TEST_F()
91 Program program_b(std::move(program_a)); in TEST_F()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkPrograms.hpp69 template<typename Program, typename BuildOptions>
79 Program& add (const std::string& name);
80 Program& add (const std::string& name, const BuildOptions* buildOptions);
81 void add (const std::string& name, de::MovePtr<Program>& program);
84 const Program& get (const std::string& name) const;
89 typedef typename std::map<std::string, Program*>::const_iterator IteratorImpl;
95 const Program& operator* (void) const { return getProgram(); } in operator *()
98 const Program& getProgram (void) const { return *m_impl->second; } in getProgram()
114 typedef std::map<std::string, Program*> ProgramMap;
120 template<typename Program, typename BuildOptions>
[all …]
/third_party/mesa3d/src/mesa/drivers/dri/i915/
Di915_context.c205 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits = I915_TEX_UNITS; in i915CreateContext()
206 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits = I915_TEX_UNITS; in i915CreateContext()
209 ctx->Const.Program[MESA_SHADER_VERTEX].MaxOutputComponents = in i915CreateContext()
210 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxInputComponents = ctx->Const.MaxVarying * 4; in i915CreateContext()
212 ctx->Const.Program[MESA_SHADER_VERTEX].MaxTextureImageUnits + in i915CreateContext()
213 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxTextureImageUnits; in i915CreateContext()
231 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeTemps = I915_MAX_TEMPORARY; in i915CreateContext()
232 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeAttribs = 11; /* 8 tex, 2 color, fog */ in i915CreateContext()
233 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeParameters = I915_MAX_CONSTANT; in i915CreateContext()
234 ctx->Const.Program[MESA_SHADER_FRAGMENT].MaxNativeAluInstructions = I915_MAX_ALU_INSN; in i915CreateContext()
[all …]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_remove_constants.c70 struct rc_constant *constants = c->Program.Constants.Constants; in rc_remove_unused_constants()
74 if (!c->Program.Constants.Count) { in rc_remove_unused_constants()
79 const_used = malloc(c->Program.Constants.Count); in rc_remove_unused_constants()
80 memset(const_used, 0, c->Program.Constants.Count); in rc_remove_unused_constants()
86 for (struct rc_instruction *inst = c->Program.Instructions.Next; in rc_remove_unused_constants()
87 inst != &c->Program.Instructions; inst = inst->Next) { in rc_remove_unused_constants()
94 for (unsigned i = 0; i < c->Program.Constants.Count; i++) in rc_remove_unused_constants()
101 remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); in rc_remove_unused_constants()
102 inv_remap_table = malloc(c->Program.Constants.Count * sizeof(unsigned)); in rc_remove_unused_constants()
105 for (unsigned i = 0; i < c->Program.Constants.Count; i++) { in rc_remove_unused_constants()
[all …]
Dradeon_compiler.c41 c->Program.Instructions.Prev = &c->Program.Instructions; in rc_init()
42 c->Program.Instructions.Next = &c->Program.Instructions; in rc_init()
43 c->Program.Instructions.U.I.Opcode = RC_OPCODE_ILLEGAL_OPCODE; in rc_init()
49 rc_constants_destroy(&c->Program.Constants); in rc_destroy()
116 c->Program.InputsRead = 0; in rc_calculate_inputs_outputs()
117 c->Program.OutputsWritten = 0; in rc_calculate_inputs_outputs()
119 for(inst = c->Program.Instructions.Next; inst != &c->Program.Instructions; inst = inst->Next) in rc_calculate_inputs_outputs()
126 c->Program.InputsRead |= 1U << inst->U.I.SrcReg[i].Index; in rc_calculate_inputs_outputs()
131 c->Program.OutputsWritten |= 1U << inst->U.I.DstReg.Index; in rc_calculate_inputs_outputs()
144 c->Program.InputsRead &= ~(1U << input); in rc_move_input()
[all …]
/third_party/flutter/skia/tests/
DSkSLGLSLTest.cpp19 static void test(skiatest::Reporter* r, const char* src, const SkSL::Program::Settings& settings, in test()
20 const char* expected, SkSL::Program::Inputs* inputs, in test()
21 SkSL::Program::Kind kind = SkSL::Program::kFragment_Kind) { in test()
24 std::unique_ptr<SkSL::Program> program = compiler.convertProgram(kind, SkSL::String(src), in test()
45 const char* expected, SkSL::Program::Kind kind = SkSL::Program::kFragment_Kind) { in test()
46 SkSL::Program::Settings settings; in test()
48 SkSL::Program::Inputs inputs; in test()
599 SkSL::Program::Settings settings; in DEF_TEST()
603 SkSL::Program::Inputs inputs; in DEF_TEST()
1095 SkSL::Program::Settings settings; in DEF_TEST()
[all …]
/third_party/typescript/tests/baselines/reference/tsbuild/watchMode/programUpdates/
Dwhen-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js49 Program root files: ["/user/username/projects/sample1/Library/library.ts"]
50 Program options: {"composite":true,"watch":true,"configFilePath":"/user/username/projects/sample1/L…
51 Program structureReused: Not
52 Program files::
60 Program root files: ["/user/username/projects/sample1/App/app.ts"]
61 Program options: {"watch":true,"configFilePath":"/user/username/projects/sample1/App/tsconfig.json"}
62 Program structureReused: Not
63 Program files::
187 Program root files: ["/user/username/projects/sample1/Library/library.ts"]
188 Program options: {"composite":true,"watch":true,"configFilePath":"/user/username/projects/sample1/L…
[all …]
Dworks-with-extended-source-files.js58 Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"]
59 Program options: {"composite":true,"watch":true,"configFilePath":"/a/b/project1.tsconfig.json"}
60 Program structureReused: Not
61 Program files::
71 Program root files: ["/a/b/other.ts"]
72 Program options: {"composite":true,"watch":true,"configFilePath":"/a/b/project2.tsconfig.json"}
73 Program structureReused: Not
74 Program files::
214 Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"]
215 Program options: {"strict":true,"composite":true,"watch":true,"configFilePath":"/a/b/project1.tscon…
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLProgram.cpp18 cl_int Program::build(cl_uint numDevices, in build()
30 Program *notify = nullptr; in build()
41 cl_int Program::compile(cl_uint numDevices, in compile()
60 programs.emplace_back(&(*inputHeaders++)->cast<Program>()); in compile()
62 Program *notify = nullptr; in compile()
73 cl_int Program::getInfo(ProgramInfo name, size_t valueSize, void *value, size_t *valueSizeRet) const in getInfo()
146 cl_int Program::getBuildInfo(cl_device_id device, in getBuildInfo()
155 cl_kernel Program::createKernel(const char *kernel_name, cl_int &errorCode) in createKernel()
160 cl_int Program::createKernels(cl_uint numKernels, cl_kernel *kernels, cl_uint *numKernelsRet) in createKernels()
189 Program::~Program() = default;
[all …]
DCLProgram.h23 class Program final : public _cl_program, public Object
56 ~Program() override;
72 Program(Context &context, std::string &&source, cl_int &errorCode);
73 Program(Context &context, const void *il, size_t length, cl_int &errorCode);
75 Program(Context &context,
82 Program(Context &context, DevicePtrs &&devices, const char *kernelNames, cl_int &errorCode);
84 Program(Context &context,
110 inline Context &Program::getContext() in getContext()
115 inline const Context &Program::getContext() const in getContext()
120 inline const DevicePtrs &Program::getDevices() const in getDevices()
[all …]
DProgramPipeline.h47 void activeShaderProgram(Program *shaderProgram);
50 Program *shaderProgram,
53 Program *getActiveShaderProgram() { return mActiveShaderProgram; } in getActiveShaderProgram()
57 const Program *getShaderProgram(ShaderType shaderType) const { return mPrograms[shaderType]; } in getShaderProgram()
68 Program *shaderProgram,
76 Program *mActiveShaderProgram;
78 ShaderMap<Program *> mPrograms;
108 Program *getActiveShaderProgram() { return mState.getActiveShaderProgram(); } in getActiveShaderProgram()
109 void activeShaderProgram(Program *shaderProgram);
110 Program *getLinkedActiveShaderProgram(const Context *context) in getLinkedActiveShaderProgram()
[all …]
/third_party/flutter/skia/src/sksl/
DSkSLCompiler.h101 std::unique_ptr<Program> convertProgram(Program::Kind kind, String text,
102 const Program::Settings& settings);
104 bool optimize(Program& program);
106 std::unique_ptr<Program> specialize(Program& program,
107 const std::unordered_map<SkSL::String, SkSL::Program::Settings::Value>& inputs);
109 bool toSPIRV(Program& program, OutputStream& out);
111 bool toSPIRV(Program& program, String* out);
113 bool toGLSL(Program& program, OutputStream& out);
115 bool toGLSL(Program& program, String* out);
117 bool toMetal(Program& program, OutputStream& out);
[all …]
/third_party/typescript/tests/baselines/reference/tsc/incremental/initial-build/
Dwith-noEmitOnError-semantic-errors.js52 Program root files: ["/src/shared/types/db.ts","/src/src/main.ts","/src/src/other.ts"]
53 Program options: {"outDir":"/src/dev-build","noEmitOnError":true,"incremental":true,"project":"/src…
54 Program structureReused: Not
55 Program files::
159 Program root files: ["/src/shared/types/db.ts","/src/src/main.ts","/src/src/other.ts"]
160 Program options: {"outDir":"/src/dev-build","noEmitOnError":true,"incremental":true,"project":"/src…
161 Program structureReused: Not
162 Program files::
184 Program root files: ["/src/shared/types/db.ts","/src/src/main.ts","/src/src/other.ts"]
185 Program options: {"outDir":"/src/dev-build","noEmitOnError":true,"incremental":true,"project":"/src…
[all …]
Dwith-noEmitOnError-syntax-errors.js59 Program root files: ["/src/shared/types/db.ts","/src/src/main.ts","/src/src/other.ts"]
60 Program options: {"outDir":"/src/dev-build","noEmitOnError":true,"incremental":true,"project":"/src…
61 Program structureReused: Not
62 Program files::
159 Program root files: ["/src/shared/types/db.ts","/src/src/main.ts","/src/src/other.ts"]
160 Program options: {"outDir":"/src/dev-build","noEmitOnError":true,"incremental":true,"project":"/src…
161 Program structureReused: Not
162 Program files::
186 Program root files: ["/src/shared/types/db.ts","/src/src/main.ts","/src/src/other.ts"]
187 Program options: {"outDir":"/src/dev-build","noEmitOnError":true,"incremental":true,"project":"/src…
[all …]
/third_party/skia/third_party/externals/tint/docs/
Darch.md32 ┃ ┃ Program
66 A `ProgramBuilder` is the primary interface to construct an immutable `Program`.
67 There are a number of methods exposed which make creating of the `Program`
69 the `Program` is constructed.
71 A `Program` is built from the `ProgramBuilder` by `std::move()`ing the
72 `ProgramBuilder` to a new `Program` object. When built, resolution is performed
73 so the produced `Program` will contain all the needed semantic information.
75 At any time before building the `Program`, `ProgramBuilder::IsValid()` may be
79 If further changes to the `Program` are needed (say via a `Transform`) then a
80 new `ProgramBuilder` can be produced by cloning the `Program` into a new
[all …]
/third_party/flutter/skia/src/gpu/effects/
DGrSkSLFP.h77 SkSL::Program::Kind kind = SkSL::Program::kPipelineStage_Kind,
87 SkSL::Program::Kind kind = SkSL::Program::kPipelineStage_Kind,
98 SkSL::Program::Kind kind, int fIndex, const char* name, const char* sksl,
117 SkSL::Program::Kind fKind;
164 SkSL::Program::Kind kind = SkSL::Program::kPipelineStage_Kind);
166 const SkSL::Program* getSpecialization(const SkSL::String& key, const void* inputs,
169 SkSL::Program::Kind fKind;
175 std::shared_ptr<SkSL::Program> fBaseProgram;
181 std::unordered_map<SkSL::String, std::unique_ptr<const SkSL::Program>> fSpecializations;
/third_party/typescript/tests/baselines/reference/tscWatch/programUpdates/
Dextended-source-files-are-watched.js40 Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"]
41 Program options: {"watch":true,"project":"/a/b/tsconfig.json","configFilePath":"/a/b/tsconfig.json"}
42 Program structureReused: Not
43 Program files::
95 Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"]
96 Program options: {"strict":true,"watch":true,"project":"/a/b/tsconfig.json","configFilePath":"/a/b/…
97 Program structureReused: Completely
98 Program files::
146 Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"]
147 Program options: {"strict":false,"watch":true,"project":"/a/b/tsconfig.json","configFilePath":"/a/b…
[all …]
DUpdates-diagnostics-when-'--noUnusedLabels'-changes.js31 Program root files: ["/a.ts","/a/lib/lib.d.ts"]
32 Program options: {"allowUnusedLabels":true,"watch":true,"project":"/tsconfig.json","configFilePath"…
33 Program structureReused: Not
34 Program files::
83 Program root files: ["/a.ts","/a/lib/lib.d.ts"]
84 Program options: {"allowUnusedLabels":false,"watch":true,"project":"/tsconfig.json","configFilePath…
85 Program structureReused: Completely
86 Program files::
126 Program root files: ["/a.ts","/a/lib/lib.d.ts"]
127 Program options: {"allowUnusedLabels":true,"watch":true,"project":"/tsconfig.json","configFilePath"…
[all …]
/third_party/vk-gl-cts/external/openglcts/modules/common/subgroups/
DglcSubgroupsTestsUtils.hpp62 template<typename Program>
71 Program& add (const std::string& name);
72 void add (const std::string& name, de::MovePtr<Program>& program);
75 const Program& get (const std::string& name) const;
80 typedef typename std::map<std::string, Program*>::const_iterator IteratorImpl;
86 const Program& operator* (void) const { return getProgram(); } in operator *()
89 const Program& getProgram (void) const { return *m_impl->second; } in getProgram()
105 typedef std::map<std::string, Program*> ProgramMap;
110 template<typename Program>
111 ProgramCollection<Program>::ProgramCollection (void) in ProgramCollection()
[all …]
/third_party/typescript/tests/baselines/reference/tsbuild/watchMode/configFileErrors/
Dreports-syntax-errors-in-config-file.js47 Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.…
48 Program options: {"composite":true,"watch":true,"configFilePath":"/user/username/projects/myproject…
49 Program structureReused: Not
50 Program files::
101 Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.…
102 Program options: {"composite":true,"declaration":true,"watch":true,"configFilePath":"/user/username…
103 Program structureReused: Not
104 Program files::
146 Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.…
147 Program options: {"composite":true,"declaration":true,"watch":true,"configFilePath":"/user/username…
[all …]
/third_party/typescript/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-circular-project-reference/
Dbuilds-when-new-file-is-added,-and-its-subsequent-updates.js88 Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projec…
89 Program options: {"composite":true,"declaration":true,"watch":true,"configFilePath":"/user/username…
90 Program structureReused: Not
91 Program files::
101 Program root files: ["/user/username/projects/sample1/logic/index.ts"]
102 Program options: {"composite":true,"declaration":true,"sourceMap":true,"forceConsistentCasingInFile…
103 Program structureReused: Not
104 Program files::
116 Program root files: ["/user/username/projects/sample1/tests/index.ts"]
117 Program options: {"composite":true,"declaration":true,"forceConsistentCasingInFileNames":true,"skip…
[all …]
/third_party/typescript/tests/baselines/reference/tsbuild/watchMode/programUpdates/with-simple-project-reference-graph/
Dbuilds-when-new-file-is-added,-and-its-subsequent-updates.js114 Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projec…
115 Program options: {"composite":true,"declaration":true,"declarationMap":true,"skipDefaultLibCheck":t…
116 Program structureReused: Not
117 Program files::
127 Program root files: ["/user/username/projects/sample1/logic/index.ts"]
128 Program options: {"composite":true,"declaration":true,"sourceMap":true,"forceConsistentCasingInFile…
129 Program structureReused: Not
130 Program files::
142 Program root files: ["/user/username/projects/sample1/tests/index.ts"]
143 Program options: {"composite":true,"declaration":true,"forceConsistentCasingInFileNames":true,"skip…
[all …]

12345678910>>...109