i965: Delete unused brw_vs_prog_data::nr_attributes field.
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 20 Oct 2017 04:53:49 +0000 (21:53 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 27 Oct 2017 09:53:38 +0000 (02:53 -0700)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/intel/compiler/brw_compiler.h
src/intel/compiler/brw_vec4.cpp

index 014202d36ca12419254341e58367b4dec475f13b..6a330537a5bbcd8c8f9276704b6637d5869b3384 100644 (file)
@@ -954,7 +954,6 @@ struct brw_vs_prog_data {
    GLbitfield64 inputs_read;
    GLbitfield64 double_inputs_read;
 
-   unsigned nr_attributes;
    unsigned nr_attribute_slots;
 
    bool uses_vertexid;
index 04304fcb4571e45d1abb9325ef4afe4087590991..4a87b28822c156a6a31763111f3e46c17aa34107 100644 (file)
@@ -2829,7 +2829,6 @@ brw_compile_vs(const struct brw_compiler *compiler, void *log_data,
       prog_data->base.urb_read_length =
          DIV_ROUND_UP(MAX2(nr_attribute_slots, 1), 2);
 
-   prog_data->nr_attributes = nr_attributes;
    prog_data->nr_attribute_slots = nr_attribute_slots;
 
    /* Since vertex shaders reuse the same VUE entry for inputs and outputs