diff options
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_tes.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_tes.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_tes.c b/src/mesa/drivers/dri/i965/brw_tes.c index d1f56bd..5612c46 100644 --- a/src/mesa/drivers/dri/i965/brw_tes.c +++ b/src/mesa/drivers/dri/i965/brw_tes.c @@ -234,8 +234,10 @@ brw_tes_populate_key(struct brw_context *brw, struct brw_tes_prog_key *key) { - uint64_t per_vertex_slots = brw->tess_eval_program->Base.InputsRead; - uint32_t per_patch_slots = brw->tess_eval_program->Base.PatchInputsRead; + uint64_t per_vertex_slots = + brw->tess_eval_program->Base.nir->info.inputs_read; + uint32_t per_patch_slots = + brw->tess_eval_program->Base.nir->info.patch_inputs_read; struct brw_tess_eval_program *tep = (struct brw_tess_eval_program *) brw->tess_eval_program; @@ -314,8 +316,8 @@ brw_tes_precompile(struct gl_context *ctx, memset(&key, 0, sizeof(key)); key.program_string_id = btep->id; - key.inputs_read = prog->InputsRead; - key.patch_inputs_read = prog->PatchInputsRead; + key.inputs_read = prog->nir->info.inputs_read; + key.patch_inputs_read = prog->nir->info.patch_inputs_read; if (shader_prog->_LinkedShaders[MESA_SHADER_TESS_CTRL]) { struct gl_program *tcp = |