You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
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:
2 months ago
.gitea Gitea: add merge message templates 2 months ago
.github GitHub: add PR template 1 year ago
build_files Vulkan: Fix compilation on Linux. 2 months ago
doc PyDoc: resolve bpy.types & bpy.ops expanding sub-modules inline 2 months ago
extern Vulkan: Changes to CMake config. 2 months ago
intern Cleanup: trailing space 2 months ago
release Vulkan: Fix assert when compiling transform feedback shaders. 2 months ago
source Metal: Optimise shader texture cache usage and branch reduction via point sampling. 2 months ago
tests Fix T100028: Convert USD camera properties to mm from USD units. 2 months ago
.arcconfig Fix .arcconfig not working with latest arcanist version 3 years ago
.clang-format Cleanup: use compliant YAML for '.clang-format' 3 months ago
.clang-tidy Clang-tidy: Ignore variable name length and .c/.cc include warnings 11 months ago
.editorconfig pyproject: add configuration for autopep8 11 months ago
.git-blame-ignore-revs Cleanup: git-blame-ignore-revs: Update policy & commits 2 years ago
.gitignore Compositor automated testing 2 years ago
.gitmodules Update for moving blender2.8 to master. 4 years ago
CMakeLists.txt Build: Remove unused `BLENDER_GL_LIBRARIES`. 2 months ago
COPYING == docs == 13 years ago
GNUmakefile GNUmakefile: add convenience target 'check_wiki_file_structure' 2 months ago Docs: change readme.rst to, as Gitea can't render rst 2 months ago
make.bat Cleanup: trailing space 2 months ago
pyproject.toml Cleanup: fix various typos 9 months ago


Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.

Blender screenshot

Project Pages



Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.

See for details.