compiler/types: Rename glsl_types.cpp to glsl_types.c

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25129>
This commit is contained in:
Caio Oliveira 2023-09-08 11:45:43 -07:00 committed by Marge Bot
parent c45276c665
commit 9e32cc3d0b
2 changed files with 1 additions and 5 deletions

View file

@ -33,8 +33,6 @@
#include "util/u_string.h"
#include "util/simple_mtx.h"
extern "C" {
static simple_mtx_t glsl_type_cache_mutex = SIMPLE_MTX_INITIALIZER;
static struct {
@ -3838,5 +3836,3 @@ glsl_type_get_image_count(const struct glsl_type *type)
{
return glsl_type_count(type, GLSL_TYPE_IMAGE);
}
} /* extern "C" */

View file

@ -51,7 +51,7 @@ float64_glsl_file = files('glsl/float64.glsl')
astc_decoder_glsl_file = files('glsl/astc_decoder.glsl')
files_libcompiler = files(
'glsl_types.cpp',
'glsl_types.c',
'glsl_types.h',
'glsl_types_impl.h',
'nir_types.h',