Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
prism/engine/gfx/webgpu/src/gfx_webgpu_pipeline.hpp

18 lines
352 B
C++
Raw Normal View History

#pragma once
2022-03-06 21:40:58 -05:00
#include <map>
#include "gfx_pipeline.hpp"
class GFXWebGPUPipeline : public GFXPipeline {
public:
std::string label;
WGPURenderPipeline render_handle = nullptr;
WGPUComputePipeline compute_handle = nullptr;
2022-03-06 21:40:58 -05:00
WGPUBindGroupLayout bind_group_layout = nullptr;
std::map<uint64_t, WGPUBindGroup> cached_bind_groups;
};