-struct svga_fragment_shader;
-struct svga_vertex_shader;
-struct svga_shader;
-struct tgsi_shader_info;
-struct tgsi_token;
-
-
-struct svga_vs_compile_key
-{
- ubyte need_prescale:1;
- ubyte allow_psiz:1;
- unsigned zero_stride_vertex_elements;
- ubyte num_zero_stride_vertex_elements:6;
-};
-
-struct svga_fs_compile_key
-{
- boolean light_twoside:1;
- boolean front_cw:1;
- ubyte num_textures;
- ubyte num_unnormalized_coords;
- struct {
- ubyte compare_mode : 1;
- ubyte compare_func : 3;
- ubyte unnormalized : 1;
-
- ubyte width_height_idx : 7;
-
- ubyte texture_target;
- } tex[PIPE_MAX_SAMPLERS];
-};
-
-union svga_compile_key {
- struct svga_vs_compile_key vkey;
- struct svga_fs_compile_key fkey;
-};
-
-struct svga_shader_result
-{
- const struct svga_shader *shader;