Skip to content

Dependency between Int8 and VulkanMemoryModel capabilities #226

Answered by 149segolte
149segolte asked this question in Q&A
Discussion options

You must be logged in to vote

I see. The translation layer does not implement certain things. It does seem weird to provide a target and then not implement a memory model for it.

Anyways, for anyone else looking to use these features, for macos I set:

shader-target = "spirv-unknown-opengl4.5"
capability = ["Int8", "UniformAndStorageBuffer8BitAccess"]
extension = ["SPV_KHR_8bit_storage", "SPV_KHR_storage_buffer_storage_class"]

For a nvidia GPU, I use:

shader-target = "spirv-unknown-vulkan1.2"
capability = ["Int8", "UniformAndStorageBuffer8BitAccess"]

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@LegNeato
Comment options

@149segolte
Comment options

Answer selected by 149segolte
@Firestar99
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants