KhronosGroup / KhronosGroup/SPIRV-Cross
C api for setting spec constants
- Dominant language
- GLSL
- Stars
- 2.5k
- Forks
- 713
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 16
Description
There are functions that depend on the values of specialization constants (for example, get_declared_struct_member_size). There is no way to get the correct result in the C API because there is no API for setting specialization constants.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start at the C API entry point for get_declared_struct_member_size and trace how specialization-constant values reach reflection functions. Determine the setter's expected scope and behavior, then verify that dependent results use the supplied constants; done means the C API can set them and return correct values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- api
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100