SOURCES: libdrm-radeon_drm.patch (NEW) - r200 vertex programs

freetz freetz at pld-linux.org
Fri Jun 16 20:05:44 CEST 2006


Author: freetz                       Date: Fri Jun 16 18:05:44 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- r200 vertex programs

---- Files affected:
SOURCES:
   libdrm-radeon_drm.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/libdrm-radeon_drm.patch
diff -u /dev/null SOURCES/libdrm-radeon_drm.patch:1.1
--- /dev/null	Fri Jun 16 20:05:44 2006
+++ SOURCES/libdrm-radeon_drm.patch	Fri Jun 16 20:05:38 2006
@@ -0,0 +1,31 @@
+diff -aurN libdrm-2.0.1.orig/shared-core/radeon_drm.h libdrm-2.0.1/shared-core/radeon_drm.h
+--- libdrm-2.0.1.orig/shared-core/radeon_drm.h	2006-03-06 21:08:50.000000000 +0100
++++ libdrm-2.0.1/shared-core/radeon_drm.h	2006-05-24 20:36:24.000000000 +0200
+@@ -161,7 +161,8 @@
+ #define R200_EMIT_PP_TXCTLALL_3                     91
+ #define R200_EMIT_PP_TXCTLALL_4                     92
+ #define R200_EMIT_PP_TXCTLALL_5                     93
+-#define RADEON_MAX_STATE_PACKETS                    94
++#define R200_EMIT_VAP_PVS_CNTL                      94
++#define RADEON_MAX_STATE_PACKETS                    95
+ 
+ /* Commands understood by cmd_buffer ioctl.  More can be added but
+  * obviously these can't be removed or changed:
+@@ -176,6 +177,7 @@
+ #define RADEON_CMD_WAIT         8	/* emit hw wait commands -- note:
+ 					 *  doesn't make the cpu wait, just
+ 					 *  the graphics hardware */
++#define RADEON_CMD_VECLINEAR	9       /* another r200 stopgap */
+ 
+ typedef union {
+ 	int i;
+@@ -192,6 +194,9 @@
+ 		unsigned char cmd_type, offset, stride, count;
+ 	} vectors;
+ 	struct {
++		unsigned char cmd_type, addr_lo, addr_hi, count;
++	} veclinear;
++	struct {
+ 		unsigned char cmd_type, buf_idx, pad0, pad1;
+ 	} dma;
+ 	struct {
================================================================


More information about the pld-cvs-commit mailing list