Mesa (master): i965: Delete unused brw_vs_prog_data::nr_attributes field.
Kenneth Graunke
kwg at kemper.freedesktop.org
Fri Oct 27 09:54:46 UTC 2017
Module: Mesa
Branch: master
Commit: 2c873060d3578c7004c0c3731a6f7c783c4e237f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=2c873060d3578c7004c0c3731a6f7c783c4e237f
Author: Kenneth Graunke <kenneth at whitecape.org>
Date: Thu Oct 19 21:53:49 2017 -0700
i965: Delete unused brw_vs_prog_data::nr_attributes field.
Reviewed-by: Matt Turner <mattst88 at gmail.com>
---
src/intel/compiler/brw_compiler.h | 1 -
src/intel/compiler/brw_vec4.cpp | 1 -
2 files changed, 2 deletions(-)
diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h
index 014202d36c..6a330537a5 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 04304fcb45..4a87b28822 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
More information about the mesa-commit
mailing list