Files
test2/source/blender/gpu
Jeroen Bakker cd756143cf OpenGL: Fix Shader Linking Error
When a shader performs a geometry shader injectoin to work around
features that are not supported natively on the GPU (viewport,
barycentric coordinates, layered rendering), linking would fail.

The reason was that the geometry shader was stored in a slot that was
patched by the specialization constants, resulting in an empty geometry
shader. An empty shader can be compiled, but doesn't match the interface
with other stages, so the linking would fail.

This fixes the issue that EEVEE crashed on Intel iGPUs. These GPUs
don't support viewports.

Pull Request: https://projects.blender.org/blender/blender/pulls/117440
2024-01-23 11:12:30 +01:00
..
2024-01-19 14:32:28 +01:00
2024-01-23 11:12:30 +01:00
2024-01-08 11:31:43 +11:00
2024-01-11 13:42:17 +01:00
2024-01-03 13:38:14 +01:00
2024-01-11 11:01:50 -05:00