diff options
author | Timothy Arceri <[email protected]> | 2016-10-05 16:45:27 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-10-06 16:04:09 +1100 |
commit | 7627fbd9b0ca5eb39acb4f0a2ce9b03c90931ebc (patch) | |
tree | a668bb89801de731937da5149495902837fb1d0c /src/mesa/drivers/dri/i965/brw_vs.c | |
parent | 7ef8286487562e1e8678ccc514e4054a682c0c89 (diff) |
i965: get inputs read from nir info
This is a step towards dropping the GLSL IR version of
do_set_program_inouts() in i965 and moving towards native nir support.
This is important because we want to eventually convert to nir and
use its optimisations passes before we can call this GLSL IR pass.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs.c b/src/mesa/drivers/dri/i965/brw_vs.c index aa1ae285161..25484ddcfbe 100644 --- a/src/mesa/drivers/dri/i965/brw_vs.c +++ b/src/mesa/drivers/dri/i965/brw_vs.c @@ -152,7 +152,7 @@ brw_codegen_vs_prog(struct brw_context *brw, uint64_t outputs_written = brw_vs_outputs_written(brw, key, vp->program.Base.nir->info.outputs_written); - prog_data.inputs_read = vp->program.Base.InputsRead; + prog_data.inputs_read = vp->program.Base.nir->info.inputs_read; if (key->copy_edgeflag) { prog_data.inputs_read |= VERT_BIT_EDGEFLAG; |