Sitelet https://github.com/gpuweb/gpuweb/issues/287
Skip to content

In a single shader instance, can one render target or resource alias the storage of another? #287

Description

@dneto0

For example, if a shader has storage buffers A and B, is any overlap allowed between the two?

How about different usages, e.g. A is a storage buffer, and B is a texel buffer, or B is a texture that we might be sampling.

I'm trying to get at whether data races can occur due to conflicting accesses across different resources. If this is disallowed, then it's a property to be verified at command buffer recording time. It would likely also simplify the memory model within the shader.

Related issues:

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions