mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 01:30:08 +01:00
intel/elk: Use anonymous namespace in fs_combine_constants
Certain GitLab CI build use a combination of LTO and -Werror=odr that will fail if both ELK and BRW share the same names for those helpers, so wrap the ELK ones around anonymous namespace. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27563>
This commit is contained in:
parent
2bc18fe46f
commit
32db7a9533
1 changed files with 4 additions and 0 deletions
|
|
@ -43,6 +43,8 @@ using namespace elk;
|
|||
|
||||
static const bool debug = false;
|
||||
|
||||
namespace {
|
||||
|
||||
enum PACKED interpreted_type {
|
||||
float_only = 0,
|
||||
integer_only,
|
||||
|
|
@ -1304,6 +1306,8 @@ parcel_out_registers(struct imm *imm, unsigned len, const elk_bblock_t *cur_bloc
|
|||
}
|
||||
}
|
||||
|
||||
} /* namespace */
|
||||
|
||||
bool
|
||||
elk_fs_visitor::opt_combine_constants()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue