summaryrefslogtreecommitdiffstats
path: root/src/compiler/shader_info.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/shader_info.h')
-rw-r--r--src/compiler/shader_info.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/compiler/shader_info.h b/src/compiler/shader_info.h
index 4492cad0e8d..f6dedb8d624 100644
--- a/src/compiler/shader_info.h
+++ b/src/compiler/shader_info.h
@@ -67,8 +67,6 @@ typedef struct shader_info {
/* Which inputs are actually read */
uint64_t inputs_read;
- /* Which inputs are actually read and are double */
- uint64_t double_inputs_read;
/* Which outputs are actually written */
uint64_t outputs_written;
/* Which outputs are actually read */
@@ -110,6 +108,14 @@ typedef struct shader_info {
union {
struct {
+ /* Which inputs are doubles */
+ uint64_t double_inputs;
+
+ /* Which inputs are actually read and are double */
+ uint64_t double_inputs_read;
+ } vs;
+
+ struct {
/** The number of vertices recieves per input primitive */
unsigned vertices_in;