diff options
author | Dave Airlie <airlied@redhat.com> | 2008-03-24 18:47:50 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2008-03-24 18:47:50 +1000 |
commit | 4323ee3e5b263a1dc8cfdf72485a20a3c1d8f144 (patch) | |
tree | 618d564539cedf0d7be29e291bac80bd39b39190 /shared-core/radeon_drm.h | |
parent | a244d2905052d3263bdcc26b295558a354702b89 (diff) | |
parent | 36e11dd3801734ff5af9f5edb7aa698f0e2c49c2 (diff) |
Merge branch 'r500-fp'
Diffstat (limited to 'shared-core/radeon_drm.h')
-rw-r--r-- | shared-core/radeon_drm.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/shared-core/radeon_drm.h b/shared-core/radeon_drm.h index 0971f970..c4d9cc6b 100644 --- a/shared-core/radeon_drm.h +++ b/shared-core/radeon_drm.h @@ -228,6 +228,7 @@ typedef union { # define R300_WAIT_2D_CLEAN 0x3 # define R300_WAIT_3D_CLEAN 0x4 #define R300_CMD_SCRATCH 8 +#define R300_CMD_R500FP 9 typedef union { unsigned int u; @@ -256,6 +257,9 @@ typedef union { struct { unsigned char cmd_type, reg, n_bufs, flags; } scratch; + struct { + unsigned char cmd_type, count, adrlo, adrhi_flags; + } r500fp; } drm_r300_cmd_header_t; #define RADEON_FRONT 0x1 @@ -266,6 +270,9 @@ typedef union { #define RADEON_USE_HIERZ 0x40000000 #define RADEON_USE_COMP_ZBUF 0x20000000 +#define R500FP_CONSTANT_TYPE (1 << 1) +#define R500FP_CONSTANT_CLAMP (1 << 2) + /* Primitive types */ #define RADEON_POINTS 0x1 |