mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-19 09:18:10 +02:00
While this is a generic bit twiddling ALU instruction, it's especially useful for address calculations, since the architecture's tiled textures use Morton coding within the tiles. This will be used when lowering image_texel_address on AGX, as part of the image atomics implementation. I don't know if there's any other neat uses I could detect with opt_algebraic, this doesn't seem like an operation a shader would open-code... Maybe useful for BVH building or something... Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23513> |
||
|---|---|---|
| .. | ||
| clc | ||
| glsl | ||
| isaspec | ||
| nir | ||
| spirv | ||
| builtin_type_macros.h | ||
| glsl_types.cpp | ||
| glsl_types.h | ||
| meson.build | ||
| nir_gl_types.h | ||
| nir_types.cpp | ||
| nir_types.h | ||
| shader_enums.c | ||
| shader_enums.h | ||
| shader_info.h | ||