VideoBackends: allow custom pixel uniforms to be passed to the vertex shader as well

This commit is contained in:
iwubcode
2025-08-16 15:07:24 -05:00
parent 52806b3dc8
commit 0e73a01279
14 changed files with 62 additions and 38 deletions

View File

@ -68,8 +68,8 @@ 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_custom_constant_buffer = nullptr;
std::size_t m_last_custom_buffer_size = 0;
ComPtr<ID3D11Buffer> m_texel_buffer = nullptr;
std::array<ComPtr<ID3D11ShaderResourceView>, NUM_TEXEL_BUFFER_FORMATS> m_texel_buffer_views;