Lines Matching refs:info
96 gl_shader_stage stage = zs->nir->info.stage;
107 if (ctx && zs->nir->info.num_inlinable_uniforms &&
110 inline_size = zs->nir->info.num_inlinable_uniforms;
298 if (ctx && zs->nir->info.num_inlinable_uniforms &&
301 inline_size = zs->nir->info.num_inlinable_uniforms;
374 if (((struct zink_compute_program*)pg)->shader->nir->info.stage == MESA_SHADER_KERNEL) {
418 if (!prog->nir[producer->info.stage])
419 prog->nir[producer->info.stage] = nir_shader_clone(prog, producer);
422 zink_compiler_assign_io(prog->nir[producer->info.stage], prog->nir[j]);
471 if (screen->info.have_EXT_extended_dynamic_state &&
472 i == (prog->last_vertex_stage->nir->info.stage == MESA_SHADER_TESS_EVAL ? 4 : 3))
515 bool use_local_size = !(zs->nir->info.workgroup_size[0] ||
516 zs->nir->info.workgroup_size[1] ||
517 zs->nir->info.workgroup_size[2]);
608 return BITSET_TEST_RANGE(zs->nir->info.textures_used, 0, PIPE_MAX_SAMPLERS - 1);
610 return BITSET_TEST_RANGE(zs->nir->info.images_used, 0, PIPE_MAX_SAMPLERS - 1);
704 if (screen->info.have_EXT_extended_dynamic_state) {
813 const bool have_EXT_vertex_input_dynamic_state = screen->info.have_EXT_vertex_input_dynamic_state;
814 const bool have_EXT_extended_dynamic_state = screen->info.have_EXT_extended_dynamic_state;
818 const unsigned idx = get_pipeline_idx(screen->info.have_EXT_extended_dynamic_state, mode, vkmode);
933 if (shader && shader->nir->info.num_inlinable_uniforms)
987 enum pipe_shader_type old = ctx->last_vertex_stage ? pipe_shader_type_from_mesa(ctx->last_vertex_stage->nir->info.stage) : PIPE_SHADER_TYPES;
994 enum pipe_shader_type current = ctx->last_vertex_stage ? pipe_shader_type_from_mesa(ctx->last_vertex_stage->nir->info.stage) : PIPE_SHADER_VERTEX;
1008 if (ctx->last_vertex_stage->nir->info.outputs_written & (VARYING_BIT_VIEWPORT | VARYING_BIT_VIEWPORT_MASK))
1009 ctx->vp_state.num_viewports = MIN2(screen->info.props.limits.maxViewports, PIPE_MAX_VIEWPORTS);
1016 if (!screen->info.have_EXT_extended_dynamic_state) {
1036 ctx->shader_reads_drawid = BITSET_TEST(zs->nir->info.system_values_read, SYSTEM_VALUE_DRAW_ID);
1037 ctx->shader_reads_basevertex = BITSET_TEST(zs->nir->info.system_values_read, SYSTEM_VALUE_BASE_VERTEX);
1054 if (nir->info.outputs_written & (1 << FRAG_RESULT_SAMPLE_MASK)) {
1071 if (nir->info.outputs_written & (1 << FRAG_RESULT_SAMPLE_MASK)) {
1089 if (nir->info.fs.uses_fbfetch_output) {
1107 bool had_points = ctx->gfx_stages[PIPE_SHADER_GEOMETRY] ? ctx->gfx_stages[PIPE_SHADER_GEOMETRY]->nir->info.gs.output_primitive == SHADER_PRIM_POINTS : false;
1111 if (!had_points && ctx->last_vertex_stage->nir->info.gs.output_primitive == SHADER_PRIM_POINTS)
1233 if (!zink_screen(ctx->base.screen)->info.have_EXT_extended_dynamic_state2)