Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate DirectX 9 API #468

Closed
Xottab-DUTY opened this issue Sep 13, 2019 · 6 comments
Closed

Deprecate DirectX 9 API #468

Xottab-DUTY opened this issue Sep 13, 2019 · 6 comments

Comments

@Xottab-DUTY
Copy link
Member

Xottab-DUTY commented Sep 13, 2019

DirectX 9 code should be deprecated and removed from the engine.

Currently, we have two renderers on it: static lighting R1, which should be ported both to DirectX 11 (#488) and OpenGL, and dynamic lighting R2, which can be removed and replaced by R4 (it is a superset of R2 anyway)

Thing to think on: how to still support DX9 hardware? DirectX 11 with Feature Level 9?
Lower the minimal OpenGL required version?

If we will support feature level 9, then we need to implement #281.

@Xottab-DUTY
Copy link
Member Author

Xottab-DUTY commented Oct 2, 2019

Hmm. and we should decide how we will support #392, since Shadow of Chernobyl is completely DirectX 9 game.

Are there any shader cross-compilers from DX9 shaders to DX11 shaders?
We can use D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY and compile DX9-style shaders with shader model 5.0 for DX11. But it's a mandatory to implement #281.

@Xottab-DUTY
Copy link
Member Author

So, if we want to support Shadow of Chernobyl with it's DX9-style shaders and/or DX9-level hardware, firsly we should fully implement #281.

@Xottab-DUTY
Copy link
Member Author

DX9 should remain until new year 2020. After then we should decide if we will remove it or this issue will be cancelled and DX9 renderer will be still supported.

@Xottab-DUTY Xottab-DUTY changed the title Deprecate DirectX 9 API (Remove R2, but leave R1) Deprecate DirectX 9 API (paused until 2020) Oct 4, 2019
@Xottab-DUTY Xottab-DUTY changed the title Deprecate DirectX 9 API (paused until 2020) Deprecate DirectX 9 API Jan 15, 2020
@Xottab-DUTY
Copy link
Member Author

DX9 support will remain and still be supported.

@Xottab-DUTY
Copy link
Member Author

This is likely to be reconsidered during August - September 2024.

@Xottab-DUTY
Copy link
Member Author

Xottab-DUTY commented Apr 30, 2024

We planned to decide whether or not to remove DX9 in September 2024, but I decided to ask the community.
Almost everyone suggested to removed it already.

So, I have removed DX9 renderer (R1 and R2) from the mainstream development branch (dev).
I also created a separate dx9 branch where I have preserved R1 renderer so that we can still experiment and make some progress with #1313 and #1314.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

1 participant