diff --git a/src/intel/compiler/brw_eu.cpp b/src/intel/compiler/brw_eu.c similarity index 99% rename from src/intel/compiler/brw_eu.cpp rename to src/intel/compiler/brw_eu.c index f8450b488e2..ac04ea1089f 100644 --- a/src/intel/compiler/brw_eu.cpp +++ b/src/intel/compiler/brw_eu.c @@ -147,7 +147,7 @@ brw_get_default_access_mode(struct brw_codegen *p) return p->current->access_mode; } -tgl_swsb +struct tgl_swsb brw_get_default_swsb(struct brw_codegen *p) { return p->current->swsb; @@ -295,7 +295,7 @@ void brw_set_default_acc_write_control(struct brw_codegen *p, unsigned value) p->current->acc_wr_control = value; } -void brw_set_default_swsb(struct brw_codegen *p, tgl_swsb value) +void brw_set_default_swsb(struct brw_codegen *p, struct tgl_swsb value) { p->current->swsb = value; } @@ -364,7 +364,7 @@ const unsigned *brw_get_program( struct brw_codegen *p, return (const unsigned *)p->store; } -const brw_shader_reloc * +const struct brw_shader_reloc * brw_get_shader_relocs(struct brw_codegen *p, unsigned *num_relocs) { *num_relocs = p->num_relocs; diff --git a/src/intel/compiler/meson.build b/src/intel/compiler/meson.build index 10fbb281876..da09bbe203b 100644 --- a/src/intel/compiler/meson.build +++ b/src/intel/compiler/meson.build @@ -38,7 +38,7 @@ libintel_compiler_files = files( 'brw_disasm.c', 'brw_disasm_info.c', 'brw_disasm_info.h', - 'brw_eu.cpp', + 'brw_eu.c', 'brw_eu_compact.c', 'brw_eu_defines.h', 'brw_eu_emit.c',