KhronosGroup / KhronosGroup/GLSL
GLSL_EXT_buffer_reference syntax - Vulkan
- Dominant language
- JavaScript
- Stars
- 458
- Forks
- 114
- Avg merge
- 4m
- Merged PRs (30d)
- 1
Description
There's a lot of movement towards truly bindless not just descriptor indexing. Buffer references are a feature that's important for not binding buffers ( even images with VK_NVX_image_view_handle: https://www.khronos.org/registry/vulkan/specs/1.2-extensions/man/html/VK_NVX_image_view_handle.html ).
However the syntax is quite cumbersome. A C-like syntax would require giving new meaning to type*, having an alignof( type ) operator maybe even sizeof all in the GLSL language/compiler.
DX12 doesn't really have device pointers, but it has something that would be great to have in Vk/GLSL too, namely ByteBufferAddress. This works a lot like a C array.
So having said this I'd like to request a feature/update/improvement in this regard.
Let's make device pointers ~great again~ ! :-)
Cheers !
Contributor guide
Research direction
No source files or tests are named. Start with the linked VK_NVX_image_view_handle specification and the issue's discussion of buffer-reference syntax; define a concrete GLSL proposal covering syntax and required language semantics, with completion marked by an agreed feature design or implementation plan.
Written by the indexing model from the issue text.
Assessment
- Domain
- computer-graphics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100