summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2016-02-15 15:37:29 +1000
committerBen Skeggs <bskeggs@redhat.com>2016-02-16 15:56:48 +1000
commitb04b16754c8d85d060fcda377c4b817e0433e0ce (patch)
treef498a432248eb93c12494bd589ae9e45f5310f24 /src
parent3444f83077ae39d6adececf32043d5eeb4b4684c (diff)
nv50-: switch nv50_formats.c to updated g80_defs.xml.h
Verified (binary diff) to produce identical code. Signed-off-by: Ben Skeggs <bskeggs@redhat.com> Acked-by: Ilia Mirkin <imirkin@alum.mit.edu>
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/nouveau/nv50/nv50_formats.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gallium/drivers/nouveau/nv50/nv50_formats.c b/src/gallium/drivers/nouveau/nv50/nv50_formats.c
index 01cdd549c03..9f17ab68ee8 100644
--- a/src/gallium/drivers/nouveau/nv50/nv50_formats.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_formats.c
@@ -28,7 +28,7 @@
# include "nv50/nv50_3d.xml.h"
#endif
#include "nv50/nv50_texture.xml.h"
-#include "nv50/nv50_defs.xml.h"
+#include "nv50/g80_defs.xml.h"
#include "pipe/p_defines.h"
@@ -59,8 +59,8 @@
# define U_t 0
#endif
-#define NV50_ZETA_FORMAT_NONE 0
-#define NV50_SURFACE_FORMAT_NONE 0
+#define G80_ZETA_FORMAT_NONE 0
+#define G80_SURFACE_FORMAT_NONE 0
#define SF_A(sz) NV50_TIC_0_FMT_##sz
#define SF_C(sz) NVC0_TIC_0_FMT_##sz
@@ -79,19 +79,19 @@
}
#define C4(c, p, n, r, g, b, a, t, s, u) \
- SF(c, p, NV50_SURFACE_FORMAT_##n, r, g, b, a, t, t, t, t, s, u)
+ SF(c, p, G80_SURFACE_FORMAT_##n, r, g, b, a, t, t, t, t, s, u)
#define ZX(c, p, n, r, g, b, a, t, s, u) \
- SF(c, p, NV50_ZETA_FORMAT_##n, \
+ SF(c, p, G80_ZETA_FORMAT_##n, \
r, g, b, ONE_FLOAT, t, UINT, UINT, UINT, s, u)
#define ZS(c, p, n, r, g, b, a, t, s, u) \
- SF(c, p, NV50_ZETA_FORMAT_##n, \
+ SF(c, p, G80_ZETA_FORMAT_##n, \
r, g, b, ONE_FLOAT, t, UINT, UINT, UINT, s, u)
#define SZ(c, p, n, r, g, b, a, t, s, u) \
- SF(c, p, NV50_ZETA_FORMAT_##n, \
+ SF(c, p, G80_ZETA_FORMAT_##n, \
r, g, b, ONE_FLOAT, UINT, t, UINT, UINT, s, u)
#define SX(c, p, r, s, u) \
- SF(c, p, NV50_ZETA_FORMAT_NONE, \
+ SF(c, p, G80_ZETA_FORMAT_NONE, \
r, r, r, r, UINT, UINT, UINT, UINT, s, u)
#define F3(c, p, n, r, g, b, a, t, s, u) \