mesa/src/compiler
Alyssa Rosenzweig 8058d31a25 nir: Add nir_texop_lod_bias_agx
Add a new texture opcode that returns the LOD bias of the sampler. This will be
used on AGX to lower sampler LOD bias to txb and friends. This needs to be a
texture op (and not a new intrinsic) to handle both bindless and bindful
samplers across GL and Vulkan in a uniform way.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Acked-by: Faith Ekstrand <faith.ekstrand@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21276>
2023-02-27 02:35:41 +00:00
..
clc clc: Include opencl-c-base.h with LLVM 15 (using builtins) 2023-02-11 05:24:08 +00:00
glsl glsl: Drop the (v.x + v.y + v.z + v.w) -> dot(v, 1.0) optimization. 2023-02-22 21:45:35 +00:00
isaspec ir3, isaspec: add raw instruction to assembler/disassembler. 2023-01-26 14:26:11 +00:00
nir nir: Add nir_texop_lod_bias_agx 2023-02-27 02:35:41 +00:00
spirv nir: Add nir_texop_lod_bias_agx 2023-02-27 02:35:41 +00:00
builtin_type_macros.h glsl: add texture subpass variants 2022-11-10 10:21:34 +00:00
glsl_types.cpp compiler: Handle nested arrays correctly for computing CL size/alignment 2022-12-02 09:52:44 -08:00
glsl_types.h glsl: Remove the need of _MTX_INITIALIZER_NP by using simple_mtx_t/SIMPLE_MTX_INITIALIZER 2022-11-09 04:38:28 +00:00
meson.build meson: only build glsl when needed 2023-02-15 02:53:54 +00:00
nir_gl_types.h mesa: #include "util/glheader.h" instead GL/gl.h in shared code 2022-11-03 16:07:31 +00:00
nir_types.cpp nir/types: Add some asserts to glsl_get_struct_field() 2022-11-01 14:48:41 +00:00
nir_types.h nir: Add a pass to lower mediump temps and shared mem. 2022-09-01 22:39:39 +00:00
shader_enums.c nir+ir3: Rename load_size_ir3 to load_center_rhw_ir3. 2022-07-11 16:56:05 +00:00
shader_enums.h nir: lower image add lower_to_fragment_mask_load_amd option 2022-12-19 09:22:16 +08:00
shader_info.h spirv: Implement SPV_KHR_subgroup_rotate 2023-02-24 06:33:51 +00:00