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.
This commit is contained in:
Brian Paul
2008-04-22 18:38:37 -06:00
parent 1977fbff60
commit 33f3938d2d
4 changed files with 62 additions and 34 deletions

View File

@@ -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;
};