]> git.pld-linux.org Git - packages/libdrm.git/blob - libdrm-radeon_drm.patch
- added radeon_drm patch (r200 vertex programs support), rel.2
[packages/libdrm.git] / libdrm-radeon_drm.patch
1 diff -aurN libdrm-2.0.1.orig/shared-core/radeon_drm.h libdrm-2.0.1/shared-core/radeon_drm.h
2 --- libdrm-2.0.1.orig/shared-core/radeon_drm.h  2006-03-06 21:08:50.000000000 +0100
3 +++ libdrm-2.0.1/shared-core/radeon_drm.h       2006-05-24 20:36:24.000000000 +0200
4 @@ -161,7 +161,8 @@
5  #define R200_EMIT_PP_TXCTLALL_3                     91
6  #define R200_EMIT_PP_TXCTLALL_4                     92
7  #define R200_EMIT_PP_TXCTLALL_5                     93
8 -#define RADEON_MAX_STATE_PACKETS                    94
9 +#define R200_EMIT_VAP_PVS_CNTL                      94
10 +#define RADEON_MAX_STATE_PACKETS                    95
11  
12  /* Commands understood by cmd_buffer ioctl.  More can be added but
13   * obviously these can't be removed or changed:
14 @@ -176,6 +177,7 @@
15  #define RADEON_CMD_WAIT         8      /* emit hw wait commands -- note:
16                                          *  doesn't make the cpu wait, just
17                                          *  the graphics hardware */
18 +#define RADEON_CMD_VECLINEAR   9       /* another r200 stopgap */
19  
20  typedef union {
21         int i;
22 @@ -192,6 +194,9 @@
23                 unsigned char cmd_type, offset, stride, count;
24         } vectors;
25         struct {
26 +               unsigned char cmd_type, addr_lo, addr_hi, count;
27 +       } veclinear;
28 +       struct {
29                 unsigned char cmd_type, buf_idx, pad0, pad1;
30         } dma;
31         struct {
This page took 0.096795 seconds and 3 git commands to generate.