diff options
author | Jason Ekstrand <[email protected]> | 2017-05-04 14:50:20 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-09 15:08:03 -0700 |
commit | 80aa6e9d325b4784b7391cf24f1b0c291514f37b (patch) | |
tree | 1898c317d8157505bcd719e61e6bd39e95119467 /src/intel/compiler/brw_vec4.cpp | |
parent | d2fe804d1890774828a5481f5873743d71d37c2a (diff) |
intel/compiler/vs: Move inputs_read handling to generic code
Reviewed-by: Alejandro PiƱeiro <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_vec4.cpp')
-rw-r--r-- | src/intel/compiler/brw_vec4.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_vec4.cpp b/src/intel/compiler/brw_vec4.cpp index 7b17c642752..a673dd6820b 100644 --- a/src/intel/compiler/brw_vec4.cpp +++ b/src/intel/compiler/brw_vec4.cpp @@ -2789,6 +2789,9 @@ brw_compile_vs(const struct brw_compiler *compiler, void *log_data, prog_data->inputs_read |= VERT_BIT_EDGEFLAG; } + prog_data->inputs_read = shader->info.inputs_read; + prog_data->double_inputs_read = shader->info.double_inputs_read; + prog_data->base.clip_distance_mask = ((1 << shader->info.clip_distance_array_size) - 1); prog_data->base.cull_distance_mask = |