summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-04-22 18:38:37 -0600
committerBrian Paul <[email protected]>2008-04-22 18:43:05 -0600
commit33f3938d2d6340b31d758c96bd35f858c6c8267d (patch)
treeee9211f0d5733d33134936092b304ed86db758ea /src/mesa/state_tracker/st_program.h
parent1977fbff6010af0a5bd0bba7c0367b7713185a92 (diff)
gallium: fix some bitmap frag shader issues
If texturing happens to be enabled when glBitmap() is called, need to be careful about choosing a sampler unit, etc.
Diffstat (limited to 'src/mesa/state_tracker/st_program.h')
-rw-r--r--src/mesa/state_tracker/st_program.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h
index e58b8a18515..1a2062131d0 100644
--- a/src/mesa/state_tracker/st_program.h
+++ b/src/mesa/state_tracker/st_program.h
@@ -69,6 +69,10 @@ struct st_fragment_program
* outputs match this fragment program's inputs.
*/
struct translated_vertex_program *vertex_programs;
+
+ /** Program prefixed with glBitmap prologue */
+ struct st_fragment_program *bitmap_program;
+ uint bitmap_sampler;
};