Well, as Illia Mirkin suggested I killed few lines of code :} Driver seems to compile fine afterwards, and run glxgeras :} and clpeak too (but with external nv50 compute patches from Pierre Moreau) From 528143b24875e8053edfb95cfc97fe0ac7fa9ebb Mon Sep 17 00:00:00 2001 From: Andrew Randrianasulu <randrianasulu@xxxxxxxxx> Date: Wed, 21 Oct 2020 21:14:24 +0300 Subject: [PATCH] Nuke NVC0 defines from nouveau/codegen/nv50_ir_target_nv50.h (they are in nouveau/codegen/nv50_ir_target_nvc0.h) --- src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h b/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h index caf66b269db..604a35890b7 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h @@ -24,12 +24,6 @@ namespace nv50_ir { -#define NVC0_BUILTIN_DIV_U32 0 -#define NVC0_BUILTIN_DIV_S32 1 -#define NVC0_BUILTIN_RCP_F64 2 -#define NVC0_BUILTIN_RSQ_F64 3 - -#define NVC0_BUILTIN_COUNT 4 class TargetNV50 : public Target { -- 2.14.5
From 528143b24875e8053edfb95cfc97fe0ac7fa9ebb Mon Sep 17 00:00:00 2001 From: Andrew Randrianasulu <randrianasulu@xxxxxxxxx> Date: Wed, 21 Oct 2020 21:14:24 +0300 Subject: [PATCH] Nuke NVC0 defines from nouveau/codegen/nv50_ir_target_nv50.h (they are in nouveau/codegen/nv50_ir_target_nvc0.h) --- src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h b/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h index caf66b269db..604a35890b7 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.h @@ -24,12 +24,6 @@ namespace nv50_ir { -#define NVC0_BUILTIN_DIV_U32 0 -#define NVC0_BUILTIN_DIV_S32 1 -#define NVC0_BUILTIN_RCP_F64 2 -#define NVC0_BUILTIN_RSQ_F64 3 - -#define NVC0_BUILTIN_COUNT 4 class TargetNV50 : public Target { -- 2.14.5
_______________________________________________ Nouveau mailing list Nouveau@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/nouveau