summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2017-10-19 21:53:49 -0700
committerKenneth Graunke <[email protected]>2017-10-27 02:53:38 -0700
commit2c873060d3578c7004c0c3731a6f7c783c4e237f (patch)
tree0cb70ceca1de15c1c02d4aa3bc6de1928d28030c /src
parentdd79aa4ad30df205076be25f6bbf42768abea20a (diff)
i965: Delete unused brw_vs_prog_data::nr_attributes field.
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/intel/compiler/brw_compiler.h1
-rw-r--r--src/intel/compiler/brw_vec4.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h
index 014202d36ca..6a330537a5b 100644
--- a/src/intel/compiler/brw_compiler.h
+++ b/src/intel/compiler/brw_compiler.h
@@ -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;
diff --git a/src/intel/compiler/brw_vec4.cpp b/src/intel/compiler/brw_vec4.cpp
index 04304fcb457..4a87b28822c 100644
--- a/src/intel/compiler/brw_vec4.cpp
+++ b/src/intel/compiler/brw_vec4.cpp
@@ -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