KhronosGroup / KhronosGroup/SPIRV-Cross
GLSL: Support Fragment Shader Barycentrics
- Dominant language
- GLSL
- Stars
- 2.5k
- Forks
- 713
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 16
Description
The two extensions `GLSL_AMD_shader_explicit_vertex_parameter` and `GLSL_NV_fragment_shader_barycentric` both exist in OpenGL.
All features can be implemented in terms of the other one, so it would not matter which extension the SPIR-V shader was written in, the extension ladded would produce an OpenGL shader that can run both on AMD (gcn+) and Nvidia (Turing+).
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing how SPIR-V Cross handles GLSL extensions and emits OpenGL shaders, then compare the features of GLSL_AMD_shader_explicit_vertex_parameter and GLSL_NV_fragment_shader_barycentric. Done means both extensions are supported and the generated shader can run on the stated AMD and Nvidia targets; the issue names no files or tests.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers, computer-graphics
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100