mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 09:09:04 +00:00
VideoBackends / VideoCommon: add new uniform buffer object for custom shader materials (slot 3, geometry shader buffer moves to slot 4 if available)
This commit is contained in:
parent
92accc3ef7
commit
b6d321bfb1
16 changed files with 214 additions and 83 deletions
|
@ -68,6 +68,9 @@ private:
|
|||
ComPtr<ID3D11Buffer> m_geometry_constant_buffer = nullptr;
|
||||
ComPtr<ID3D11Buffer> m_pixel_constant_buffer = nullptr;
|
||||
|
||||
ComPtr<ID3D11Buffer> m_custom_pixel_constant_buffer = nullptr;
|
||||
std::size_t m_last_custom_pixel_buffer_size = 0;
|
||||
|
||||
ComPtr<ID3D11Buffer> m_texel_buffer = nullptr;
|
||||
std::array<ComPtr<ID3D11ShaderResourceView>, NUM_TEXEL_BUFFER_FORMATS> m_texel_buffer_views;
|
||||
u32 m_texel_buffer_offset = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue