nir: Remove some pointless delta between vulkan and master
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Apr 2016 17:24:33 +0000 (10:24 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Apr 2016 17:24:33 +0000 (10:24 -0700)
src/compiler/nir/glsl_to_nir.cpp
src/compiler/nir/nir.h

index d4c58a9ba2e84a2a31060c69015b2138691a40c7..fafa8bbe0130ae7e5686cecfd9239a67482220c9 100644 (file)
@@ -391,7 +391,6 @@ nir_visitor::visit(ir_variable *ir)
    }
 
    var->data.index = ir->data.index;
-   var->data.descriptor_set = 0;
    var->data.binding = ir->data.binding;
    var->data.offset = ir->data.offset;
    var->data.image.read_only = ir->data.image_read_only;
index c3a334312399163c5e648b1e8457bc34df0bf44b..fede1954cf0360e971978dd699a334f445275e12 100644 (file)
@@ -2217,8 +2217,6 @@ void nir_lower_outputs_to_temporaries(nir_shader *shader,
                                       nir_function *entrypoint);
 void nir_shader_gather_info(nir_shader *shader, nir_function_impl *entrypoint);
 
-void nir_shader_gather_info(nir_shader *shader, nir_function_impl *entrypoint);
-
 void nir_assign_var_locations(struct exec_list *var_list,
                               unsigned *size,
                               int (*type_size)(const struct glsl_type *));