more-shader-refactors #11

Merged
embeddedt merged 9 commits from mitchej123/celeritas:more-shader-refactors into stonecutter 2025-04-26 16:37:18 -04:00
Collaborator

Moves more things into common-shaders, IrisCommon, CeleritasShadersAPI

  • Includes Modern implementations, and some Archaic implementations.
  • Adds a few more init calls for forge1710
Moves more things into common-shaders, IrisCommon, CeleritasShadersAPI * Includes Modern implementations, and some Archaic implementations. * Adds a few more init calls for forge1710
mitchej123 added 6 commits 2025-04-08 14:15:21 -04:00
mitchej123 requested review from embeddedt 2025-04-08 14:15:21 -04:00
@@ -125,0 +144,4 @@
*
* @return true if Iris allows concurrent updates, false otherwise.
*/
boolean irisAllowConcurrentUpdate();
Owner

As far as I know we intend for CeleritasShadersApi to be publicly facing API (like IrisApi). Most of these newly added helpers appear to be internal shims, so they should probably be in a separate, internal interface.

As far as I know we intend for `CeleritasShadersApi` to be publicly facing API (like `IrisApi`). Most of these newly added helpers appear to be internal shims, so they should probably be in a separate, internal interface.
mitchej123 marked this conversation as resolved
@@ -7,3 +7,3 @@
public class NativeImageBackedSingleColorTexture extends DynamicTexture {
public NativeImageBackedSingleColorTexture(int red, int green, int blue, int alpha) {
super(create(FastColor.ABGR32.color(alpha, blue, green, red)));
super(create(ColorABGR.pack(alpha, blue, green, red)));
Owner

Have you tested any of the code paths where ColorABGR has been introduced? The order of the color components is not the same as FastColor, so this should look very wrong...

Have you tested any of the code paths where `ColorABGR` has been introduced? The order of the color components is not the same as `FastColor`, so this should look very wrong...
Author
Collaborator

haha whoops

haha whoops
mitchej123 marked this conversation as resolved
mitchej123 added 1 commit 2025-04-12 13:30:56 -04:00
mitchej123 added 1 commit 2025-04-24 21:16:07 -04:00
embeddedt added 1 commit 2025-04-26 16:36:15 -04:00
embeddedt merged commit 8c0932d1ae into stonecutter 2025-04-26 16:37:18 -04:00
embeddedt deleted branch more-shader-refactors 2025-04-26 16:37:18 -04:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: embeddedt/celeritas#11