Skip to content

Conversation

@MarconZet
Copy link
Collaborator

No description provided.

nerly done^

formatigi^

working start
@MarconZet MarconZet force-pushed the mzlakowski/layout-type branch from f1c65e6 to 03bcba8 Compare October 22, 2025 12:56
@MarconZet MarconZet changed the base branch from gio-and-layouts to main October 25, 2025 20:42
@szymon-rd szymon-rd marked this pull request as ready for review January 6, 2026 15:27
@szymon-rd szymon-rd self-requested a review January 6, 2026 15:29
Copy link
Collaborator Author

@MarconZet MarconZet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't approve my own PR

else
Apply(readyConstructor, args).asExprOf[T]

// val s = layoutSymbol.primaryConstructor.paramSymss
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove comments from files

def reqAllocBinding: LayoutBinding[ReqAlloc] = summon[LayoutBinding[ReqAlloc]]
def resAllocBinding: LayoutBinding[ResAlloc] = summon[LayoutBinding[ResAlloc]]
sealed trait GBufferRegion[ReqAlloc: Layout, ResAlloc: Layout]:
def reqAllocLayout: Layout[ReqAlloc] = summon[Layout[ReqAlloc]]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would rewrite summon[Layout[ReqAlloc]] to Layout[ReqAlloc] and create Layout.apply method (similar to Tag.apply)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants