[v0.11] Fix compilation error and ambiguity with CUDA and Intel backend when enabled at the same time due to functions with the same name

This commit is contained in:
Dr-Noob
2021-12-18 10:01:42 +01:00
parent 93889b2b18
commit 6d4d8b621b
10 changed files with 21 additions and 23 deletions

View File

@@ -13,7 +13,7 @@
/*
* https://github.com/mesa3d/mesa/blob/main/include/pci_ids/i965_pci_ids.h
*/
GPUCHIP get_chip_from_pci(struct pci* pci) {
GPUCHIP get_chip_from_pci_intel(struct pci* pci) {
CHECK_PCI_START
// Gen6
CHECK_PCI(pci, 0x0102, CHIP_HD_2000)