mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
feat(gx): stub out state sync for d3d backend
This commit is contained in:
parent
02ddaa106f
commit
38380ebc35
2 changed files with 34 additions and 0 deletions
|
|
@ -875,6 +875,10 @@ void CGxDeviceD3d::ISetTexture(uint32_t tmu, CGxTex* texId) {
|
|||
}
|
||||
}
|
||||
|
||||
void CGxDeviceD3d::IShaderConstantsFlush() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CGxDeviceD3d::IShaderCreate(CGxShader* shader) {
|
||||
if (shader->target == GxSh_Vertex) {
|
||||
this->IShaderCreateVertex(shader);
|
||||
|
|
@ -925,6 +929,32 @@ void CGxDeviceD3d::IShaderCreateVertex(CGxShader* shader) {
|
|||
|
||||
void CGxDeviceD3d::IStateSync() {
|
||||
// TODO
|
||||
|
||||
this->IShaderConstantsFlush();
|
||||
this->IRsSync(0);
|
||||
|
||||
// TODO ffp if vertex shader is disabled
|
||||
|
||||
this->IStateSyncEnables();
|
||||
|
||||
// TODO
|
||||
|
||||
this->IStateSyncVertexPtrs();
|
||||
this->IStateSyncIndexPtr();
|
||||
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CGxDeviceD3d::IStateSyncEnables() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CGxDeviceD3d::IStateSyncIndexPtr() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CGxDeviceD3d::IStateSyncVertexPtrs() {
|
||||
// TODO
|
||||
}
|
||||
|
||||
void CGxDeviceD3d::ITexCreate(CGxTex* texId) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue