mesa/src/compiler
Caio Oliveira 0f54621564 compiler/types: Make key in subroutine_name more effective
Use the string itself as a key for searching -- and the internal
allocated name as a key when storing.

Because record_key_hash doesn't consider the name field, which is
the only used field for a SUBROUTINE type, the hash key was always
the same for all types.  Using the name fixes this.

Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23277>
2023-06-07 23:01:59 +00:00
..
clc meson: add feature option for use of system Clang headers at runtime 2023-05-31 14:21:25 +00:00
glsl compiler: Remove the need include "util/glheader.h" and "util/ralloc.h" in glsl_types.h 2023-06-07 00:33:33 +00:00
isaspec ir3, isaspec: add raw instruction to assembler/disassembler. 2023-01-26 14:26:11 +00:00
nir nir: add nir_intrinsic_load_rasterization_primitive_amd 2023-06-07 14:40:35 +00:00
spirv spirv: Add workaround for OpImageQueryLevels with Multi-sampled images 2023-06-07 02:06:55 +00:00
builtin_type_macros.h glsl: add texture subpass variants 2022-11-10 10:21:34 +00:00
glsl_types.cpp compiler/types: Make key in subroutine_name more effective 2023-06-07 23:01:59 +00:00
glsl_types.h compiler: Remove the need include "util/glheader.h" and "util/ralloc.h" in glsl_types.h 2023-06-07 00:33:33 +00:00
meson.build meson: inline gtest_test_protocol now that it's always 'gtest' 2023-03-10 07:20:29 +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 mesa, compiler: Move gl_texture_index to glsl_types.h 2023-06-07 00:33:33 +00:00
nir_types.h compiler: Remove redundant struct glsl_type in nir_types.h 2023-06-07 00:33:33 +00:00
shader_enums.c mesa, compiler: Move gl_texture_index to glsl_types.h 2023-06-07 00:33:33 +00:00
shader_enums.h mesa, compiler: Move gl_texture_index to glsl_types.h 2023-06-07 00:33:33 +00:00
shader_info.h spirv: add support for SpvCapabilityFragmentBarycentricKHR 2023-06-02 13:25:43 +00:00