Home
last modified time | relevance | path

Searched refs:GrVkUniformHandler (Results 1 – 25 of 32) sorted by relevance

12

/external/skia/src/gpu/vk/
DGrVkMSAALoadManager.cpp80 VkDescriptorSetLayout dsLayout[GrVkUniformHandler::kDescSetCount]; in createMSAALoadProgram()
84 dsLayout[GrVkUniformHandler::kUniformBufferDescSet] = resourceProvider.getUniformDSLayout(); in createMSAALoadProgram()
94 dsLayout[GrVkUniformHandler::kSamplerDescSet] = in createMSAALoadProgram()
97 dsLayout[GrVkUniformHandler::kInputDescSet] = resourceProvider.getInputDSLayout(); in createMSAALoadProgram()
105 layoutCreateInfo.setLayoutCount = GrVkUniformHandler::kDescSetCount; in createMSAALoadProgram()
196 static_assert(GrVkUniformHandler::kUniformBufferDescSet < GrVkUniformHandler::kInputDescSet); in loadMSAAFromResolve()
198 GrVkUniformHandler::kUniformBufferDescSet, in loadMSAAFromResolve()
209 GrVkUniformHandler::kInputDescSet, /*setCount=*/1, in loadMSAAFromResolve()
DGrVkUniformHandler.cpp159 if (layout == GrVkUniformHandler::kStd430Layout) { in grsltype_to_vk_size()
197 if (layout == GrVkUniformHandler::kStd140Layout && (arrayCount || type == kFloat2x2_GrSLType)) { in get_aligned_offset()
217 GrVkUniformHandler::~GrVkUniformHandler() { in ~GrVkUniformHandler()
226 GrGLSLUniformHandler::UniformHandle GrVkUniformHandler::internalAddUniformArray( in internalAddUniformArray()
269 GrGLSLUniformHandler::SamplerHandle GrVkUniformHandler::addSampler( in addSampler()
307 GrGLSLUniformHandler::SamplerHandle GrVkUniformHandler::addInputSampler(const GrSwizzle& swizzle, in addInputSampler()
327 void GrVkUniformHandler::appendUniformDecls(GrShaderFlags visibility, SkString* out) const { in appendUniformDecls()
385 uint32_t GrVkUniformHandler::getRTHeightOffset() const { in getRTHeightOffset()
391 void GrVkUniformHandler::determineIfUsePushConstants() const { in determineIfUsePushConstants()
DGrVkDescriptorSetManager.h20 class GrVkUniformHandler; variable
32 const GrVkUniformHandler&);
48 bool isCompatible(VkDescriptorType type, const GrVkUniformHandler*) const;
DGrVkUniformHandler.h19 class GrVkUniformHandler : public GrGLSLUniformHandler {
65 ~GrVkUniformHandler() override;
99 explicit GrVkUniformHandler(GrGLSLProgramBuilder* program) in GrVkUniformHandler() function
DGrVkPipelineStateBuilder.cpp178 VkDescriptorSetLayout dsLayout[GrVkUniformHandler::kDescSetCount]; in finalize()
185 dsLayout[GrVkUniformHandler::kUniformBufferDescSet] = resourceProvider.getUniformDSLayout(); in finalize()
190 dsLayout[GrVkUniformHandler::kSamplerDescSet] = in finalize()
193 dsLayout[GrVkUniformHandler::kInputDescSet] = resourceProvider.getInputDSLayout(); in finalize()
315 usesInput ? GrVkUniformHandler::kDescSetCount : (GrVkUniformHandler::kDescSetCount - 1); in finalize()
DGrVkPipelineStateDataManager.cpp25 GrVkUniformHandler::Layout memLayout = usePushConstants ? GrVkUniformHandler::kStd430Layout in GrVkPipelineStateDataManager()
26 : GrVkUniformHandler::kStd140Layout; in GrVkPipelineStateDataManager()
DGrVkPipelineState.cpp105 static const int kUniformDSIdx = GrVkUniformHandler::kUniformBufferDescSet; in setAndBindUniforms()
150 static const int kSamplerDSIdx = GrVkUniformHandler::kSamplerDescSet; in setAndBindTextures()
241 commandBuffer->bindDescriptorSets(gpu, fPipeline->layout(), GrVkUniformHandler::kInputDescSet, in setAndBindInputAttachment()
DGrVkResourceProvider.h37 class GrVkUniformHandler; variable
158 const GrVkUniformHandler&,
DGrVkPipelineStateDataManager.h22 typedef GrVkUniformHandler::UniformInfoArray UniformInfoArray;
DGrVkDescriptorSetManager.cpp31 GrVkGpu* gpu, VkDescriptorType type, const GrVkUniformHandler& uniformHandler) { in CreateSamplerManager()
128 dsUniBinding.binding = GrVkUniformHandler::kUniformBinding; in get_layout_and_desc_count()
273 const GrVkUniformHandler* uniHandler) const { in isCompatible()
DGrVkPipelineStateBuilder.h81 GrVkUniformHandler fUniformHandler;
DGrVkBuffer.cpp54 descriptorWrite.dstBinding = GrVkUniformHandler::kUniformBinding; in make_uniform_desc_set()
DGrVkAttachment.cpp213 writeInfo.dstBinding = GrVkUniformHandler::kInputBinding; in write_input_desc_set()
/external/skqp/src/gpu/vk/
DGrVkDescriptorSetManager.h20 class GrVkUniformHandler; variable
32 const GrVkUniformHandler&);
47 bool isCompatible(VkDescriptorType type, const GrVkUniformHandler*) const;
DGrVkPipelineState.cpp172 int uniformDSIdx = GrVkUniformHandler::kUniformBufferDescSet; in setAndBindUniforms()
247 int samplerDSIdx = GrVkUniformHandler::kSamplerDescSet; in setAndBindTextures()
273 writeInfo.dstSet = fDescriptorSets[GrVkUniformHandler::kSamplerDescSet]; in setAndBindTextures()
333 fDescriptorSets[GrVkUniformHandler::kUniformBufferDescSet], in writeUniformBuffers()
334 GrVkUniformHandler::kGeometryBinding); in writeUniformBuffers()
343 fDescriptorSets[GrVkUniformHandler::kUniformBufferDescSet], in writeUniformBuffers()
344 GrVkUniformHandler::kFragBinding); in writeUniformBuffers()
DGrVkPipelineStateDataManager.cpp28 const GrVkUniformHandler::UniformInfo uniformInfo = uniforms[i]; in GrVkPipelineStateDataManager()
37 uniform.fBinding = GrVkUniformHandler::kGeometryBinding; in GrVkPipelineStateDataManager()
40 uniform.fBinding = GrVkUniformHandler::kFragBinding; in GrVkPipelineStateDataManager()
48 if (GrVkUniformHandler::kGeometryBinding == uni.fBinding) { in getBufferPtrAndMarkDirty()
52 SkASSERT(GrVkUniformHandler::kFragBinding == uni.fBinding); in getBufferPtrAndMarkDirty()
328 if (GrVkUniformHandler::kGeometryBinding == uni.fBinding) { in setMatrices()
332 SkASSERT(GrVkUniformHandler::kFragBinding == uni.fBinding); in setMatrices()
DGrVkUniformHandler.h18 class GrVkUniformHandler : public GrGLSLUniformHandler {
57 explicit GrVkUniformHandler(GrGLSLProgramBuilder* program) in GrVkUniformHandler() function
DGrVkDescriptorSetManager.cpp33 GrVkGpu* gpu, VkDescriptorType type, const GrVkUniformHandler& uniformHandler) { in CreateSamplerManager()
133 const GrVkUniformHandler* uniHandler) const { in isCompatible()
242 { GrVkUniformHandler::kGeometryBinding, GrVkUniformHandler::kFragBinding }; in DescriptorPoolManager()
DGrVkUniformHandler.cpp203 GrGLSLUniformHandler::UniformHandle GrVkUniformHandler::internalAddUniformArray( in internalAddUniformArray()
262 GrGLSLUniformHandler::SamplerHandle GrVkUniformHandler::addSampler(const GrTexture* texture, in addSampler()
301 void GrVkUniformHandler::appendUniformDecls(GrShaderFlags visibility, SkString* out) const { in appendUniformDecls()
DGrVkResourceProvider.h37 class GrVkUniformHandler; variable
122 const GrVkUniformHandler&,
DGrVkCopyManager.cpp101 dsLayout[GrVkUniformHandler::kUniformBufferDescSet] = resourceProvider.getUniformDSLayout(); in createCopyProgram()
108 dsLayout[GrVkUniformHandler::kSamplerDescSet] = in createCopyProgram()
244 descriptorWrites.dstBinding = GrVkUniformHandler::kGeometryBinding; in copySurfaceAsDraw()
DGrVkPipelineStateBuilder.h129 GrVkUniformHandler fUniformHandler;
DGrVkPipelineStateDataManager.h22 typedef GrVkUniformHandler::UniformInfoArray UniformInfoArray;
DGrVkPipelineStateBuilder.cpp242 dsLayout[GrVkUniformHandler::kUniformBufferDescSet] = resourceProvider.getUniformDSLayout(); in finalize()
247 dsLayout[GrVkUniformHandler::kSamplerDescSet] = in finalize()
/external/skqp/tests/
DVkMakeCopyPipelineTest.cpp90 dsLayout[GrVkUniformHandler::kUniformBufferDescSet] = resourceProvider.getUniformDSLayout(); in test()
97 dsLayout[GrVkUniformHandler::kSamplerDescSet] = in test()

12