summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r300/r300_emit.h
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2009-11-20 05:17:00 +0100
committerCorbin Simpson <MostAwesomeDude@gmail.com>2009-11-20 15:12:18 -0800
commit015e7e7724a64d3d9e02e57f6a8eb88a6441f596 (patch)
treefce3a12be84eb591088898b1f90fbfc2b966ac29 /src/gallium/drivers/r300/r300_emit.h
parentae70cd1f027bdfc7f500d78b6c5333e6b35d3ee8 (diff)
r300g: emit R300_TEX_ENABLE to indicate there are no textures bound
Previously, this reg wasn't emitted at all if texture_count == 0.
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.h')
-rw-r--r--src/gallium/drivers/r300/r300_emit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.h b/src/gallium/drivers/r300/r300_emit.h
index 7c83c5166d..3797d3d332 100644
--- a/src/gallium/drivers/r300/r300_emit.h
+++ b/src/gallium/drivers/r300/r300_emit.h
@@ -92,6 +92,8 @@ void r300_emit_vertex_shader(struct r300_context* r300,
void r300_emit_viewport_state(struct r300_context* r300,
struct r300_viewport_state* viewport);
+void r300_emit_texture_count(struct r300_context* r300);
+
void r300_flush_textures(struct r300_context* r300);
/* Emit all dirty state. */