Implement Vulkan renderer#1330
Conversation
draw the fog color. Keeps visuals similar to vanilla in edge cases where fog would be shown instead of the void. Co-Authored-By: Spaghetti <15520009+Spaghetti657@users.noreply.github.com>
…hader Co-Authored-By: Spaghetti <15520009+Spaghetti657@users.noreply.github.com>
- Flares (ex map. t2_dpred) are clipping through walls at greater distances. Also flare fade out is clipping and looks wrong, merge with rend2 disabled method. https://github.com/SomaZ/OpenJK/blob/323f230523b9bf14b41fff14f6018299cb3898c5/codemp/rd-rend2/tr_flares.cpp#L294
- Vulkan: enable vertexPipelineStoresAndAtomics along with fragmentStoresAndAtomics - ec-/Quake3e@0c26ee3 - Vulkan: Use size_t for x86 and x64 arch to fix r_vbo 2 ghoul2 missing surfaces
| @@ -327,9 +330,17 @@ static rserr_t GLimp_SetMode(glconfig_t *glConfig, const windowDesc_t *windowDes | |||
| int display = 0; | |||
| int x = SDL_WINDOWPOS_UNDEFINED, y = SDL_WINDOWPOS_UNDEFINED; | |||
|
|
|||
| if ( windowDesc->api == GRAPHICS_API_OPENGL ) | |||
| Com_Printf("grahpis mode: %d", (int)windowDesc->api); | |||
There was a problem hiding this comment.
| Com_Printf("grahpis mode: %d", (int)windowDesc->api); | |
| Com_Printf("graphics mode: %d", (int)windowDesc->api); |
| ############# | ||
| [Bb]uild*/ | ||
| cmake-build-* | ||
| codemp/rd-vulkan/shaders/tools/compile_threaded.exe |
There was a problem hiding this comment.
Huh, where does this come from?
Should this be in the project gitignore, or your local?
Compiled versions of bin2hex and bindshader have been committed. All or nothing?
There was a problem hiding this comment.
Thanks for reviewing,
When developers want to compile GLSL->SPIR-V, compile_threaded.bat uses cl.exe to compile it.
Same for the other two.
I added it to .gitignore cus Windows Firewall/Github Desktop was whining about something.
The other compiled executables are tiny, thats why I left them.
I can add a .gitignore to the tools folder and remove it from the root one.
or a global *.exe, w/e you prefer, let me know :)
|
Been brought to my attention that ri.VK_destroyWindow = WIN_VK_destroyWindow;Is dead code, which I will add to my todo to remove as well for this PR. Which leaves just 3 refapi changes |
Vulkans landing page with info: https://jksunny.github.io/