blender_test/source
Jason Fielder f3bd5458a3 Metal: Optimise shader texture cache usage and branch reduction via point sampling.
Replace texelFetch calls with a texture point-sample rather than a textureRead call. This increases texture cache utilisation when mixing between sampled calls and reads. Bounds checking can also be removed from these functions, reducing instruction count and branch divergence, as the sampler routine handles range clamping.

Authored by Apple: Michael Parkin-White
Ref T96261

Depends on D16923

Reviewed By: fclem

Maniphest Tasks: T96261

Differential Revision: https://developer.blender.org/D17021
2023-01-31 10:56:25 +01:00
..
blender Metal: Optimise shader texture cache usage and branch reduction via point sampling. 2023-01-31 10:56:25 +01:00
creator Vulkan: Changes to CMake config. 2023-01-30 12:04:44 +01:00
tools@d5a1cc6721 Vulkan: Fix assert when compiling transform feedback shaders. 2023-01-31 09:50:50 +01:00
CMakeLists.txt Clang-tidy: Don't warn about unrecognized compiler flags 2022-05-06 15:26:54 +02:00