- /** List of translated variants of this vertex program.
- */
- struct st_vp_variant *variants;
-
- /** SHA1 hash of linked tgsi shader program, used for on-disk cache */
- unsigned char sha1[20];
-
- /* Used by the shader cache and ARB_get_program_binary */
- unsigned num_tgsi_tokens;
-};
-
-
-
-/** Key shared by all shaders except VP, FP */
-struct st_basic_variant_key
-{
- struct st_context *st; /**< variants are per-context */
-
- /** For compat profile */
- bool clamp_color;
-
- /** both for ARB_depth_clamp */
- bool lower_depth_clamp;
- bool clip_negative_one_to_one;
-
-};
-
-
-/**
- * Geometry program variant.
- */
-struct st_basic_variant
-{