mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
36 lines
683 B
C
36 lines
683 B
C
|
#pragma once
|
||
|
|
||
|
#include <mutex>
|
||
|
|
||
|
#include "dxvk_shader.h"
|
||
|
#include "dxvk_resource.h"
|
||
|
|
||
|
namespace dxvk {
|
||
|
|
||
|
/**
|
||
|
* \brief Graphics pipeline
|
||
|
*
|
||
|
* Stores the pipeline layout as well as methods to
|
||
|
* recompile the graphics pipeline against a given
|
||
|
* pipeline state vector.
|
||
|
*/
|
||
|
class DxvkGraphicsPipeline : public DxvkResource {
|
||
|
|
||
|
public:
|
||
|
|
||
|
DxvkGraphicsPipeline(
|
||
|
const Rc<vk::DeviceFn>& vkd,
|
||
|
const Rc<DxvkShader>& vs,
|
||
|
const Rc<DxvkShader>& tcs,
|
||
|
const Rc<DxvkShader>& tes,
|
||
|
const Rc<DxvkShader>& gs,
|
||
|
const Rc<DxvkShader>& fs);
|
||
|
~DxvkGraphicsPipeline();
|
||
|
|
||
|
private:
|
||
|
|
||
|
std::mutex m_mutex;
|
||
|
|
||
|
};
|
||
|
|
||
|
}
|