mirror of
https://github.com/MobileGL-Dev/MobileGL
synced 2026-11-16 22:43:24 +09:00
[Fix] (Espryt): sample cube-array shadow textures at LOD 0 with texture() outside the fragment stage
This commit is contained in:
@@ -12943,6 +12943,7 @@ namespace MobileGL::MG_Backend::DirectGLES {
|
||||
source = ProcessOutColorLocations(source);
|
||||
source = ForceFlatIntegerVaryings(source, glShaderType);
|
||||
source = BroadcastLegacyFragColor(std::move(source), glShaderType, m_fragColorBroadcastCount);
|
||||
source = LowerZeroGradCubeArrayShadowLookups(source, glShaderType);
|
||||
source = EmulateTextureLodBias(source, ShouldAvoidExplicitLodBiasOnAngleLlvmpipe());
|
||||
if (ClampsUnsignedMultisampleFetchesAtRuntime()) {
|
||||
source = ClampUnsignedMultisampleFetches(source);
|
||||
|
||||
Reference in New Issue
Block a user