KhronosGroup / KhronosGroup/Vulkan-Docs

Ability to create and use device function pointers in vulkan.

Open
#1,757 1 comment 5 reactions 0 assignees View on GitHub
Feature Request
Dominant language
JavaScript
Stars
3.3k
Forks
549
Avg merge
5d 5h
Merged PRs (30d)
2

Description

Pointers with similar functionality to https://developer.apple.com/videos/play/wwdc2020/10013/ and to CUDA's device function pointers: https://leimao.github.io/blog/Pass-Function-Pointers-to-Kernels-CUDA/ , in addition to current https://nvpro-samples.github.io/vk_raytracing_tutorial_KHR/ but not restricted to raytracing.

Being able to create and use device pointers would be the first step to enable things like device generated *dispatch* for compute shaders. This is similar to how metal's functionality works (queues up addresses of pointers for workloads later).

Contributor guide

Open the contributing guide

Research direction

The issue names no repository files, tests, or entry points. Start by comparing the requested device function-pointer capability with the linked Metal, CUDA, and ray-tracing references; the scope and acceptance criteria still need to be defined before implementation can begin.

Written by the indexing model from the issue text.

Assessment

Domain
api, computer-graphics
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.