diff options
author | Dave Airlie <[email protected]> | 2011-06-03 08:50:58 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-06-03 08:54:25 +1000 |
commit | 51d0892ee2daaa442a48abff2329e1485dd337e8 (patch) | |
tree | 063e5c05508d40f66fc897deed5c2f0979c2fa59 /src/gallium/drivers/r600/r600.h | |
parent | e09e5cb7d8b2d7a9d0ec61476e654528010b2b91 (diff) |
r600g: sampler and texture state doesn't need a range/block.
These are handled separately in the winsys, so don't need the calculations
done at this point. this manifested as a crash in point-sprite,
Thanks to XoD on #radeon for pointing it out.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600.h')
-rw-r--r-- | src/gallium/drivers/r600/r600.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600.h b/src/gallium/drivers/r600/r600.h index 50a07537d3e..23e7181a86e 100644 --- a/src/gallium/drivers/r600/r600.h +++ b/src/gallium/drivers/r600/r600.h @@ -317,6 +317,9 @@ void _r600_pipe_state_add_reg(struct r600_context *ctx, u32 range_id, u32 block_id, struct r600_bo *bo); +void r600_pipe_state_add_reg_noblock(struct r600_pipe_state *state, + u32 offset, u32 value, u32 mask, + struct r600_bo *bo); #define r600_pipe_state_add_reg(state, offset, value, mask, bo) _r600_pipe_state_add_reg(&rctx->ctx, state, offset, value, mask, CTX_RANGE_ID(offset), CTX_BLOCK_ID(offset), bo) static inline void r600_pipe_state_mod_reg(struct r600_pipe_state *state, |