/third_party/skia/third_party/externals/swiftshader/src/Device/ |
D | PixelProcessor.cpp | 74 const PixelProcessor::State PixelProcessor::update(const vk::GraphicsState &pipelineState, const sw… in update() argument 84 state.pipelineLayoutIdentifier = pipelineState.getPipelineLayout()->identifier; in update() 92 state.alphaToCoverage = pipelineState.hasAlphaToCoverage(); in update() 93 state.depthWriteEnable = pipelineState.depthWriteActive(attachments); in update() 95 if(pipelineState.stencilActive(attachments)) in update() 98 state.frontStencil = pipelineState.getFrontStencil(); in update() 99 state.backStencil = pipelineState.getBackStencil(); in update() 103 state.depthBoundsTestActive = pipelineState.depthBoundsTestActive(attachments); in update() 104 state.minDepthBounds = pipelineState.getMinDepthBounds(); in update() 105 state.maxDepthBounds = pipelineState.getMaxDepthBounds(); in update() [all …]
|
D | SetupProcessor.cpp | 58 SetupProcessor::State SetupProcessor::update(const vk::GraphicsState &pipelineState, const sw::Spir… in update() argument 64 state.isDrawPoint = pipelineState.isDrawPoint(true); in update() 65 state.isDrawLine = pipelineState.isDrawLine(true); in update() 66 state.isDrawTriangle = pipelineState.isDrawTriangle(true); in update() 68 …state.applyConstantDepthBias = pipelineState.isDrawTriangle(false) && (pipelineState.getConstantDe… in update() 69 …state.applySlopeDepthBias = pipelineState.isDrawTriangle(false) && (pipelineState.getSlopeDepthBia… in update() 70 …state.applyDepthBiasClamp = pipelineState.isDrawTriangle(false) && (pipelineState.getDepthBiasClam… in update() 71 state.interpolateZ = pipelineState.depthTestActive(attachments) || vPosZW; in update() 73 state.frontFace = pipelineState.getFrontFace(); in update() 74 state.cullMode = pipelineState.getCullMode(); in update() [all …]
|
D | VertexProcessor.cpp | 68 const VertexProcessor::State VertexProcessor::update(const vk::GraphicsState &pipelineState, const … in update() argument 73 state.pipelineLayoutIdentifier = pipelineState.getPipelineLayout()->identifier; in update() 74 state.robustBufferAccess = pipelineState.getRobustBufferAccess(); in update() 75 state.isPoint = pipelineState.getTopology() == VK_PRIMITIVE_TOPOLOGY_POINT_LIST; in update() 76 state.depthClipEnable = pipelineState.getDepthClipEnable(); in update()
|
D | Renderer.cpp | 199 const vk::GraphicsState &pipelineState = pipeline->getState(dynamicState); in draw() local 200 pixelProcessor.setBlendConstant(pipelineState.getBlendConstants()); in draw() 213 vertexState = vertexProcessor.update(pipelineState, vertexShader, inputs); in draw() 214 setupState = setupProcessor.update(pipelineState, fragmentShader, vertexShader, attachments); in draw() 215 …pixelState = pixelProcessor.update(pipelineState, fragmentShader, vertexShader, attachments, hasOc… in draw() 217 …vertexRoutine = vertexProcessor.routine(vertexState, pipelineState.getPipelineLayout(), vertexShad… in draw() 219 …pixelRoutine = pixelProcessor.routine(pixelState, pipelineState.getPipelineLayout(), fragmentShade… in draw() 225 int ms = pipelineState.getSampleCount(); in draw() 228 if(pipelineState.isDrawTriangle(false)) in draw() 230 switch(pipelineState.getPolygonMode()) in draw() [all …]
|
D | SetupProcessor.hpp | 79 …State update(const vk::GraphicsState &pipelineState, const sw::SpirvShader *fragmentShader, const …
|
D | VertexProcessor.hpp | 98 …const State update(const vk::GraphicsState &pipelineState, const sw::SpirvShader *vertexShader, co…
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DPipeline.h | 16 static sk_sp<GrD3DPipeline> Make(gr_cp<ID3D12PipelineState> pipelineState) { in Make() argument 17 return sk_sp<GrD3DPipeline>(new GrD3DPipeline(std::move(pipelineState))); in Make() 34 GrD3DPipeline(gr_cp<ID3D12PipelineState> pipelineState) in GrD3DPipeline() argument 35 : fPipelineState(std::move(pipelineState)) { in GrD3DPipeline()
|
D | GrD3DResourceProvider.cpp | 298 Entry(GrD3DGpu* gpu, std::unique_ptr<GrD3DPipelineState> pipelineState) in Entry() 299 : fGpu(gpu), fPipelineState(std::move(pipelineState)) {} in Entry() 352 std::unique_ptr<GrD3DPipelineState> pipelineState = in refPipelineState() local 354 if (!pipelineState) { in refPipelineState() 358 new Entry(fGpu, std::move(pipelineState)))); in refPipelineState()
|
D | GrD3DPipelineStateBuilder.cpp | 548 gr_cp<ID3D12PipelineState> pipelineState; in create_pipeline_state() local 552 gpu->device()->CreateGraphicsPipelineState(&psoDesc, IID_PPV_ARGS(&pipelineState))); in create_pipeline_state() 555 return pipelineState; in create_pipeline_state() 649 gr_cp<ID3D12PipelineState> pipelineState = create_pipeline_state( in finalize() local 653 sk_sp<GrD3DPipeline> pipeline = GrD3DPipeline::Make(std::move(pipelineState)); in finalize() 704 gr_cp<ID3D12PipelineState> pipelineState; in MakeComputePipeline() local 708 gpu->device()->CreateComputePipelineState(&psoDesc, IID_PPV_ARGS(&pipelineState))); in MakeComputePipeline() 711 return GrD3DPipeline::Make(std::move(pipelineState)); in MakeComputePipeline()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/util/ |
D | vktDrawUtil.cpp | 132 void ReferenceDrawContext::registerDrawObject(const PipelineState& pipelineState, std::shared_ptr<r… in registerDrawObject() argument 134 m_pipelineStates.push_back(pipelineState); in registerDrawObject() 387 void VulkanDrawContext::registerDrawObject(const PipelineState& pipelineState, const VulkanProgram&… in registerDrawObject() argument 417 …DE_ASSERT(drawCallData.topology != VK_PRIMITIVE_TOPOLOGY_PATCH_LIST || pipelineState.numPatchContr… in registerDrawObject() 427 pipelineState.depthClampEnable, // VkBool32 depthClampEnable; in registerDrawObject() 436 pipelineState.lineWidth, // float lineWidth; in registerDrawObject() 444 pipelineState.depthClipEnable, // VkBool32 depthClipEnable; in registerDrawObject() 446 if (pipelineState.explicitDepthClipEnable) in registerDrawObject() 455 …pipelineState.sampleShadingEnable ? VK_TRUE : VK_FALSE, // VkBool32 sampleShadingEn… in registerDrawObject() 456 pipelineState.sampleShadingEnable ? 1.0f : 0.0f, // float minSampleShading; in registerDrawObject() [all …]
|
D | vktDrawUtil.hpp | 115 void registerDrawObject (const PipelineState& pipelineState, 169 void registerDrawObject (const PipelineState& pipelineState,
|
/third_party/flutter/skia/src/gpu/vk/ |
D | GrVkPipelineStateCache.cpp | 26 Entry(GrVkGpu* gpu, GrVkPipelineState* pipelineState) in Entry() 28 , fPipelineState(pipelineState) {} in Entry() 112 GrVkPipelineState* pipelineState(GrVkPipelineStateBuilder::CreatePipelineState( in refPipelineState() local 115 if (nullptr == pipelineState) { in refPipelineState() 118 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(fGpu, pipelineState))); in refPipelineState()
|
D | GrVkGpuCommandBuffer.cpp | 686 GrVkPipelineState* pipelineState = in prepareDrawState() local 693 if (!pipelineState) { in prepareDrawState() 694 return pipelineState; in prepareDrawState() 697 fLastPipelineState = pipelineState; in prepareDrawState() 699 pipelineState->bindPipeline(fGpu, cbInfo.currentCmdBuf()); in prepareDrawState() 701 pipelineState->setAndBindUniforms(fGpu, fRenderTarget, fOrigin, in prepareDrawState() 707 pipelineState->setAndBindTextures(fGpu, primProc, pipeline, primProcProxies, in prepareDrawState() 727 return pipelineState; in prepareDrawState() 796 GrVkPipelineState* pipelineState = this->prepareDrawState(primProc, pipeline, fixedDynamicState, in onDraw() local 798 if (!pipelineState) { in onDraw() [all …]
|
/third_party/skia/src/gpu/vk/ |
D | GrVkPipelineStateCache.cpp | 28 Entry(GrVkGpu* gpu, GrVkPipelineState* pipelineState) in Entry() 30 , fPipelineState(pipelineState) {} in Entry() 123 GrVkPipelineState* pipelineState(GrVkPipelineStateBuilder::CreatePipelineState( in findOrCreatePipelineStateImpl() local 125 if (!pipelineState) { in findOrCreatePipelineStateImpl() 128 entry = fMap.insert(desc, std::make_unique<Entry>(fGpu, pipelineState)); in findOrCreatePipelineStateImpl()
|
/third_party/flutter/skia/src/gpu/mtl/ |
D | GrMtlCommandBuffer.mm | 50 const GrMtlPipelineState* pipelineState) { 62 bool secondDoesntSampleFirst = (!pipelineState || 63 pipelineState->doesntSampleAttachment(first)) && 72 MTLRenderPassDescriptor* descriptor, const GrMtlPipelineState* pipelineState, 76 descriptor.colorAttachments[0], pipelineState) && 78 descriptor.stencilAttachment, pipelineState)) {
|
D | GrMtlGpuCommandBuffer.mm | 92 GrMtlPipelineState* pipelineState = 98 if (!pipelineState) { 101 pipelineState->setData(fRenderTarget, fOrigin, primProc, pipeline, primProcProxies); 104 return pipelineState; 158 GrMtlPipelineState* pipelineState = this->prepareDrawState(primProc, pipeline, 160 if (!pipelineState) { 166 fRenderPassDesc, pipelineState, this); 169 [fActiveRenderCmdEncoder setRenderPipelineState:pipelineState->mtlPipelineState()]; 170 pipelineState->setDrawState(fActiveRenderCmdEncoder, pipeline.outputSwizzle(), 191 SkDEBUGCODE(pipelineState = nullptr); [all …]
|
D | GrMtlResourceProvider.mm | 101 Entry(GrMtlGpu* gpu, GrMtlPipelineState* pipelineState) 103 , fPipelineState(pipelineState) {} 164 GrMtlPipelineState* pipelineState(GrMtlPipelineStateBuilder::CreatePipelineState( 166 if (nullptr == pipelineState) { 169 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(fGpu, pipelineState)));
|
D | GrMtlPipelineStateBuilder.mm | 382 id<MTLRenderPipelineState> pipelineState = GrMtlNewRenderPipelineStateWithDescriptor( 386 pipelineState = GrMtlNewRenderPipelineStateWithDescriptor( 389 if (!pipelineState) { 394 id<MTLRenderPipelineState> pipelineState = 407 pipelineState,
|
D | GrMtlUtil.mm | 238 __block id<MTLRenderPipelineState> pipelineState; 246 pipelineState = state; 259 return pipelineState;
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping/ |
D | vktClippingTests.cpp | 474 PipelineState pipelineState (context.getDeviceProperties().limits.subPixelPrecisionBits); in testPrimitivesInside() local 479 drawContext.registerDrawObject(pipelineState, vulkanProgram, drawCallData); in testPrimitivesInside() 530 PipelineState pipelineState (context.getDeviceProperties().limits.subPixelPrecisionBits); in testPrimitivesOutside() local 535 drawContext.registerDrawObject(pipelineState, vulkanProgram, drawCallData); in testPrimitivesOutside() 620 PipelineState pipelineState (context.getDeviceProperties().limits.subPixelPrecisionBits); in testPrimitivesDepthClamp() local 621 pipelineState.depthClampEnable = cases[caseNdx].depthClampEnable; in testPrimitivesDepthClamp() 626 drawContext.registerDrawObject(pipelineState, vulkanProgram, drawCallData); in testPrimitivesDepthClamp() 714 PipelineState pipelineState (context.getDeviceProperties().limits.subPixelPrecisionBits); in testPrimitivesDepthClip() local 715 pipelineState.depthClampEnable = false; in testPrimitivesDepthClip() 716 pipelineState.explicitDepthClipEnable = true; in testPrimitivesDepthClip() [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkCommandBuffer.cpp | 153 executionState.pipelineState[pipelineBindPoint].pipeline = pipeline; in execute() 178 auto const &pipelineState = executionState.pipelineState[VK_PIPELINE_BIND_POINT_COMPUTE]; in execute() local 180 vk::ComputePipeline *pipeline = static_cast<vk::ComputePipeline *>(pipelineState.pipeline); in execute() 183 pipelineState.descriptorSetObjects, in execute() 184 pipelineState.descriptorSets, in execute() 185 pipelineState.descriptorDynamicOffsets, in execute() 213 auto const &pipelineState = executionState.pipelineState[VK_PIPELINE_BIND_POINT_COMPUTE]; in execute() local 215 auto pipeline = static_cast<vk::ComputePipeline *>(pipelineState.pipeline); in execute() 217 pipelineState.descriptorSetObjects, in execute() 218 pipelineState.descriptorSets, in execute() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationSmokeTests.cpp | 676 VkGraphicsPipelineCreateInfo pipelineState; in generateWork() local 865 deMemset(&pipelineState, 0xcd, sizeof(pipelineState)); in generateWork() 866 pipelineState.sType = VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO; in generateWork() 867 pipelineState.pNext = DE_NULL; in generateWork() 868 pipelineState.flags = 0; in generateWork() 869 pipelineState.stageCount = DE_LENGTH_OF_ARRAY(shaderStageParams); in generateWork() 870 pipelineState.pStages = &shaderStageParams[0]; in generateWork() 871 pipelineState.pVertexInputState = &vertexInputState; in generateWork() 872 pipelineState.pInputAssemblyState = &inputAssemblyState; in generateWork() 873 pipelineState.pTessellationState = DE_NULL; in generateWork() [all …]
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlResourceProvider.mm | 173 Entry(GrMtlPipelineState* pipelineState) 174 : fPipelineState(pipelineState) {} 225 // We've pre-compiled the MSL shaders but don't yet have the pipelineState 234 SkDEBUGFAIL("Couldn't create pipelineState from precompiled shaders"); 245 GrMtlPipelineState* pipelineState( 247 if (!pipelineState) { 252 entry = fMap.insert(desc, std::unique_ptr<Entry>(new Entry(pipelineState)));
|
D | GrMtlCommandBuffer.mm | 74 const GrMtlPipelineState* pipelineState) { 87 bool secondDoesntSampleFirst = (!pipelineState || 88 pipelineState->doesntSampleAttachment(first)); 140 MTLRenderPassDescriptor* descriptor, const GrMtlPipelineState* pipelineState, 144 descriptor.colorAttachments[0], pipelineState) && 146 descriptor.stencilAttachment, pipelineState)) {
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/ |
D | vktShaderRenderBuiltinVarTests.cpp | 154 PipelineState pipelineState (m_context.getDeviceProperties().limits.subPixelPrecisionBits); in iterate() local 158 dc.registerDrawObject(pipelineState, vulkanProgram, drawCallData); in iterate() 162 refDrawContext.registerDrawObject(pipelineState, vertexShader, fragmentShader, drawCallData); in iterate() 766 PipelineState pipelineState(m_context.getDeviceProperties().limits.subPixelPrecisionBits); in iterate() local 773 pipelineState.depthClampEnable = m_depthClampEnable; in iterate() 774 pipelineState.compareOp = rr::TESTFUNC_ALWAYS; in iterate() 775 pipelineState.depthTestEnable = true; in iterate() 776 pipelineState.depthWriteEnable = true; in iterate() 777 pipelineState.sampleShadingEnable = true; in iterate() 782 vulkanDrawContext.registerDrawObject(pipelineState, vulkanProgram, drawCallData); in iterate() [all …]
|