Lines Matching refs:gpu
150 void setup_depth_stencil_state(const GrVkGpu* gpu,
188 void setup_viewport_scissor_state(const GrVkGpu* gpu,
346 void setup_color_blend_state(const GrVkGpu* gpu,
399 void setup_raster_state(const GrVkGpu* gpu,
418 void setup_dynamic_state(const GrVkGpu* gpu,
427 GrVkPipeline* GrVkPipeline::Create(GrVkGpu* gpu, const GrPipeline& pipeline,
446 setup_depth_stencil_state(gpu, pipeline.getStencil(), &depthStencilInfo);
453 setup_viewport_scissor_state(gpu, pipeline, vkRT, &viewportInfo, &viewport, &scissor);
461 setup_color_blend_state(gpu, pipeline, &colorBlendInfo, attachmentStates);
464 setup_raster_state(gpu, pipeline, &rasterInfo);
467 setup_dynamic_state(gpu, pipeline, &dynamicInfo);
492 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateGraphicsPipelines(gpu->device(),
503 void GrVkPipeline::freeGPUData(const GrVkGpu* gpu) const {
504 GR_VK_CALL(gpu->vkInterface(), DestroyPipeline(gpu->device(), fPipeline, nullptr));