mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
d3d12: Add some comments
This commit is contained in:
parent
8801abb93a
commit
612d169b78
1 changed files with 14 additions and 0 deletions
|
@ -376,8 +376,22 @@ private:
|
||||||
virtual void Close() override;
|
virtual void Close() override;
|
||||||
|
|
||||||
bool LoadProgram();
|
bool LoadProgram();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create as little vertex buffer as possible to hold all vertex info (in upload heap),
|
||||||
|
* create corresponding IA layout that can be used for load program and
|
||||||
|
* returns a vector of vertex buffer view that can be passed to IASetVertexBufferView().
|
||||||
|
*/
|
||||||
std::vector<D3D12_VERTEX_BUFFER_VIEW> UploadVertexBuffers(bool indexed_draw = false);
|
std::vector<D3D12_VERTEX_BUFFER_VIEW> UploadVertexBuffers(bool indexed_draw = false);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create index buffer for indexed rendering and non native primitive format if nedded, and
|
||||||
|
* update m_renderingInfo member accordingly. If m_renderingInfo::m_indexed is true,
|
||||||
|
* returns an index buffer view that can be passed to a command list.
|
||||||
|
*/
|
||||||
D3D12_INDEX_BUFFER_VIEW uploadIndexBuffers(bool indexed_draw = false);
|
D3D12_INDEX_BUFFER_VIEW uploadIndexBuffers(bool indexed_draw = false);
|
||||||
|
|
||||||
|
|
||||||
void setScaleOffset();
|
void setScaleOffset();
|
||||||
void FillVertexShaderConstantsBuffer();
|
void FillVertexShaderConstantsBuffer();
|
||||||
void FillPixelShaderConstantsBuffer();
|
void FillPixelShaderConstantsBuffer();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue