Alex Szpakowski
171533dbf8
Another shader fix for metal+iOS
2022-02-15 21:16:55 -04:00
Alex Szpakowski
caf89998cc
iOS: fix shader compilation with metal
2022-02-15 21:12:13 -04:00
Alex Szpakowski
7216a022f9
metal: remove unused internal code
2022-02-04 22:09:50 -04:00
Alex Szpakowski
6e49b1f901
metal: fix texture sampler changes not affecting draws using shaders.
2022-01-31 21:25:49 -04:00
Alex Szpakowski
1cf0073cf4
metal: use a fallback for fonts when luminance-alpha isn't supported.
2022-01-22 14:41:42 -04:00
Alex Szpakowski
cf57c3eedf
update copyright year for metal files
2022-01-05 21:13:53 -04:00
Alex Szpakowski
674143175f
metal: fix Shader:send with matrices and arrays.
2022-01-05 20:33:08 -04:00
Alex Szpakowski
9709f95194
metal: fix structs in uniforms.
2022-01-01 17:41:23 -04:00
Alex Szpakowski
e602f08c24
metal: support constant initializer values for local uniforms.
2022-01-01 15:28:42 -04:00
Alex Szpakowski
30fe00d767
metal: implement storage buffer bindings
2021-12-25 14:21:45 -04:00
Alex Szpakowski
c6e4cfdc64
metal: initial love.graphics.dispatchThreadgroups implementation
2021-12-24 23:04:44 -04:00
Alex Szpakowski
759937a458
metal: fix depth24stencil8 fallback on macOS
2021-12-24 22:20:25 -04:00
Alex Szpakowski
dab174b120
metal: fix a couple compiler warnings
2021-12-24 18:04:11 -04:00
Alex Szpakowski
7a910484c3
Fix compilation
2021-12-24 16:45:23 -04:00
Alex Szpakowski
7851124260
metal: work on storage buffers
2021-09-05 13:18:10 -03:00
Alex Szpakowski
b1692a4000
metal: implement internal Shader::setVideoTextures method
2021-04-07 20:12:15 -03:00
Alex Szpakowski
0bc574ef4e
metal: fix Shader:send not flushing the active auto-batch.
2021-04-04 23:49:23 -03:00
Alex Szpakowski
2ec9f88f7a
metal: more robust render pass handling.
...
Initial implementation of captureScreenshot.
Fix getStats().shaderswitches.
Fix getStats().drawcalls.
2021-04-04 23:47:58 -03:00
Alex Szpakowski
8c88d645a3
metal: avoid redundant resource binding calls.
2021-04-03 13:49:29 -03:00
Alex Szpakowski
a4d0761e84
metal: work on depth/stencil textures, MSAA
2021-04-02 22:10:01 -03:00
Alex Szpakowski
3accf51eb2
metal: explicitly compile to metalsl 2.1
2021-04-02 18:10:46 -03:00
Alex Szpakowski
1e90b4e8f7
metal: fix shader uniform names
2021-04-02 15:45:17 -03:00
Alex Szpakowski
5fa570b9a6
metal: initial texel buffer Shader:send implementation
2021-03-31 23:02:36 -03:00
Alex Szpakowski
1b9b32c7a7
metal: clean up some shader code
2021-03-31 20:38:37 -03:00
Alex Szpakowski
52d4a5c679
metal: initial shader texture binding implementation.
...
rework metal shader compilation/parsing.
2021-03-31 18:35:57 -03:00
Alex Szpakowski
aad0810e11
metal: initial (bad/slow) setShader tracking
2021-03-29 18:28:06 -03:00
Alex Szpakowski
1e85e1b414
metal: fix Buffers, fix shader cleanup
2021-03-27 22:21:00 -03:00
Alex Szpakowski
da6fd95a64
metal: more work on shader uniforms
2021-03-27 17:37:53 -03:00
Alex Szpakowski
c0a8aa3ef7
metal: use EXT_vulkan_glsl_relaxed
2021-03-23 21:57:36 -03:00
Alex Szpakowski
4d6cfb1f90
metal: vertex attribute reflection is slightly better
2021-01-16 14:08:03 -04:00
Alex Szpakowski
6f3e590a82
metal: more work on shader texture bindings
2020-10-24 17:58:25 -03:00
Alex Szpakowski
4b9c648c8b
metal: work towards shader uniform implementation.
...
Misc cleanup.
2020-10-24 00:33:02 -03:00
Alex Szpakowski
3ae4a0f76b
metal: post merge compilation fixes
2020-07-29 18:51:21 -03:00
Alex Szpakowski
eea78884d3
metal: initial barebones texture reflection in shaders
2020-07-29 18:11:20 -03:00
Alex Szpakowski
9aa9319eb5
metal: implement depth/stencil state
2020-06-14 21:14:56 -03:00
Alex Szpakowski
9d2dca5740
metal: nogame and error screens work.
...
- implement love.graphics.setColor
- implement default textures
- hacky implementation of default uniform data
- use texture swizzles to set up LA8 (text) texture data
- shader reflection work
2020-06-13 20:29:23 -03:00
Alex Szpakowski
de041ded0e
metal: initial vertex attribute support for pipelines
...
Also hook up samplers
2020-05-03 17:14:54 -03:00
Alex Szpakowski
9765485222
metal: partial implementation of pipeline states.
...
Add BGRA8 pixel format.
2020-05-03 12:48:43 -03:00
Alex Szpakowski
74cf9b8236
The bones of what will become a Metal backend.
...
This isn't anywhere close to usable (not even a blank screen will work), let alone complete. It's about 20% done.
2020-01-26 15:46:33 -04:00