google / google/clspv

Implement sampler mask using uniform buffer instead of push constant

Open
#1,235 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
LLVM
Stars
729
Forks
110
Avg merge
17h 51m
Merged PRs (30d)
23

Description

#1202 implements reading 3D images with a sampler using the sampler mask to know whether the coordinate needs to be normalised or not.
The sampler mask is passed through the push constant. But we can have cases where we do not have enough space in the push constant for it. In that case we need to have a fallback using a uniform buffer to pass that information.

It will require to add a non-semantic instruction in the spirv-headers.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.