From bfa3a38280d27fe373cb78d666e926265ef80854 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Thu, 14 Apr 2016 10:24:33 -0700 Subject: [PATCH] nir: Remove some pointless delta between vulkan and master --- src/compiler/nir/glsl_to_nir.cpp | 1 - src/compiler/nir/nir.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/compiler/nir/glsl_to_nir.cpp b/src/compiler/nir/glsl_to_nir.cpp index d4c58a9..fafa8bb 100644 --- a/src/compiler/nir/glsl_to_nir.cpp +++ b/src/compiler/nir/glsl_to_nir.cpp @@ -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; diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index c3a3343..fede195 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -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 *)); -- 2.7.4