Home
last modified time | relevance | path

Searched refs:pipelineState (Results 1 – 24 of 24) sorted by relevance

/external/skia/src/gpu/vk/
DGrVkPipelineStateCache.cpp28 Entry(GrVkGpu* gpu, GrVkPipelineState* pipelineState) in Entry()
30 , fPipelineState(pipelineState) {} in Entry()
105 GrVkPipelineState* pipelineState(GrVkPipelineStateBuilder::CreatePipelineState( in findOrCreatePipeline() local
107 if (!pipelineState) { in findOrCreatePipeline()
110 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(fGpu, pipelineState))); in findOrCreatePipeline()
DGrVkCommandBuffer.cpp245 GrVkPipelineState* pipelineState, in bindDescriptorSets() argument
/external/skqp/src/gpu/vk/
DGrVkPipelineStateCache.cpp26 Entry(GrVkGpu* gpu, GrVkPipelineState* pipelineState) in Entry()
28 , fPipelineState(pipelineState) {} in Entry()
114 GrVkPipelineState* pipelineState(GrVkPipelineStateBuilder::CreatePipelineState( in refPipelineState() local
117 if (nullptr == pipelineState) { in refPipelineState()
120 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(fGpu, pipelineState))); in refPipelineState()
DGrVkGpuCommandBuffer.cpp655 GrVkPipelineState* pipelineState = in prepareDrawState() local
662 if (!pipelineState) { in prepareDrawState()
663 return pipelineState; in prepareDrawState()
667 fLastPipelineState && fLastPipelineState != pipelineState && in prepareDrawState()
671 fLastPipelineState = pipelineState; in prepareDrawState()
673 pipelineState->bindPipeline(fGpu, cbInfo.currentCmdBuf()); in prepareDrawState()
675 pipelineState->setAndBindUniforms(fGpu, fRenderTarget, fOrigin, in prepareDrawState()
681 pipelineState->setAndBindTextures(fGpu, primProc, pipeline, primProcProxies, in prepareDrawState()
701 return pipelineState; in prepareDrawState()
761 GrVkPipelineState* pipelineState = this->prepareDrawState(primProc, pipeline, fixedDynamicState, in onDraw() local
[all …]
DGrVkCommandBuffer.cpp241 GrVkPipelineState* pipelineState, in bindDescriptorSets() argument
/external/skia/src/gpu/mtl/
DGrMtlCommandBuffer.mm51 const GrMtlPipelineState* pipelineState) {
63 bool secondDoesntSampleFirst = (!pipelineState ||
64 pipelineState->doesntSampleAttachment(first)) &&
73 MTLRenderPassDescriptor* descriptor, const GrMtlPipelineState* pipelineState,
77 descriptor.colorAttachments[0], pipelineState) &&
79 descriptor.stencilAttachment, pipelineState)) {
DGrMtlResourceProvider.mm98 Entry(GrMtlGpu* gpu, GrMtlPipelineState* pipelineState)
100 , fPipelineState(pipelineState) {}
155 GrMtlPipelineState* pipelineState(GrMtlPipelineStateBuilder::CreatePipelineState(
157 if (!pipelineState) {
160 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(fGpu, pipelineState)));
DGrMtlUtil.mm202 id<MTLRenderPipelineState> pipelineState;
203 std::tie(pipelineState, *error) = compileResult->get();
205 return pipelineState;
DGrMtlPipelineStateBuilder.mm519 id<MTLRenderPipelineState> pipelineState = GrMtlNewRenderPipelineStateWithDescriptor(
522 id<MTLRenderPipelineState> pipelineState =
531 if (!pipelineState) {
538 pipelineState,
DGrMtlPipelineState.h36 id<MTLRenderPipelineState> pipelineState,
DGrMtlPipelineState.mm36 id<MTLRenderPipelineState> pipelineState,
47 , fPipelineState(pipelineState)
/external/skqp/src/gpu/mtl/
DGrMtlCopyPipelineState.mm26 id<MTLRenderPipelineState> pipelineState =
35 SkASSERT(pipelineState);
36 return new GrMtlCopyPipelineState(pipelineState, dstPixelFormat);
DGrMtlGpuCommandBuffer.mm134 GrMtlPipelineState* pipelineState =
138 if (!pipelineState) {
144 pipelineState->setData(fRenderTarget, fOrigin, primProc, pipeline, primProcProxies);
146 return pipelineState;
163 std::unique_ptr<GrMtlPipelineState> pipelineState(
165 if (!pipelineState) {
170 [fActiveRenderCmdEncoder setRenderPipelineState: pipelineState->mtlPipelineState()];
172 pipelineState->bind(fActiveRenderCmdEncoder);
173 pipelineState->setBlendConstants(fActiveRenderCmdEncoder, fRenderTarget->config(),
175 pipelineState->setDepthStencilState(fActiveRenderCmdEncoder);
DGrMtlCopyPipelineState.h26 GrMtlCopyPipelineState(id<MTLRenderPipelineState> pipelineState, in GrMtlCopyPipelineState() argument
28 : fPipelineState(pipelineState) in GrMtlCopyPipelineState()
DGrMtlPipelineState.h36 id<MTLRenderPipelineState> pipelineState,
DGrMtlCopyManager.mm224 bool GrMtlCopyManager::IsCompatible(const GrMtlCopyPipelineState* pipelineState,
226 return pipelineState->fPixelFormat == dstPixelFormat;
DGrMtlPipelineState.mm36 id<MTLRenderPipelineState> pipelineState,
48 , fPipelineState(pipelineState)
DGrMtlPipelineStateBuilder.mm354 id<MTLRenderPipelineState> pipelineState =
363 pipelineState,
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp641 VkGraphicsPipelineCreateInfo pipelineState; in generateWork() local
830 deMemset(&pipelineState, 0xcd, sizeof(pipelineState)); in generateWork()
831 pipelineState.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO; in generateWork()
832 pipelineState.pNext = DE_NULL; in generateWork()
833 pipelineState.flags = 0; in generateWork()
834 pipelineState.stageCount = DE_LENGTH_OF_ARRAY(shaderStageParams); in generateWork()
835 pipelineState.pStages = &shaderStageParams[0]; in generateWork()
836 pipelineState.pVertexInputState = &vertexInputState; in generateWork()
837 pipelineState.pInputAssemblyState = &inputAssemblyState; in generateWork()
838 pipelineState.pTessellationState = DE_NULL; in generateWork()
[all …]
/external/swiftshader/src/Vulkan/
DVkCommandBuffer.cpp156 executionState.pipelineState[pipelineBindPoint].pipeline = pipeline; in play()
181 auto const &pipelineState = executionState.pipelineState[VK_PIPELINE_BIND_POINT_COMPUTE]; in play() local
183 vk::ComputePipeline *pipeline = static_cast<vk::ComputePipeline *>(pipelineState.pipeline); in play()
186 pipelineState.descriptorSets, in play()
187 pipelineState.descriptorDynamicOffsets, in play()
215 auto const &pipelineState = executionState.pipelineState[VK_PIPELINE_BIND_POINT_COMPUTE]; in play() local
217 auto pipeline = static_cast<vk::ComputePipeline *>(pipelineState.pipeline); in play()
219 pipelineState.descriptorSets, in play()
220 pipelineState.descriptorDynamicOffsets, in play()
526 auto const &pipelineState = executionState.pipelineState[VK_PIPELINE_BIND_POINT_GRAPHICS]; in draw() local
[all …]
DVkCommandBuffer.hpp156 std::array<PipelineState, VK_PIPELINE_BIND_POINT_RANGE_SIZE> pipelineState; member
/external/angle/src/libANGLE/renderer/metal/
Dmtl_render_utils.mm712 AutoObjCPtr<id<MTLComputePipelineState>> pipelineState =
715 ASSERT(pipelineState);
717 cmdEncoder->setComputePipelineState(pipelineState);
729 ANGLE_TRY(dispatchCompute(context, cmdEncoder, pipelineState, indexCount));
804 AutoObjCPtr<id<MTLComputePipelineState>> pipelineState =
807 ASSERT(pipelineState);
809 cmdEncoder->setComputePipelineState(pipelineState);
822 ANGLE_TRY(dispatchCompute(context, cmdEncoder, pipelineState, uniform.indexCount));
928 id<MTLComputePipelineState> pipelineState,
931 NSUInteger w = pipelineState.threadExecutionWidth;
Dmtl_render_utils.h115 id<MTLComputePipelineState> pipelineState,
DProgramMtl.mm810 id<MTLRenderPipelineState> pipelineState =
812 if (!pipelineState)
817 cmdEncoder->setRenderPipelineState(pipelineState);