ilo: add BLT-based blitting methods to ilo_blitter
[mesa.git] / src / gallium / drivers / ilo / ilo_shader.h
index 2c9e556adf8527d0bcb63fd3dde5b629ba0b5fc2..1ea0b4a0d1d82c0d30f1a1211f5b0767e0c7a907 100644 (file)
@@ -74,8 +74,6 @@ struct ilo_shader_variant {
  */
 struct ilo_shader {
    struct ilo_shader_variant variant;
-   /* hash of the shader variant for quicker lookup */
-   unsigned hash;
 
    struct {
       int semantic_names[PIPE_MAX_SHADER_INPUTS];
@@ -92,6 +90,7 @@ struct ilo_shader {
    } in;
 
    struct {
+      int register_indices[PIPE_MAX_SHADER_OUTPUTS];
       int semantic_names[PIPE_MAX_SHADER_OUTPUTS];
       int semantic_indices[PIPE_MAX_SHADER_OUTPUTS];
       int count;
@@ -126,8 +125,8 @@ struct ilo_shader {
  * Information about a shader state.
  */
 struct ilo_shader_info {
+   const struct ilo_dev_info *dev;
    int type;
-   int gen;
 
    const struct tgsi_token *tokens;