blob: 7ab3242ebee903bd04303d6148fa4c4a0dc01d3a [file] [log] [blame]
* Copyright 2018 Google Inc.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
#ifndef GrVkPipelineLayout_DEFINED
#define GrVkPipelineLayout_DEFINED
#include "GrTypes.h"
#include "GrVkResource.h"
#include "vk/GrVkDefines.h"
class GrVkPipelineLayout : public GrVkResource {
GrVkPipelineLayout(VkPipelineLayout layout) : fPipelineLayout(layout) {}
VkPipelineLayout layout() const { return fPipelineLayout; }
void dumpInfo() const override {
SkDebugf("GrVkPipelineLayout: %d (%d refs)\n", fPipelineLayout, this->getRefCnt());
GrVkPipelineLayout(const GrVkPipelineLayout&);
GrVkPipelineLayout& operator=(const GrVkPipelineLayout&);
void freeGPUData(const GrVkGpu* gpu) const override;
VkPipelineLayout fPipelineLayout;
typedef GrVkResource INHERITED;