glsl: Pull enum ir_expression_operation out to its own file
[mesa.git] / src / compiler / Makefile.sources
index 19735339bca3f6af492ecfd394bbcfe11003000a..a2dd23418852893ba9d54641f8ab5992dae53ffc 100644 (file)
@@ -25,6 +25,8 @@ LIBGLSL_FILES = \
        glsl/glsl_parser_extras.h \
        glsl/glsl_symbol_table.cpp \
        glsl/glsl_symbol_table.h \
+       glsl/glsl_to_nir.cpp \
+       glsl/glsl_to_nir.h \
        glsl/hir_field_selection.cpp \
        glsl/ir_basic_block.cpp \
        glsl/ir_basic_block.h \
@@ -37,6 +39,7 @@ LIBGLSL_FILES = \
        glsl/ir_equals.cpp \
        glsl/ir_expression_flattening.cpp \
        glsl/ir_expression_flattening.h \
+       glsl/ir_expression_operation.h \
        glsl/ir_function_can_inline.cpp \
        glsl/ir_function_detect_recursion.cpp \
        glsl/ir_function_inlining.h \
@@ -77,10 +80,10 @@ LIBGLSL_FILES = \
        glsl/loop_unroll.cpp \
        glsl/lower_buffer_access.cpp \
        glsl/lower_buffer_access.h \
-       glsl/lower_clip_distance.cpp \
        glsl/lower_const_arrays_to_uniforms.cpp \
        glsl/lower_discard.cpp \
        glsl/lower_discard_flow.cpp \
+       glsl/lower_distance.cpp \
        glsl/lower_if_to_cond_assign.cpp \
        glsl/lower_instructions.cpp \
        glsl/lower_jumps.cpp \
@@ -138,12 +141,14 @@ LIBGLSL_FILES = \
 GLSL_COMPILER_CXX_FILES = \
        glsl/standalone_scaffolding.cpp \
        glsl/standalone_scaffolding.h \
-       glsl/main.cpp
+       glsl/standalone.cpp \
+       glsl/standalone.h
 
 # libglsl generated sources
-LIBGLSL_GENERATED_CXX_FILES = \
+LIBGLSL_GENERATED_FILES = \
        glsl/glsl_lexer.cpp \
-       glsl/glsl_parser.cpp
+       glsl/glsl_parser.cpp \
+       glsl/glsl_parser.h
 
 # libglcpp
 
@@ -163,8 +168,6 @@ NIR_GENERATED_FILES = \
        nir/nir_opt_algebraic.c
 
 NIR_FILES = \
-       nir/glsl_to_nir.cpp \
-       nir/glsl_to_nir.h \
        nir/nir.c \
        nir/nir.h \
        nir/nir_array.h \
@@ -186,8 +189,12 @@ NIR_FILES = \
        nir/nir_liveness.c \
        nir/nir_lower_alu_to_scalar.c \
        nir/nir_lower_atomics.c \
+       nir/nir_lower_bitmap.c \
+       nir/nir_lower_clamp_color_outputs.c \
        nir/nir_lower_clip.c \
+       nir/nir_lower_double_ops.c \
        nir/nir_lower_double_packing.c \
+       nir/nir_lower_drawpixels.c \
        nir/nir_lower_global_vars_to_local.c \
        nir/nir_lower_gs_intrinsics.c \
        nir/nir_lower_load_const_to_scalar.c \
@@ -195,7 +202,9 @@ NIR_FILES = \
        nir/nir_lower_idiv.c \
        nir/nir_lower_indirect_derefs.c \
        nir/nir_lower_io.c \
-       nir/nir_lower_outputs_to_temporaries.c \
+       nir/nir_lower_io_to_temporaries.c \
+       nir/nir_lower_io_types.c \
+       nir/nir_lower_passthrough_edgeflags.c \
        nir/nir_lower_phis_to_scalar.c \
        nir/nir_lower_returns.c \
        nir/nir_lower_samplers.c \
@@ -206,6 +215,8 @@ NIR_FILES = \
        nir/nir_lower_vars_to_ssa.c \
        nir/nir_lower_var_copies.c \
        nir/nir_lower_vec_to_movs.c \
+       nir/nir_lower_wpos_center.c \
+       nir/nir_lower_wpos_ytransform.c \
        nir/nir_metadata.c \
        nir/nir_move_vec_src_uses_to_dest.c \
        nir/nir_normalize_cubemap_coords.c \
@@ -222,10 +233,12 @@ NIR_FILES = \
        nir/nir_phi_builder.c \
        nir/nir_phi_builder.h \
        nir/nir_print.c \
+       nir/nir_propagate_invariant.c \
        nir/nir_remove_dead_variables.c \
        nir/nir_repair_ssa.c \
        nir/nir_search.c \
        nir/nir_search.h \
+       nir/nir_search_helpers.h \
        nir/nir_split_var_copies.c \
        nir/nir_sweep.c \
        nir/nir_to_ssa.c \
@@ -235,7 +248,11 @@ NIR_FILES = \
        nir/nir_worklist.h
 
 SPIRV_FILES = \
+       spirv/GLSL.std.450.h \
        spirv/nir_spirv.h \
+       spirv/spirv.h \
+       spirv/spirv_info.h \
+       spirv/spirv_info.c \
        spirv/spirv_to_nir.c \
        spirv/vtn_alu.c \
        spirv/vtn_cfg.c \