Skip to content

Lazy and concurrent command buffer evaluation - #68

Merged
MarconZet merged 11 commits into
devfrom
mzlakowski/lazy-eval
Sep 11, 2025
Merged

MarconZet merged 11 commits into
devfrom
mzlakowski/lazy-eval

Conversation

@MarconZet

Copy link
Copy Markdown
Collaborator

No description provided.

@MarconZet MarconZet changed the title Mzlakowski/lazy eval Lazy and concurrent command buffer evaluation Sep 8, 2025
Comment thread cyfra-core/src/main/scala/io/computenode/cyfra/core/GBufferRegion.scala Outdated
Comment thread cyfra-runtime/src/main/scala/io/computenode/cyfra/runtime/VkAllocation.scala Outdated
Comment thread cyfra-runtime/src/main/scala/io/computenode/cyfra/runtime/PendingExecution.scala Outdated
case b: VkBinding[?] => Some(b.buffer)
case _ => None

class VkBuffer[T <: Value: {Tag, FromExpr}] private (val length: Int, underlying: Buffer) extends VkBinding(underlying) with GBuffer[T]

@szymon-rd szymon-rd Sep 11, 2025

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I am against putting multiple top-level public defs (classes) in one source file. It could be in the companion object if we aim for that.

@MarconZet MarconZet Sep 11, 2025

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

rejected because it makes GBinding ugly

@MarconZet
MarconZet merged commit dbcae9d into dev Sep 11, 2025
1 check passed
@MarconZet
MarconZet deleted the mzlakowski/lazy-eval branch September 11, 2025 20:26
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.

2 participants