* Kill some nvc0 defines from nv50_ir_target_nv50.h
@ 2020-10-21 18:20 Andrew Randrianasulu
0 siblings, 0 replies; only message in thread
From: Andrew Randrianasulu @ 2020-10-21 18:20 UTC (permalink / raw)
To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW
[-- Attachment #1: Type: text/plain, Size: 1212 bytes --]
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-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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
[-- Attachment #2: 0001-Nuke-NVC0-defines-from-nouveau-codegen-nv50_ir_targe.patch --]
[-- Type: text/x-diff, Size: 1013 bytes --]
From 528143b24875e8053edfb95cfc97fe0ac7fa9ebb Mon Sep 17 00:00:00 2001
From: Andrew Randrianasulu <randrianasulu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
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
[-- Attachment #3: Type: text/plain, Size: 182 bytes --]
_______________________________________________
Nouveau mailing list
Nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org
https://lists.freedesktop.org/mailman/listinfo/nouveau
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-10-21 18:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-21 18:20 Kill some nvc0 defines from nv50_ir_target_nv50.h Andrew Randrianasulu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.