Commit graph

78 commits

Author SHA1 Message Date
Samuliak
4b0e26a576
msl: fix shader output when rasterization is disabled 2025-06-26 10:42:49 +02:00
Samuliak
b59d134e03
shader-decompiler: fix disabled rasterization errors 2025-05-22 18:58:49 +02:00
Samuliak
06491baafa
check for mesh shaders support 2025-02-11 18:09:42 +01:00
Samuliak
3fececc3ba
support line strip as vertex output with geometry shaders 2025-01-28 19:23:47 +01:00
Samuliak
1fb9cfd783
create helper function for rasterization kill 2025-01-28 16:41:30 +01:00
Samuliak
db8c7de236
speed up framebuffer fetch lookup 2025-01-19 10:25:28 +01:00
Samuliak
225d11c43e
fix dfdx and dfdy component count 2025-01-18 19:50:35 +01:00
Samuliak
86f364889a
fix: sample compare component count 2025-01-18 19:40:22 +01:00
Samuliak
2a218d418f
use depth mask when writing to depth 2025-01-17 14:51:25 +01:00
Samuliak
3d84b78362
support multiple components in type conversion 2025-01-15 14:47:47 +01:00
Samuliak
f686a7b77d
use as_type instead of bitCast in shaders 2025-01-12 12:15:08 +01:00
Samuliak
217e2edda3
check if pixel formats match for framebuffer fetch 2025-01-11 10:26:35 +01:00
Samuliak
ca3fe96104
fix: component indexing for framebuffer fetch 2025-01-10 15:40:19 +01:00
Samuliak
4479584eb6
support texture lod query for framebuffer fetch 2025-01-10 09:55:35 +01:00
Samuliak
a0239cb756
check for framebuffer fetch support 2025-01-09 16:27:45 +01:00
Samuliak
e4068856bc
implement framebuffer fetch 2025-01-08 16:09:15 +01:00
Samuliak
55d9436bf3
fix typo in texture decoder 2024-12-22 10:15:13 +01:00
Samuliak
967a74024a
implement point coord properly 2024-12-21 08:52:18 +01:00
Samuliak
4281f6e0c8
implement shader uint min max instructions 2024-12-16 14:24:53 +01:00
Samuliak
c6e8b5c933
fix: depth stencil state issues 2024-12-16 14:13:11 +01:00
Samuliak
05b603d652
fix: incorrect texture read coord type 2024-11-23 18:06:13 +01:00
Samuliak
732e3be63d
explicitly make integer constants int 2024-11-20 19:44:04 +01:00
Samuliak
b140984264
fix: texture sample gradient errors 2024-11-19 17:48:28 +01:00
Samuliak
38cbd3e03a
handle halfZ in the shader decompiler 2024-11-15 17:01:21 +01:00
Samuliak
c9b18efc03
don't transform depth to 0...1 2024-11-14 18:48:27 +01:00
Samuliak
a1b9164831
don't mask ps inputs with 0x7F 2024-11-11 17:33:12 +01:00
Samuliak
ed32feb3d9
rint texture slice & explicitly specify texture lod 2024-11-10 15:18:45 +01:00
Samuliak
97be576cd6
cast texture slice to uint 2024-11-10 07:57:22 +01:00
Samuliak
927c52e268
implement calculate texture lod 2024-11-01 15:30:15 +01:00
Samuliak
2fb4d83a5f don't set verticesPerInstance twice 2024-10-01 19:07:19 +02:00
Samuliak
94e8ed5a46 fetch vertices manually if needed 2024-10-01 17:38:14 +02:00
Samuliak
a328c5e753 use uchar for index type 2024-09-11 12:43:15 +02:00
Samuliak
e7f8f0ee4c simplify uniform names 2024-09-11 12:28:35 +02:00
Samuliak
950f04d444 support instancing for mesh shaders 2024-09-11 12:22:45 +02:00
Samuliak
395cd1cd11 handle rasterization kill for mesh shaders 2024-09-11 10:55:10 +02:00
Samuliak
3dc233fb56 support rasterization kill 2024-09-07 11:00:10 +02:00
Samuliak
4251f3fe55 check for invalid color formats 2024-09-06 17:16:47 +02:00
Samuliak
cd72ad80d2 include color format data types in ps hash 2024-09-05 14:34:39 +02:00
Samo Z
8a74445a96 don't compile fragment shaders just-in-time 2024-09-04 19:05:07 +02:00
Samuliak
2ee92e53e9 use the correct fetch shader 2024-09-03 14:26:04 +02:00
Samuliak
953975f5ec don't jit compile vertex shaders 2024-09-03 13:59:52 +02:00
Samo Z
5d07d115a6 emulate unsupported shadow sampler types 2024-09-01 14:36:39 +02:00
Samuliak
ccd72bfe45 implement gather sampling 2024-08-29 14:03:48 +02:00
Samuliak
8e87b9676a fix: missing lod parameter 2024-08-22 18:20:26 +02:00
Samuliak
4f7288d937 fix: rect mesh shader errors 2024-08-21 14:51:36 +02:00
Samuliak
a832bc225e support rect primitive emulation 2024-08-21 12:12:45 +02:00
Samuliak
7500a54b38 fix: geometry shaders 2024-08-21 08:17:41 +02:00
Samuliak
97f441ecf1 draw with geometry shaders 2024-08-20 20:14:02 +02:00
Samuliak
2f4ceb33e0 patch object and mesh shaders 2024-08-20 18:59:25 +02:00
Samuliak
9679c6b7e8 set primitive count in mesh shaders 2024-08-20 17:33:55 +02:00