diff options
author | Marek Olšák <[email protected]> | 2010-06-21 00:42:06 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-06-21 04:07:11 +0200 |
commit | d82f6253331abf09ca714b844b1a9179ed8050b3 (patch) | |
tree | 22f4004ee529baa4aaa7e71d48db232d335131d9 /src/gallium/drivers/r300/r300_context.h | |
parent | 646e9c2fd7b5974480fcbed0bef7281b4d4a0e65 (diff) |
r300g: fix the KIL opcode for r3xx-r4xx (v4)
Diffstat (limited to 'src/gallium/drivers/r300/r300_context.h')
-rw-r--r-- | src/gallium/drivers/r300/r300_context.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_context.h b/src/gallium/drivers/r300/r300_context.h index 224d5737753..fdbdb4b192d 100644 --- a/src/gallium/drivers/r300/r300_context.h +++ b/src/gallium/drivers/r300/r300_context.h @@ -401,6 +401,10 @@ struct r300_context { /* Vertex buffer for rendering. */ struct pipe_resource* vbo; + /* The KIL opcode needs the first texture unit to be enabled + * on r3xx-r4xx. In order to calm down the CS checker, we bind this + * dummy texture there. */ + struct r300_sampler_view *texkill_sampler; /* Offset into the VBO. */ size_t vbo_offset; |