Commit graph

2,227 commits

Author SHA1 Message Date
dpjudas
202d99bf9e Add worker thread for creating pipelines 2025-04-10 08:17:45 +02:00
RaveYard
d0ac43abc6 Fix shader light attenuation 2025-04-08 23:37:55 +02:00
dpjudas
3971f0657a More khronos HELL (thanks guys!) 2025-04-07 02:04:27 +02:00
RaveYard
519ef3afc7 Fix ubershaders 2025-04-06 21:17:29 +02:00
Magnus Norddahl
5cc54c5603 Include all pipeline builds in the stats 2025-04-06 16:15:00 +02:00
Magnus Norddahl
db2d67afcd Link the generalized shaders 2025-04-06 16:13:23 +02:00
dpjudas
8027f98eae More pipeline lookup code 2025-04-06 02:11:38 +02:00
Magnus Norddahl
bface51b89 Pipeline library helper functions 2025-04-05 15:52:59 +02:00
RaveYard
b82ba53b6b Fix rendering bugs when using ubershaders 2025-04-04 01:00:14 +02:00
RaveYard
de2cc0119c Fix missing incrementation of pipeline counter 2025-04-03 23:40:46 +02:00
RaveYard
c4f5f8d62d Add stat pipelines and print pipeline creation time 2025-04-03 23:02:36 +02:00
Magnus Norddahl
ec93c8e7d9 Fix typo 2025-04-03 02:02:47 +02:00
Magnus Norddahl
cc7dea2093 Include the shader key in the push constants 2025-04-03 01:25:46 +02:00
Magnus Norddahl
bb4d4f1bc0 Add generalized shader code 2025-04-03 01:23:06 +02:00
Magnus Norddahl
c6344588c2 Update glslang to 15.2.0 2025-04-03 00:35:31 +02:00
Magnus Norddahl
3313baad6b Use shader specialization constants 2025-03-22 15:12:07 +01:00
dpjudas
5e22b07db2 Update to latest zvulkan 2025-03-22 04:44:33 +01:00
Magnus Norddahl
4e78ba469c Add VMCallScript template for calling ZScript functions with type checking 2025-03-19 22:15:29 +01:00
Magnus Norddahl
cc8681a9aa Fix memory leak in mixins 2025-03-16 18:54:35 +01:00
Magnus Norddahl
f34cce5614 Replace RectPacker with a version that can do dynamic allocations 2025-03-16 18:42:49 +01:00
nashmuhandes
799011d327 Merge branch '4.14.1' of https://github.com/ZDoom/gzdoom 2025-03-13 03:00:11 +08:00
Magnus Norddahl
640a2b2c41 Cache all GLSL shader compilation 2025-02-26 01:47:07 +01:00
Ricardo Luís Vaz Silva
a4cc4ab9e2 fix pushconstants validation issues 2025-02-25 17:21:14 +01:00
Ricardo Luís Vaz Silva
32e22a7866 add missing padding to pushconstants 2025-02-25 17:21:14 +01:00
Magnus Norddahl
3aaf2cc639 Add SPIRV cache to VkShaderCache 2025-02-25 02:15:15 +01:00
Magnus Norddahl
41a345d399 Update shader builder code and add initial work on a shader caching class 2025-02-25 00:15:22 +01:00
RaveYard
163ebb5721 Fix mistake caused when moving constants 2025-02-22 10:15:15 +01:00
RaveYard
666f38ee71 Move constants from VkLightProber to DFrameBuffer 2025-02-22 10:15:15 +01:00
RaveYard
7dc050edb0 Refactor to reduce reallocations and copying 2025-02-22 10:15:15 +01:00
RaveYard
04195e8331 Minor refactor of lightprobe related code 2025-02-22 10:15:15 +01:00
RaveYard
2dd7ad8eb2 WIP multiple probes support 2025-02-22 10:15:15 +01:00
RaveYard
88115cfedd Add CCMD addlightprobe and support simple binding of light probes to sides+sectors 2025-02-22 10:15:15 +01:00
Ricardo Luís Vaz Silva
0d0469bd05
don't allow changing out-ness of parameters in virtual overrides 2025-02-21 07:18:15 -05:00
marrub
dcbd66a528
add default cvar getters 2025-02-21 07:18:03 -05:00
Boondorl
5a5bed5c31
Added FindClass
Allows for classes to be looked up during run time without having to use string casting.
2025-02-21 07:17:49 -05:00
RaveYard
ac1da90d34 Add struct LightProbe 2025-02-20 15:14:51 +01:00
dpjudas
aca088d601 Add uniform for specifying the light probe 2025-02-19 02:16:21 +01:00
Ricardo Luís Vaz Silva
77f19ba6f5 initial work for ubershaders 2025-02-18 09:45:25 +01:00
Magnus Norddahl
18ea5c9da7 Actually load the BRDF LUT texture 2025-02-17 16:45:20 +01:00
Magnus Norddahl
6ebc48f96c Fix PBR cubemaps being upside down 2025-02-17 15:53:23 +01:00
Chronos Ouroboros
7d180069e3 Fix FxExpression::EmitCompare not properly handling constant registers. 2025-02-17 07:53:27 -03:00
Ricardo Luís Vaz Silva
961e74e0fa add camera-facing midtexture shadows to dynamic lights, off by default due to fps hit 2025-02-17 02:34:45 +01:00
Ricardo Luís Vaz Silva
7c2b228c46 add uCameraNormal 2025-02-17 02:34:45 +01:00
RaveYard
08f41596be Fix upload of prefilterred maps 2025-02-17 02:33:16 +01:00
dpjudas
c13de68d4a Another attempt at swapping the order 2025-02-17 01:36:11 +01:00
dpjudas
85c8f931d4 Swap mipmap and side order when downloading 2025-02-17 01:07:16 +01:00
Magnus Norddahl
48e769b635 Fix the cube map directions, hopefully 2025-02-16 23:20:33 +01:00
Magnus Norddahl
3f01630b8a Render environment probe at player position 2025-02-16 19:03:45 +01:00
Magnus Norddahl
513f90db3e Add VkLightprober to VulkanRenderDevice and fix the glsl compile errors 2025-02-16 13:37:40 +01:00
dpjudas
6bd629d640 Add function for rendering into environment map 2025-02-16 03:57:06 +01:00