Alex Szpakowski
|
cffd485976
|
Allow rendering to integer textures.
|
2021-08-12 17:43:33 -03:00 |
|
Alex Szpakowski
|
48b3a4e860
|
Initial support for integer format textures.
They can't be rendered to and ImageData can't use the formats, for now.
|
2021-08-12 16:38:54 -03:00 |
|
Alex Szpakowski
|
4caeb27047
|
Slightly less heavy-handed compute memory barrier implementation.
Also validate whether there are any unbound writable resources when dispatching compute shader work.
|
2021-08-11 18:41:38 -03:00 |
|
Alex Szpakowski
|
1cf8f1192c
|
vertex format table in newMesh uses the same fields as newBuffer.
Deprecate (but don't remove) the old {name, type, elementcount} vertex format style. The new style is {name=attributename, format=dataformat}.
|
2021-08-02 16:11:58 -03:00 |
|
Alex Szpakowski
|
92d0d1d60f
|
love.graphics.validateShader no longer errors if the system doesn't support the shader
|
2021-07-18 14:09:28 -03:00 |
|
Alex Szpakowski
|
00494ec3b5
|
Error if image load/store is used since it's not supported yet.
|
2021-07-18 13:38:10 -03:00 |
|
Alex Szpakowski
|
b644d00bf7
|
Add a more specific error message when compute shaders aren't supported
It already correctly errored, but the message was generic enough (GLSL 4 support) that it might be confusing.
|
2021-07-18 13:18:43 -03:00 |
|
Alex Szpakowski
|
80f051b97d
|
Merge pull request #1715 from bjornbytes/compute-shaders
Compute Shaders
|
2021-07-18 13:09:48 -03:00 |
|
bjorn
|
dc5f68e709
|
World's worst sync;
|
2021-07-17 20:02:04 -07:00 |
|
bjorn
|
9ae529b325
|
Flush batched draws before dispatching compute;
|
2021-07-17 19:58:14 -07:00 |
|
bjorn
|
13a10ac482
|
love.graphics.newComputeShader;
|
2021-07-17 19:58:11 -07:00 |
|
bjorn
|
b28e61d00d
|
Shader:getLocalThreadgroupSize;
|
2021-07-17 19:54:54 -07:00 |
|
bjorn
|
25fbf1d8ce
|
love.graphics.dispatchThreadgroups;
|
2021-07-17 19:49:53 -07:00 |
|
bjorn
|
085ba2cb6e
|
Add compute ShaderStage;
|
2021-07-17 19:46:05 -07:00 |
|
bjorn
|
a1c79c45d8
|
Shader:hasStage;
|
2021-07-17 19:38:46 -07:00 |
|
bjorn
|
f6559ce49e
|
Add threadgroups{x,y,z} SystemLimits;
|
2021-07-17 19:38:45 -07:00 |
|
Alex Szpakowski
|
d6dfa7412c
|
Merge pull request #1713 from bjornbytes/fix-default-shader-storage-buffer
Fix default shader storage buffer initialization;
|
2021-07-01 21:52:41 -03:00 |
|
bjorn
|
bbb4cd66be
|
Fix default shader storage buffer initialization;
|
2021-07-01 17:22:03 -07:00 |
|
Alex Szpakowski
|
5ef1709c02
|
Expose love.markDeprecated.
Arguments are (level, name, apitype, deprecationtype [, replacementname]). Call it inside a function.
|
2021-06-06 18:16:56 -03:00 |
|
Alex Szpakowski
|
433190d1df
|
Merge branch 'master' into 12.0-development
|
2021-06-06 11:43:54 -03:00 |
|
Alex Szpakowski
|
aa8ed7c8c5
|
Revert change that added codepoint variant of Font:getWidth.
It could break code that relied on Lua's implicit conversion from numbers to strings.
|
2021-05-30 15:46:21 -03:00 |
|
Alex Szpakowski
|
17c26dc902
|
Fix compile error on older C++ compilers
|
2021-04-20 19:18:59 -03:00 |
|
Alex Szpakowski
|
3d3c665f3c
|
Fix Mesh:setVertexMap.
Fixes #1686
|
2021-04-20 19:09:20 -03:00 |
|
Alex Szpakowski
|
e9c58c8192
|
Work around certain buggy Vivante GPU drivers on Android
love2d/love-android#204
|
2021-04-17 15:09:21 -03:00 |
|
Alex Szpakowski
|
14cda7818f
|
Rename internal enum
|
2021-04-07 20:43:22 -03:00 |
|
Alex Szpakowski
|
9b4aea8f17
|
Missed some copyright date updates
|
2021-04-07 20:34:24 -03:00 |
|
Alex Szpakowski
|
21f5ba86d3
|
Merge branch 'master' into 12.0-development
|
2021-04-07 20:33:44 -03:00 |
|
Alex Szpakowski
|
b1692a4000
|
metal: implement internal Shader::setVideoTextures method
|
2021-04-07 20:12:15 -03:00 |
|
Alex Szpakowski
|
7b6978f052
|
Add Font:getKerning.
Also add a variant of Font:getWidth which accepts a codepoint number.
Fixes #1403
|
2021-04-05 11:22:54 -03:00 |
|
Alex Szpakowski
|
c59c85e04c
|
Fix Text:getWidth when the Text only contains spaces
Fixes #1555
|
2021-04-05 10:32:01 -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
|
6296e44425
|
metal: fix clampzero wrap mode.
|
2021-04-04 23:48: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
|
f89aabb0bb
|
Update copyright year for 2021
|
2021-04-04 16:14:45 -03:00 |
|
Alex Szpakowski
|
1e3e4faba7
|
Fix the wrong type of deletion used in some internal Mesh data
|
2021-04-04 16:02:59 -03:00 |
|
Alex Szpakowski
|
c991f999eb
|
Account for different DPI scales in font fallbacks.
Fixes #1675
|
2021-04-04 16:01:22 -03:00 |
|
Alex Szpakowski
|
8c88d645a3
|
metal: avoid redundant resource binding calls.
|
2021-04-03 13:49:29 -03:00 |
|
Alex Szpakowski
|
4ddb7e2cf7
|
metal: initialize empty Buffer contents.
|
2021-04-03 13:46:56 -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
|
9acf7df8e8
|
metal: fix crash when stream buffers are resized
|
2021-04-02 17:53:55 -03:00 |
|
Alex Szpakowski
|
4cac353908
|
metal: fix love_ScreenSize when a canvas is active
|
2021-04-02 16:10:20 -03:00 |
|
Alex Szpakowski
|
1e90b4e8f7
|
metal: fix shader uniform names
|
2021-04-02 15:45:17 -03:00 |
|
Alex Szpakowski
|
662b70458e
|
metal: fix setCanvas
|
2021-04-02 14:32:45 -03:00 |
|
Alex Szpakowski
|
ceaa8f95ff
|
metal: fix texel buffer size
|
2021-03-31 23:04:27 -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
|
46ca836bd5
|
metal: enable clamp-to-one wrap mode on iOS 10.14+
|
2021-03-30 19:32:33 -03:00 |
|
Alex Szpakowski
|
7eb3d4343a
|
Move some shader binding validation code out of the opengl backend
|
2021-03-30 19:28:42 -03:00 |
|