[Nouveau] Kill some nvc0 defines from nv50_ir_target_nv50.h
Andrew Randrianasulu
randrianasulu at gmail.com
Wed Oct 21 18:20:24 UTC 2020
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 at gmail.com>
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Nuke-NVC0-defines-from-nouveau-codegen-nv50_ir_targe.patch
Type: text/x-diff
Size: 953 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/nouveau/attachments/20201021/097f0ed2/attachment.patch>
More information about the Nouveau
mailing list