Fix: Overlay: Intel driver hang caused by shader compilation

Thanks @xavierh for the fix.

Fix #126812
This commit is contained in:
Clément Foucault
2024-09-04 13:44:42 +02:00
parent 36415cfaad
commit 05deb10405
2 changed files with 6 additions and 6 deletions

View File

@@ -38,10 +38,10 @@ void main()
# ifndef CUSTOM_DEPTH_BIAS_CONST
/* TODO(fclem): Cleanup after overlay next. */
# ifdef CUSTOM_DEPTH_BIAS
const bool use_custom_depth_bias = true;
# else
# ifndef CUSTOM_DEPTH_BIAS
const bool use_custom_depth_bias = false;
# else
const bool use_custom_depth_bias = true;
# endif
# endif

View File

@@ -113,10 +113,10 @@ void main()
#ifndef CUSTOM_DEPTH_BIAS_CONST
/* TODO(fclem): Cleanup after overlay next. */
# ifdef CUSTOM_DEPTH_BIAS
const bool use_custom_depth_bias = true;
# else
# ifndef CUSTOM_DEPTH_BIAS
const bool use_custom_depth_bias = false;
# else
const bool use_custom_depth_bias = true;
# endif
#endif