mesa/src/compiler
Connor Abbott 6a744ddebc ir3: Initial support for pushing globals with ldg.k
Add a separate pass which uses the analyze_ubo_ranges machinery to
construct ranges of readonly globals accessed in the shader and push
them to constants in the preamble, using ldg.k if possible. This is
enough to handle inline uniforms in turnip but also provides a base for
OpenCL, although the pass would need further work for that.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26934>
2024-02-12 22:05:13 +00:00
..
clc clc: retrieve libclang path at runtime. 2024-01-31 12:23:49 +00:00
glsl glsl: add half float AMD_shader_trinary_minmax functions 2024-02-12 13:23:14 +00:00
isaspec isaspec: encode.py: Include assert.h 2024-02-06 16:38:01 +00:00
nir ir3: Initial support for pushing globals with ldg.k 2024-02-12 22:05:13 +00:00
spirv spirv: implement SPV_KHR_quad_control 2024-02-09 05:32:35 +00:00
builtin_types.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +00:00
builtin_types_c.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
builtin_types_h.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
glsl_types.c compiler/types: Add a contains_32bit helper 2024-02-12 13:23:14 +00:00
glsl_types.h compiler/types: Add a contains_32bit helper 2024-02-12 13:23:14 +00:00
meson.build treewide: Replace the include of nir_types.h with glsl_types.h 2023-12-30 15:08:11 +00:00
shader_enums.c nir: remove INTERP_MODE_COLOR 2024-02-02 16:45:35 -05:00
shader_enums.h compiler,gallium: move u_decomposed_prim to common 2024-02-09 11:53:31 +00:00
shader_info.h spirv: implement SPV_KHR_quad_control 2024-02-09 05:32:35 +00:00