Fix #116414: EEVEE Shadow compilation macOS

Authored by Apple: Michael Parkin-White

Pull Request: https://projects.blender.org/blender/blender/pulls/117278
This commit is contained in:
Jason Fielder
2024-01-18 14:10:24 +01:00
committed by Jeroen Bakker
parent 83b7b729a1
commit 11afaa8dc6

View File

@@ -263,6 +263,7 @@ GPU_SHADER_CREATE_INFO(eevee_shadow_data)
/* SHADOW_READ_ATOMIC macro indicating shadow functions should use `usampler2DArrayAtomic` as
* the atlas type. */
.define("SHADOW_READ_ATOMIC")
.builtins(BuiltinBits::TEXTURE_ATOMIC)
.sampler(SHADOW_ATLAS_TEX_SLOT, ImageType::UINT_2D_ARRAY_ATOMIC, "shadow_atlas_tx")
.sampler(SHADOW_TILEMAPS_TEX_SLOT, ImageType::UINT_2D, "shadow_tilemaps_tx");