Searched refs:gfx_pipeline_state (Results 1 - 18 of 18) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/zink/
H A Dzink_program.h291 return (struct zink_fs_key *)&ctx->gfx_pipeline_state.shader_keys.key[PIPE_SHADER_FRAGMENT];
297 return (const struct zink_fs_key *)&ctx->gfx_pipeline_state.shader_keys.key[PIPE_SHADER_FRAGMENT];
307 return (struct zink_vs_key *)&ctx->gfx_pipeline_state.shader_keys.key[PIPE_SHADER_VERTEX];
313 return (const struct zink_vs_key *)&ctx->gfx_pipeline_state.shader_keys.key[PIPE_SHADER_VERTEX];
320 return (struct zink_vs_key_base *)&ctx->gfx_pipeline_state.shader_keys.last_vertex;
326 return (const struct zink_vs_key_base *)&ctx->gfx_pipeline_state.shader_keys.last_vertex;
333 bool disable = !ctx->gfx_pipeline_state.has_points || !ctx->rast_state->base.sprite_coord_enable;
H A Dzink_draw.cpp180 memcpy(&ctx->gfx_pipeline_state.shader_keys.key[pstage].key.vs_base,
181 &ctx->gfx_pipeline_state.shader_keys.last_vertex.key.vs_base,
195 ctx->gfx_pipeline_state.modules[stage] = prog->modules[stage]->shader;
198 prog = zink_create_gfx_program(ctx, ctx->gfx_stages, ctx->gfx_pipeline_state.vertices_per_patch + 1);
205 ctx->gfx_pipeline_state.final_hash ^= ctx->curr_program->last_variant_hash;
207 ctx->gfx_pipeline_state.final_hash ^= ctx->curr_program->last_variant_hash;
211 ctx->gfx_pipeline_state.final_hash ^= ctx->curr_program->last_variant_hash;
214 ctx->gfx_pipeline_state.final_hash ^= ctx->curr_program->last_variant_hash;
420 VkPipeline prev_pipeline = ctx->gfx_pipeline_state.pipeline;
422 VkPipeline pipeline = zink_get_gfx_pipeline(ctx, ctx->curr_program, &ctx->gfx_pipeline_state, mod
[all...]
H A Dzink_state.c175 struct zink_gfx_pipeline_state *state = &ctx->gfx_pipeline_state;
411 struct zink_gfx_pipeline_state* state = &zink_context(pctx)->gfx_pipeline_state;
523 struct zink_gfx_pipeline_state *state = &ctx->gfx_pipeline_state;
690 ctx->gfx_pipeline_state.rast_state = rast_bits & BITFIELD_MASK(ZINK_RAST_HW_STATE_SIZE);
692 ctx->gfx_pipeline_state.dirty = true;
700 if (ctx->gfx_pipeline_state.dyn_state1.front_face != ctx->rast_state->front_face) {
701 ctx->gfx_pipeline_state.dyn_state1.front_face = ctx->rast_state->front_face;
702 ctx->gfx_pipeline_state.dirty |= !zink_screen(pctx->screen)->info.have_EXT_extended_dynamic_state;
H A Dzink_context.c929 uint32_t enabled_buffers = ctx->gfx_pipeline_state.vertex_buffers_enabled_mask;
971 ctx->gfx_pipeline_state.vertex_buffers_enabled_mask = enabled_buffers;
992 if (ctx->gfx_pipeline_state.dyn_state1.num_viewports != ctx->vp_state.num_viewports)
993 ctx->gfx_pipeline_state.dirty = true;
994 ctx->gfx_pipeline_state.dyn_state1.num_viewports = ctx->vp_state.num_viewports;
1024 key = &ctx->gfx_pipeline_state.shader_keys.key[shader];
1058 struct zink_shader_key *key = &ctx->gfx_pipeline_state.shader_keys.key[pstage];
1806 ctx->gfx_pipeline_state.patch_vertices = patch_vertices;
1990 struct zink_render_pass *rp = ctx->gfx_pipeline_state.render_pass;
1992 if (ctx->gfx_pipeline_state
[all...]
H A Dzink_program.c244 update_shader_modules(ctx, zink_screen(ctx->base.screen), prog, ctx->dirty_shader_stages & prog->stages_present, &ctx->gfx_pipeline_state);
795 ctx->gfx_pipeline_state.modules_changed = true;
800 ctx->gfx_pipeline_state.modules[stage] = VK_NULL_HANDLE;
802 ctx->gfx_pipeline_state.final_hash ^= ctx->curr_program->last_variant_hash;
822 memset(&ctx->gfx_pipeline_state.shader_keys.key[old].key.vs_base, 0, sizeof(struct zink_vs_key_base));
826 memset(&ctx->gfx_pipeline_state.shader_keys.key[PIPE_SHADER_VERTEX].key.vs_base, 0, sizeof(struct zink_vs_key_base));
905 ctx->gfx_pipeline_state.has_points++;
908 ctx->gfx_pipeline_state.has_points--;
H A Dzink_blit.c329 util_blitter_save_blend(ctx->blitter, ctx->gfx_pipeline_state.blend_state);
332 util_blitter_save_sample_mask(ctx->blitter, ctx->gfx_pipeline_state.sample_mask);
H A Dzink_context.h233 struct zink_gfx_pipeline_state gfx_pipeline_state; member in struct:zink_context
H A Dzink_framebuffer.c151 psurf = ctx->dummy_surface[util_logbase2_ceil(ctx->gfx_pipeline_state.rast_samples+1)];
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/d3d12/
H A Dd3d12_draw.cpp190 ptr[2] = fui(ctx->gfx_pipeline_state.rast->base.point_size);
305 if (ctx->gfx_pipeline_state.num_so_targets &&
306 ctx->gfx_pipeline_state.stages[PIPE_SHADER_GEOMETRY])
307 factor = ctx->gfx_pipeline_state.stages[PIPE_SHADER_GEOMETRY]->key.gs.stream_output_factor;
474 util_primconvert_save_rasterizer_state(ctx->primconvert, &ctx->gfx_pipeline_state.rast->base);
488 struct d3d12_rasterizer_state *rast = ctx->gfx_pipeline_state.rast;
502 ctx->gfx_pipeline_state.rast->base.cull_face == PIPE_FACE_FRONT_AND_BACK)
505 if (ctx->gfx_pipeline_state.prim_type != dinfo->mode) {
506 ctx->gfx_pipeline_state.prim_type = (enum pipe_prim_type)dinfo->mode;
514 if (ctx->gfx_pipeline_state
[all...]
H A Dd3d12_compiler.cpp239 if (!ctx->gfx_pipeline_state.blend->is_dual_src)
331 ctx->gfx_pipeline_state.rast == NULL ||
337 if (((ctx->gfx_pipeline_state.rast->base.fill_front == PIPE_POLYGON_MODE_LINE &&
338 ctx->gfx_pipeline_state.rast->base.cull_face != PIPE_FACE_FRONT) ||
339 (ctx->gfx_pipeline_state.rast->base.fill_back == PIPE_POLYGON_MODE_LINE &&
340 ctx->gfx_pipeline_state.rast->base.cull_face == PIPE_FACE_FRONT)) &&
345 if (ctx->gfx_pipeline_state.rast->base.fill_front == PIPE_POLYGON_MODE_POINT)
365 (ctx->gfx_pipeline_state.rast->base.point_size > 1.0 ||
366 ctx->gfx_pipeline_state.rast->base.offset_point ||
367 (ctx->gfx_pipeline_state
[all...]
H A Dd3d12_pipeline_state.cpp167 DXGI_FORMAT fmt = ctx->gfx_pipeline_state.rtv_formats[index];
169 if (ctx->gfx_pipeline_state.blend->desc.RenderTarget[0].LogicOpEnable &&
170 !ctx->gfx_pipeline_state.has_float_rtv) {
189 struct d3d12_gfx_pipeline_state *state = &ctx->gfx_pipeline_state;
294 uint32_t hash = hash_gfx_pipeline_state(&ctx->gfx_pipeline_state);
296 &ctx->gfx_pipeline_state);
302 data->key = ctx->gfx_pipeline_state;
H A Dd3d12_context.cpp135 ctx->gfx_pipeline_state.ves = (struct d3d12_vertex_elements_state *)ve;
362 struct d3d12_blend_state *old_state = ctx->gfx_pipeline_state.blend;
364 ctx->gfx_pipeline_state.blend = new_state;
449 ctx->gfx_pipeline_state.zsa = (struct d3d12_depth_stencil_alpha_state *) dsa;
548 ctx->gfx_pipeline_state.rast = (struct d3d12_rasterizer_state *)rs_state;
1031 if (ctx->gfx_pipeline_state.stages[stage] == iter) {
1032 ctx->gfx_pipeline_state.stages[stage] = NULL;
1308 ctx->gfx_pipeline_state.num_cbufs = state->nr_cbufs;
1309 ctx->gfx_pipeline_state.has_float_rtv = false;
1313 ctx->gfx_pipeline_state
[all...]
H A Dd3d12_blit.cpp540 util_blitter_save_blend(ctx->blitter, ctx->gfx_pipeline_state.blend);
541 util_blitter_save_depth_stencil_alpha(ctx->blitter, ctx->gfx_pipeline_state.zsa);
542 util_blitter_save_vertex_elements(ctx->blitter, ctx->gfx_pipeline_state.ves);
544 util_blitter_save_rasterizer(ctx->blitter, ctx->gfx_pipeline_state.rast);
560 util_blitter_save_sample_mask(ctx->blitter, ctx->gfx_pipeline_state.sample_mask);
561 util_blitter_save_so_targets(ctx->blitter, ctx->gfx_pipeline_state.num_so_targets, ctx->so_targets);
H A Dd3d12_context.h203 struct d3d12_gfx_pipeline_state gfx_pipeline_state; member in struct:d3d12_context
H A Dd3d12_root_signature.cpp185 struct d3d12_shader *shader = ctx->gfx_pipeline_state.stages[i];
H A Dd3d12_query.cpp436 bool have_xfb = !!ctx->gfx_pipeline_state.num_so_targets;
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D19.3.0.rst943 - zink: pass line width from rast_state to gfx_pipeline_state.
/xsrc/external/mit/MesaLib/dist/
H A D.pick_status.json13603 "description": "Revert \"zink: update gfx_pipeline_state.vertex_strides when necessary\"",
14458 "description": "zink: update gfx_pipeline_state.vertex_strides when necessary",
[all...]

Completed in 304 milliseconds