Just a random test. forcing a single dispatch per encoder #120511

Open
Jeroen Bakker wants to merge 1 commits from Jeroen-Bakker/blender:metal/barrier-update-c into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 1 additions and 5 deletions

View File

@ -39,11 +39,7 @@ using namespace blender::gpu;
/* Fire off a single dispatch per encoder. Can make debugging view clearer for texture resources
* associated with each dispatch. */
#if defined(NDEBUG)
# define MTL_DEBUG_SINGLE_DISPATCH_PER_ENCODER 0
#else
# define MTL_DEBUG_SINGLE_DISPATCH_PER_ENCODER 1
#endif
#define MTL_DEBUG_SINGLE_DISPATCH_PER_ENCODER 1
/* Debug option to bind null buffer for missing UBOs.
* Enabled by default. TODO: Ensure all required UBO bindings are present. */