mesa/src/microsoft/clc
Caio Oliveira 44ed3e7341 microsoft/clc: Add unreachable() to fix 'may be unitialized' warning
In function ‘lower_load_kernel_input’,
      inlined from ‘clc_nir_lower_kernel_input_loads’ at ../src/microsoft/clc/clc_nir.c:205:28:
  ../src/microsoft/clc/clc_nir.c:169:7: warning: ‘base_type’ may be used uninitialized [-Wmaybe-uninitialized]
    169 |       glsl_vector_type(base_type, nir_dest_num_components(intr->dest));
        |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  ../src/microsoft/clc/clc_nir.c: In function ‘clc_nir_lower_kernel_input_loads’:
  ../src/microsoft/clc/clc_nir.c:151:24: note: ‘base_type’ was declared here
    151 |    enum glsl_base_type base_type;
        |                        ^~~~~~~~~

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23666>
2023-06-15 16:17:13 +00:00
..
clc_compiler.c dxil: Remove custom SSBO lowering 2023-06-13 00:43:37 +00:00
clc_compiler.h microsoft/clc: Add shader model / validator to compiler API 2023-03-31 00:37:19 +00:00
clc_compiler_test.cpp microsoft/compiler: Emit const accesses as load_deref 2023-06-13 00:43:36 +00:00
clc_nir.c microsoft/clc: Add unreachable() to fix 'may be unitialized' warning 2023-06-15 16:17:13 +00:00
clc_nir.h nir: extract the clc inline sampler dedup pass from clc 2022-08-04 23:53:50 +00:00
clon12compiler.def Move a bunch of the CLC stuff from src/microsoft to common code 2021-09-30 07:09:08 +00:00
compute_test.cpp microsoft/clc: Remove #if D3D12_SDK_VERSION blocks now that 610 is required 2023-04-14 23:59:33 +00:00
compute_test.h microsoft/clc: fixup indentation 2022-04-29 07:08:57 +00:00
meson.build meson: inline gtest_test_protocol now that it's always 'gtest' 2023-03-10 07:20:29 +00:00