Home
last modified time | relevance | path

Searched refs:Pipeline (Results 1 – 25 of 270) sorted by relevance

1234567891011

/third_party/vk-gl-cts/external/amber/src/src/
Dpipeline.cc47 const char* Pipeline::kGeneratedColorBuffer = "framebuffer";
48 const char* Pipeline::kGeneratedDepthBuffer = "depth_buffer";
49 const char* Pipeline::kGeneratedPushConstantBuffer = "push_constant_buffer";
51 Pipeline::ShaderInfo::ShaderInfo(Shader* shader, ShaderType type) in ShaderInfo()
60 Pipeline::ShaderInfo::ShaderInfo(const ShaderInfo&) = default;
62 Pipeline::ShaderInfo::~ShaderInfo() = default;
64 Pipeline::Pipeline(PipelineType type) : pipeline_type_(type) {} in Pipeline() function in amber::Pipeline
66 Pipeline::~Pipeline() = default;
68 std::unique_ptr<Pipeline> Pipeline::Clone() const { in Clone()
69 auto clone = MakeUnique<Pipeline>(pipeline_type_); in Clone()
[all …]
Dpipeline_test.cc37 void SetupColorAttachment(Pipeline* p, uint32_t location) { in SetupColorAttachment()
44 void SetupDepthStencilAttachment(Pipeline* p) { in SetupDepthStencilAttachment()
60 Pipeline p(PipelineType::kGraphics); in TEST_F()
75 Pipeline p(PipelineType::kGraphics); in TEST_F()
85 Pipeline p(PipelineType::kGraphics); in TEST_F()
105 Pipeline p(PipelineType::kCompute); in TEST_P()
124 Pipeline p(PipelineType::kGraphics); in TEST_F()
134 Pipeline p(PipelineType::kGraphics); in TEST_F()
159 Pipeline p(PipelineType::kGraphics); in TEST_F()
170 Pipeline p(PipelineType::kGraphics); in TEST_F()
[all …]
Dshader_compiler_test.cc110 Pipeline::ShaderInfo shader_info(&shader, kShaderTypeCompute); in TEST_F()
111 Pipeline pipeline(PipelineType::kCompute); in TEST_F()
129 Pipeline::ShaderInfo shader_info(&shader, kShaderTypeCompute); in TEST_F()
130 Pipeline pipeline(PipelineType::kCompute); in TEST_F()
149 Pipeline::ShaderInfo shader_info(&shader, kShaderTypeCompute); in TEST_F()
150 Pipeline pipeline(PipelineType::kCompute); in TEST_F()
166 Pipeline::ShaderInfo shader_info(&shader, kShaderTypeCompute); in TEST_F()
167 Pipeline pipeline(PipelineType::kCompute); in TEST_F()
212 Pipeline::ShaderInfo unoptimized(&shader, kShaderTypeCompute); in TEST_F()
213 Pipeline::ShaderInfo optimized(&shader, kShaderTypeCompute); in TEST_F()
[all …]
Dclspv_helper.cc28 using amber::Pipeline;
33 Pipeline::ShaderInfo* shader_info = nullptr;
34 Pipeline* pipeline = nullptr;
41 Pipeline::ShaderInfo::DescriptorMapEntry::Kind GetArgKindFromExtInst( in GetArgKindFromExtInst()
46 return Pipeline::ShaderInfo::DescriptorMapEntry::Kind::SSBO; in GetArgKindFromExtInst()
49 return Pipeline::ShaderInfo::DescriptorMapEntry::Kind::UBO; in GetArgKindFromExtInst()
51 return Pipeline::ShaderInfo::DescriptorMapEntry::Kind::POD; in GetArgKindFromExtInst()
53 return Pipeline::ShaderInfo::DescriptorMapEntry::Kind::POD_UBO; in GetArgKindFromExtInst()
55 return Pipeline::ShaderInfo::DescriptorMapEntry::Kind::POD_PUSHCONSTANT; in GetArgKindFromExtInst()
57 return Pipeline::ShaderInfo::DescriptorMapEntry::Kind::RO_IMAGE; in GetArgKindFromExtInst()
[all …]
Dcommand.cc89 PipelineCommand::PipelineCommand(Type type, Pipeline* pipeline) in PipelineCommand()
94 DrawRectCommand::DrawRectCommand(Pipeline* pipeline, PipelineData data) in DrawRectCommand()
99 DrawGridCommand::DrawGridCommand(Pipeline* pipeline, PipelineData data) in DrawGridCommand()
104 DrawArraysCommand::DrawArraysCommand(Pipeline* pipeline, PipelineData data) in DrawArraysCommand()
114 ComputeCommand::ComputeCommand(Pipeline* pipeline) in ComputeCommand()
132 BindableResourceCommand::BindableResourceCommand(Type type, Pipeline* pipeline) in BindableResourceCommand()
137 BufferCommand::BufferCommand(BufferType type, Pipeline* pipeline) in BufferCommand()
142 SamplerCommand::SamplerCommand(Pipeline* pipeline) in SamplerCommand()
152 ClearCommand::ClearCommand(Pipeline* pipeline) in ClearCommand()
157 ClearColorCommand::ClearColorCommand(Pipeline* pipeline) in ClearColorCommand()
[all …]
Dverifier_test.cc58 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
95 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
128 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
157 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
189 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
216 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
243 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
270 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
297 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
324 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
[all …]
Dcommand.h46 class Pipeline; variable
134 Pipeline* GetPipeline() const { return pipeline_; } in GetPipeline()
137 PipelineCommand(Type type, Pipeline* pipeline);
139 Pipeline* pipeline_ = nullptr;
145 DrawRectCommand(Pipeline* pipeline, PipelineData data);
183 DrawGridCommand(Pipeline* pipeline, PipelineData data);
221 DrawArraysCommand(Pipeline* pipeline, PipelineData data);
285 explicit ComputeCommand(Pipeline* pipeline);
463 BindableResourceCommand(Type type, Pipeline* pipeline);
493 BufferCommand(BufferType type, Pipeline* pipeline);
[all …]
Dshader_compiler.h56 Pipeline* pipeline,
57 Pipeline::ShaderInfo* shader_info,
65 Result CompileOpenCLC(Pipeline::ShaderInfo* shader,
66 Pipeline* pipeline,
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
Dparser.h63 Result ParsePipelineAttach(Pipeline*);
64 Result ParsePipelineShaderOptimizations(Pipeline*);
65 Result ParsePipelineShaderCompileOptions(Pipeline*);
66 Result ParsePipelineSubgroup(Pipeline* pipeline);
67 Result ParsePipelinePatchControlPoints(Pipeline* pipeline);
68 Result ParsePipelineFramebufferSize(Pipeline*);
69 Result ParsePipelineViewport(Pipeline*);
70 Result ParsePipelineBind(Pipeline*);
71 Result ParsePipelineVertexData(Pipeline*);
72 Result ParsePipelineIndexData(Pipeline*);
[all …]
/third_party/vk-gl-cts/external/amber/src/src/vkscript/
Dcommand_parser_test.cc34 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
72 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
94 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
116 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
138 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
160 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
171 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
182 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
203 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
224 Pipeline pipeline(PipelineType::kGraphics); in TEST_F()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DRewritePipelines.cpp76 const Pipeline &mPipeline;
88 const Pipeline &pipeline, in Exec()
104 const Pipeline &pipeline, in GeneratePipelineStruct()
140 const bool isUBO = mPipeline.type == Pipeline::Type::UniformBuffer; in exec()
143 mPipeline.getStructTypeName(Pipeline::Variant::Modified), modifiedMachineries, isUBO, in exec()
148 ASSERT(mPipeline.type != Pipeline::Type::Texture); in exec()
149 ASSERT(mPipeline.type == Pipeline::Type::AngleUniforms || in exec()
227 case Pipeline::Type::Texture: in createInternalPipelineStruct()
247 case Pipeline::Type::UniformBuffer: in createInternalPipelineStruct()
276 Name pipelineStructName = mPipeline.getStructTypeName(Pipeline::Variant::Original); in createInternalPipelineStruct()
[all …]
DPipeline.cpp16 bool Pipeline::uses(const TVariable &var) const in uses()
144 Name Pipeline::getStructTypeName(Variant variant) const in getStructTypeName()
188 Name Pipeline::getStructInstanceName(Variant variant) const in getStructInstanceName()
232 static bool AllowPacking(Pipeline::Type type) in AllowPacking()
234 using Type = Pipeline::Type; in AllowPacking()
256 static bool AllowPadding(Pipeline::Type type) in AllowPadding()
258 using Type = Pipeline::Type; in AllowPadding()
325 ModifyStructConfig Pipeline::externalStructModifyConfig() const in externalStructModifyConfig()
409 bool Pipeline::alwaysRequiresLocalVariableDeclarationInMain() const in alwaysRequiresLocalVariableDeclarationInMain()
431 bool Pipeline::isPipelineOut() const in isPipelineOut()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/CodeView/
DTypeVisitorCallbackPipeline.h26 for (auto Visitor : Pipeline) { in visitUnknownType()
34 for (auto Visitor : Pipeline) { in visitUnknownMember()
42 for (auto Visitor : Pipeline) { in visitTypeBegin()
50 for (auto Visitor : Pipeline) { in visitTypeBegin()
58 for (auto Visitor : Pipeline) { in visitTypeEnd()
66 for (auto Visitor : Pipeline) { in visitMemberBegin()
74 for (auto Visitor : Pipeline) { in visitMemberEnd()
82 Pipeline.push_back(&Callbacks); in addCallbackToPipeline()
100 for (auto Visitor : Pipeline) { in visitKnownRecordImpl()
109 for (auto Visitor : Pipeline) { in visitKnownMemberImpl()
[all …]
DSymbolVisitorCallbackPipeline.h25 for (auto Visitor : Pipeline) { in visitUnknownSymbol()
33 for (auto Visitor : Pipeline) { in visitSymbolBegin()
41 for (auto Visitor : Pipeline) { in visitSymbolBegin()
49 for (auto Visitor : Pipeline) { in visitSymbolEnd()
57 Pipeline.push_back(&Callbacks); in addCallbackToPipeline()
62 for (auto Visitor : Pipeline) { \
72 std::vector<SymbolVisitorCallbacks *> Pipeline;
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkPipeline.hpp37 class Pipeline class
40 Pipeline(PipelineLayout *layout, Device *device);
41 virtual ~Pipeline() = default;
45 return vk::TtoVkT<Pipeline, VkPipeline>(this); in operator VkPipeline()
48 static inline Pipeline *Cast(VkPipeline object) in Cast()
50 return vk::VkTtoT<Pipeline, VkPipeline>(object); in Cast()
77 class GraphicsPipeline : public Pipeline, public ObjectBase<GraphicsPipeline, VkPipeline>
125 class ComputePipeline : public Pipeline, public ObjectBase<ComputePipeline, VkPipeline>
149 vk::Pipeline::PushConstantStorage const &pushConstants);
156 static inline Pipeline *Cast(VkPipeline object) in Cast()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dpipeline.cc39 Pipeline::Pipeline( in Pipeline() function in amber::vulkan::Pipeline
49 Pipeline::~Pipeline() { in ~Pipeline()
70 GraphicsPipeline* Pipeline::AsGraphics() { in AsGraphics()
74 ComputePipeline* Pipeline::AsCompute() { in AsCompute()
78 Result Pipeline::Initialize(CommandPool* pool) { in Initialize()
85 Result Pipeline::CreateDescriptorSetLayouts() { in CreateDescriptorSetLayouts()
114 Result Pipeline::CreateDescriptorPools() { in CreateDescriptorPools()
152 Result Pipeline::CreateDescriptorSets() { in CreateDescriptorSets()
174 Result Pipeline::CreateVkPipelineLayout(VkPipelineLayout* pipeline_layout) { in CreateVkPipelineLayout()
206 Result Pipeline::CreateVkDescriptorRelatedObjectsIfNeeded() { in CreateVkDescriptorRelatedObjectsIfNeeded()
[all …]
Dgraphics_pipeline.h40 class GraphicsPipeline : public Pipeline {
44 const std::vector<amber::Pipeline::BufferInfo>& color_buffers,
45 amber::Pipeline::BufferInfo depth_stencil_buffer,
46 const std::vector<amber::Pipeline::BufferInfo>& resolve_targets,
91 std::vector<const amber::Pipeline::BufferInfo*> color_buffers_;
92 std::vector<const amber::Pipeline::BufferInfo*> resolve_targets_;
93 amber::Pipeline::BufferInfo depth_stencil_buffer_;
Dframe_buffer.h35 const std::vector<const amber::Pipeline::BufferInfo*>& color_attachments,
36 amber::Pipeline::BufferInfo depth_stencil_attachment,
37 const std::vector<const amber::Pipeline::BufferInfo*>& resolve_targets,
73 std::vector<const amber::Pipeline::BufferInfo*> color_attachments_;
74 std::vector<const amber::Pipeline::BufferInfo*> resolve_targets_;
75 amber::Pipeline::BufferInfo depth_stencil_attachment_;
Dengine_vulkan.h50 Result CreatePipeline(amber::Pipeline* type) override;
67 std::unique_ptr<Pipeline> vk_pipeline;
83 amber::Pipeline* pipeline,
86 Result SetShader(amber::Pipeline* pipeline,
87 const amber::Pipeline::ShaderInfo& shader);
92 std::map<amber::Pipeline*, PipelineInfo> pipeline_map_;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DPipeline.h52 class Pipeline {
53 Pipeline(const Pipeline &P) = delete;
54 Pipeline &operator=(const Pipeline &P) = delete;
67 Pipeline() : Cycles(0) {} in Pipeline() function
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/
DPipeline.cpp24 void Pipeline::addEventListener(HWEventListener *Listener) { in addEventListener()
31 bool Pipeline::hasWorkToProcess() { in hasWorkToProcess()
37 Expected<unsigned> Pipeline::run() { in run()
51 Error Pipeline::runCycle() { in runCycle()
75 void Pipeline::appendStage(std::unique_ptr<Stage> S) { in appendStage()
85 void Pipeline::notifyCycleBegin() { in notifyCycleBegin()
91 void Pipeline::notifyCycleEnd() { in notifyCycleEnd()
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DDrawCallPerf.cpp64 enum class Pipeline { enum
95 Pipeline pipelineType;
103 std::tuple<Pipeline, VertexBuffer, BindGroup, UniformData, RenderBundle>;
122 DrawCallParamTuple paramTuple{Pipeline::Static, VertexBuffer::NoChange, BindGroup::NoChange, in MakeParam()
132 std::get<Pipeline>(paramTuple), std::get<VertexBuffer>(paramTuple), in MakeParam()
151 case Pipeline::Static: in operator <<()
153 case Pipeline::Redundant: in operator <<()
156 case Pipeline::Dynamic: in operator <<()
376 if (GetParam().pipelineType == Pipeline::Dynamic) { in SetUp()
471 if (GetParam().pipelineType == Pipeline::Static) { in RecordRenderCommands()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Passes/
DPassBuilder.cpp1777 std::vector<PipelineElement> &Pipeline = *PipelineStack.back(); in parsePipelineText() local
1779 Pipeline.push_back({Text.substr(0, Pos), {}}); in parsePipelineText()
1793 PipelineStack.push_back(&Pipeline.back().InnerPipeline); in parsePipelineText()
2218 ArrayRef<PipelineElement> Pipeline, in parseLoopPassPipeline() argument
2221 for (const auto &Element : Pipeline) { in parseLoopPassPipeline()
2230 ArrayRef<PipelineElement> Pipeline, in parseFunctionPassPipeline() argument
2233 for (const auto &Element : Pipeline) { in parseFunctionPassPipeline()
2244 ArrayRef<PipelineElement> Pipeline, in parseCGSCCPassPipeline() argument
2247 for (const auto &Element : Pipeline) { in parseCGSCCPassPipeline()
2269 ArrayRef<PipelineElement> Pipeline, in parseModulePassPipeline() argument
[all …]
/third_party/vk-gl-cts/external/amber/src/src/dawn/
Dpipeline_info.h45 RenderPipelineInfo(::amber::Pipeline* the_pipeline, in RenderPipelineInfo()
50 ::amber::Pipeline* pipeline = nullptr;
79 ComputePipelineInfo(::amber::Pipeline* the_pipeline, in ComputePipelineInfo()
83 ::amber::Pipeline* pipeline = nullptr;
99 struct Pipeline { struct
/third_party/mesa3d/src/mesa/main/
Dpipelineobj.c97 ctx->Pipeline.Objects = _mesa_NewHashTable(); in _mesa_init_pipeline()
99 ctx->Pipeline.Current = NULL; in _mesa_init_pipeline()
102 ctx->Pipeline.Default = _mesa_new_pipeline_object(ctx, 0); in _mesa_init_pipeline()
103 _mesa_reference_pipeline_object(ctx, &ctx->_Shader, ctx->Pipeline.Default); in _mesa_init_pipeline()
127 _mesa_HashDeleteAll(ctx->Pipeline.Objects, delete_pipelineobj_cb, ctx); in _mesa_free_pipeline_data()
128 _mesa_DeleteHashTable(ctx->Pipeline.Objects); in _mesa_free_pipeline_data()
130 _mesa_delete_pipeline_object(ctx, ctx->Pipeline.Default); in _mesa_free_pipeline_data()
148 _mesa_HashLookupLocked(ctx->Pipeline.Objects, id); in _mesa_lookup_pipeline_object()
158 _mesa_HashInsertLocked(ctx->Pipeline.Objects, obj->Name, obj, true); in save_pipeline_object()
170 _mesa_HashRemoveLocked(ctx->Pipeline.Objects, obj->Name); in remove_pipeline_object()
[all …]

1234567891011