diff options
author | Ben Skeggs <darktama@iinet.net.au> | 2005-05-25 06:46:10 +0000 |
---|---|---|
committer | Ben Skeggs <darktama@iinet.net.au> | 2005-05-25 06:46:10 +0000 |
commit | 53d13e014fbe29a3789f7845443c858e94430097 (patch) | |
tree | 0a40400d85d08799fe7da7543d9140dc6baf02c1 /src/mesa/drivers/dri/r300/r300_fragprog.h | |
parent | f387c83ec10b202c1951c4b8f29bb8109de102f5 (diff) |
- Remove one of the loops in emit_arith
- Handle REPL_ALPHA in emit_arith (possibly incorrect for some things)
- Start on getting demos/arbfplight.c to look right. Won't be animated yet,
need to re-work const emit so we can update consts without re-translating
the entire program.
Assertion in r300_state.c::setup_rs_unit needs to be disabled for it to
work.
Diffstat (limited to 'src/mesa/drivers/dri/r300/r300_fragprog.h')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_fragprog.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_fragprog.h b/src/mesa/drivers/dri/r300/r300_fragprog.h index b98c6c03a7..26e4ae56a9 100644 --- a/src/mesa/drivers/dri/r300/r300_fragprog.h +++ b/src/mesa/drivers/dri/r300/r300_fragprog.h @@ -39,8 +39,12 @@ typedef struct _pfs_reg_t { #define PFS_OP_LG2 8 #define PFS_OP_RCP 9 #define PFS_OP_RSQ 10 -#define MAX_PFS_OP 10 +#define PFS_OP_REPL_ALPHA 11 +#define MAX_PFS_OP 11 #define OP(n) PFS_OP_##n +#define PFS_FLAG_SAT (1 << 0) +#define PFS_FLAG_ABS (1 << 1) + #endif |