KhronosGroup / KhronosGroup/SPIRV-Cross
How to use `gl_HalfPixel`?
Open
- Dominant language
- GLSL
- Stars
- 2.5k
- Forks
- 713
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 16
Description
When compiling HLSL for ShaderModel 3.0, SPIRV-Cross inserts a `gl_HalfPixel` uniform that must be set. What value should this uniform be set to?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing HLSL ShaderModel 3.0 compilation in SPIRV-Cross and inspect the generated code where the gl_HalfPixel uniform is emitted. Determine the required uniform value and document it clearly, including the relevant rendering context or assumptions.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100