Lines Matching refs:info

107                      get_variable_io_mask(var, shader->info.stage);
110 get_variable_io_mask(var, shader->info.stage);
151 if (shader->info.stage != MESA_SHADER_MESH || var->data.location != VARYING_SLOT_PRIMITIVE_ID)
162 if (!(other_stage & get_variable_io_mask(var, shader->info.stage))) {
164 if (shader->info.stage == MESA_SHADER_MESH &&
165 (shader->info.outputs_read & BITFIELD64_BIT(var->data.location)))
190 assert(producer->info.stage != MESA_SHADER_FRAGMENT);
191 assert(consumer->info.stage != MESA_SHADER_VERTEX);
203 get_variable_io_mask(var, producer->info.stage);
206 get_variable_io_mask(var, producer->info.stage);
218 get_variable_io_mask(var, consumer->info.stage);
221 get_variable_io_mask(var, consumer->info.stage);
230 if (producer->info.stage == MESA_SHADER_TESS_CTRL)
403 const gl_shader_stage stage = shader->info.stage;
558 if (nir_is_arrayed_io(var, producer->info.stage) || var->data.per_view) {
578 /* Walk over the shader and populate the varying component info array */
615 if (nir_is_arrayed_io(in_var, consumer->info.stage) ||
637 /* Walk over the shader and populate the varying component info array
641 if (producer->info.stage == MESA_SHADER_TESS_CTRL) {
682 if (nir_is_arrayed_io(out_var, producer->info.stage)) {
767 struct varying_component *info,
779 if (assigned_comps[tmp_cursor].is_per_primitive != info->is_per_primitive) {
785 if (assigned_comps[tmp_cursor].is_mediump != info->is_mediump) {
793 if (assigned_comps[tmp_cursor].interp_type != info->interp_type &&
795 !allow_pack_interp_type(options, info->interp_type))) {
803 if (assigned_comps[tmp_cursor].interp_loc != info->interp_loc &&
805 !allow_pack_interp_loc(options, info->interp_loc))) {
829 unsigned location = info->var->data.location - VARYING_SLOT_VAR0;
833 assigned_comps[tmp_cursor].interp_type = info->interp_type;
834 assigned_comps[tmp_cursor].interp_loc = info->interp_loc;
835 assigned_comps[tmp_cursor].is_32bit = info->is_32bit;
836 assigned_comps[tmp_cursor].is_mediump = info->is_mediump;
837 assigned_comps[tmp_cursor].is_per_primitive = info->is_per_primitive;
840 remap[location][info->var->data.location_frac].component = tmp_comp++;
841 remap[location][info->var->data.location_frac].location =
864 /* Gather varying component info */
880 struct varying_component *info = &varying_comp_info[i];
882 assert(info->is_patch || cursor < MAX_VARYING);
883 if (info->is_patch) {
893 assign_remap_locations(remap, assigned_comps, info,
897 assign_remap_locations(remap, assigned_comps, info,
911 assign_remap_locations(remap, assigned_comps, info,
923 &consumer->info.inputs_read, &zero,
924 &consumer->info.patch_inputs_read, &zero32);
926 &producer->info.outputs_written,
927 &producer->info.outputs_read,
928 &producer->info.patch_outputs_written,
929 &producer->info.patch_outputs_read);
946 assert(producer->info.stage != MESA_SHADER_FRAGMENT);
947 assert(consumer->info.stage != MESA_SHADER_VERTEX);
953 producer->info.stage,
957 consumer->info.stage,
1328 bool frag = consumer->info.stage == MESA_SHADER_FRAGMENT;
1356 if (consumer->info.stage != MESA_SHADER_FRAGMENT ||
1357 (producer->info.stage != MESA_SHADER_VERTEX &&
1358 producer->info.stage != MESA_SHADER_TESS_EVAL))
1657 uint64_t mask = get_linked_variable_io_mask(variable, producer->info.stage);
1670 uint64_t mask = get_linked_variable_io_mask(variable, consumer->info.stage);