Home
last modified time | relevance | path

Searched refs:gfx_pipeline_state (Results 1 – 17 of 17) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_draw.cpp190 ptr[2] = fui(ctx->gfx_pipeline_state.rast->base.point_size); in fill_state_vars()
305 if (ctx->gfx_pipeline_state.num_so_targets && in validate_stream_output_targets()
306 ctx->gfx_pipeline_state.stages[PIPE_SHADER_GEOMETRY]) in validate_stream_output_targets()
307 factor = ctx->gfx_pipeline_state.stages[PIPE_SHADER_GEOMETRY]->key.gs.stream_output_factor; in validate_stream_output_targets()
474 util_primconvert_save_rasterizer_state(ctx->primconvert, &ctx->gfx_pipeline_state.rast->base); in d3d12_draw_vbo()
488 struct d3d12_rasterizer_state *rast = ctx->gfx_pipeline_state.rast; in d3d12_draw_vbo()
502 ctx->gfx_pipeline_state.rast->base.cull_face == PIPE_FACE_FRONT_AND_BACK) in d3d12_draw_vbo()
505 if (ctx->gfx_pipeline_state.prim_type != dinfo->mode) { in d3d12_draw_vbo()
506 ctx->gfx_pipeline_state.prim_type = (enum pipe_prim_type)dinfo->mode; in d3d12_draw_vbo()
514 if (ctx->gfx_pipeline_state.stages[i] != shader) { in d3d12_draw_vbo()
[all …]
Dd3d12_compiler.cpp239 if (!ctx->gfx_pipeline_state.blend->is_dual_src) in missing_dual_src_outputs()
331 ctx->gfx_pipeline_state.rast == NULL || in fill_mode_lowered()
337 if (((ctx->gfx_pipeline_state.rast->base.fill_front == PIPE_POLYGON_MODE_LINE && in fill_mode_lowered()
338 ctx->gfx_pipeline_state.rast->base.cull_face != PIPE_FACE_FRONT) || in fill_mode_lowered()
339 (ctx->gfx_pipeline_state.rast->base.fill_back == PIPE_POLYGON_MODE_LINE && in fill_mode_lowered()
340 ctx->gfx_pipeline_state.rast->base.cull_face == PIPE_FACE_FRONT)) && in fill_mode_lowered()
345 if (ctx->gfx_pipeline_state.rast->base.fill_front == PIPE_POLYGON_MODE_POINT) in fill_mode_lowered()
365 (ctx->gfx_pipeline_state.rast->base.point_size > 1.0 || in needs_point_sprite_lowering()
366 ctx->gfx_pipeline_state.rast->base.offset_point || in needs_point_sprite_lowering()
367 (ctx->gfx_pipeline_state.rast->base.point_size_per_vertex && in needs_point_sprite_lowering()
[all …]
Dd3d12_pipeline_state.cpp167 DXGI_FORMAT fmt = ctx->gfx_pipeline_state.rtv_formats[index]; in d3d12_rtv_format()
169 if (ctx->gfx_pipeline_state.blend->desc.RenderTarget[0].LogicOpEnable && in d3d12_rtv_format()
170 !ctx->gfx_pipeline_state.has_float_rtv) { in d3d12_rtv_format()
189 struct d3d12_gfx_pipeline_state *state = &ctx->gfx_pipeline_state; in create_gfx_pipeline_state()
294 uint32_t hash = hash_gfx_pipeline_state(&ctx->gfx_pipeline_state); in d3d12_get_gfx_pipeline_state()
296 &ctx->gfx_pipeline_state); in d3d12_get_gfx_pipeline_state()
302 data->key = ctx->gfx_pipeline_state; in d3d12_get_gfx_pipeline_state()
Dd3d12_context.cpp135 ctx->gfx_pipeline_state.ves = (struct d3d12_vertex_elements_state *)ve; in d3d12_bind_vertex_elements_state()
362 struct d3d12_blend_state *old_state = ctx->gfx_pipeline_state.blend; in d3d12_bind_blend_state()
364 ctx->gfx_pipeline_state.blend = new_state; in d3d12_bind_blend_state()
449 ctx->gfx_pipeline_state.zsa = (struct d3d12_depth_stencil_alpha_state *) dsa; in d3d12_bind_depth_stencil_alpha_state()
548 ctx->gfx_pipeline_state.rast = (struct d3d12_rasterizer_state *)rs_state; in d3d12_bind_rasterizer_state()
1031 if (ctx->gfx_pipeline_state.stages[stage] == iter) { in delete_shader()
1032 ctx->gfx_pipeline_state.stages[stage] = NULL; in delete_shader()
1308 ctx->gfx_pipeline_state.num_cbufs = state->nr_cbufs; in d3d12_set_framebuffer_state()
1309 ctx->gfx_pipeline_state.has_float_rtv = false; in d3d12_set_framebuffer_state()
1313 ctx->gfx_pipeline_state.has_float_rtv = true; in d3d12_set_framebuffer_state()
[all …]
Dd3d12_blit.cpp540 util_blitter_save_blend(ctx->blitter, ctx->gfx_pipeline_state.blend); in util_blit_save_state()
541 util_blitter_save_depth_stencil_alpha(ctx->blitter, ctx->gfx_pipeline_state.zsa); in util_blit_save_state()
542 util_blitter_save_vertex_elements(ctx->blitter, ctx->gfx_pipeline_state.ves); in util_blit_save_state()
544 util_blitter_save_rasterizer(ctx->blitter, ctx->gfx_pipeline_state.rast); in util_blit_save_state()
560 util_blitter_save_sample_mask(ctx->blitter, ctx->gfx_pipeline_state.sample_mask); in util_blit_save_state()
561 …util_blitter_save_so_targets(ctx->blitter, ctx->gfx_pipeline_state.num_so_targets, ctx->so_targets… in util_blit_save_state()
Dd3d12_context.h203 struct d3d12_gfx_pipeline_state gfx_pipeline_state; member
Dd3d12_root_signature.cpp185 struct d3d12_shader *shader = ctx->gfx_pipeline_state.stages[i]; in fill_key()
Dd3d12_query.cpp436 bool have_xfb = !!ctx->gfx_pipeline_state.num_so_targets; in d3d12_validate_queries()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_program.h291 return (struct zink_fs_key *)&ctx->gfx_pipeline_state.shader_keys.key[PIPE_SHADER_FRAGMENT]; in zink_set_fs_key()
297 … return (const struct zink_fs_key *)&ctx->gfx_pipeline_state.shader_keys.key[PIPE_SHADER_FRAGMENT]; in zink_get_fs_key()
307 return (struct zink_vs_key *)&ctx->gfx_pipeline_state.shader_keys.key[PIPE_SHADER_VERTEX]; in zink_set_vs_key()
313 return (const struct zink_vs_key *)&ctx->gfx_pipeline_state.shader_keys.key[PIPE_SHADER_VERTEX]; in zink_get_vs_key()
320 return (struct zink_vs_key_base *)&ctx->gfx_pipeline_state.shader_keys.last_vertex; in zink_set_last_vertex_key()
326 return (const struct zink_vs_key_base *)&ctx->gfx_pipeline_state.shader_keys.last_vertex; in zink_get_last_vertex_key()
333 bool disable = !ctx->gfx_pipeline_state.has_points || !ctx->rast_state->base.sprite_coord_enable; in zink_set_fs_point_coord_key()
Dzink_draw.cpp180 memcpy(&ctx->gfx_pipeline_state.shader_keys.key[pstage].key.vs_base, in update_gfx_program()
181 &ctx->gfx_pipeline_state.shader_keys.last_vertex.key.vs_base, in update_gfx_program()
195 ctx->gfx_pipeline_state.modules[stage] = prog->modules[stage]->shader; in update_gfx_program()
198 …prog = zink_create_gfx_program(ctx, ctx->gfx_stages, ctx->gfx_pipeline_state.vertices_per_patch + … in update_gfx_program()
205 ctx->gfx_pipeline_state.final_hash ^= ctx->curr_program->last_variant_hash; in update_gfx_program()
207 ctx->gfx_pipeline_state.final_hash ^= ctx->curr_program->last_variant_hash; in update_gfx_program()
211 ctx->gfx_pipeline_state.final_hash ^= ctx->curr_program->last_variant_hash; in update_gfx_program()
214 ctx->gfx_pipeline_state.final_hash ^= ctx->curr_program->last_variant_hash; in update_gfx_program()
418 VkPipeline prev_pipeline = ctx->gfx_pipeline_state.pipeline; in update_gfx_pipeline()
420 …VkPipeline pipeline = zink_get_gfx_pipeline(ctx, ctx->curr_program, &ctx->gfx_pipeline_state, mode… in update_gfx_pipeline()
[all …]
Dzink_context.c953 uint32_t enabled_buffers = ctx->gfx_pipeline_state.vertex_buffers_enabled_mask; in zink_set_vertex_buffers()
995 ctx->gfx_pipeline_state.vertex_buffers_enabled_mask = enabled_buffers; in zink_set_vertex_buffers()
1016 if (ctx->gfx_pipeline_state.dyn_state1.num_viewports != ctx->vp_state.num_viewports) in zink_set_viewport_states()
1017 ctx->gfx_pipeline_state.dirty = true; in zink_set_viewport_states()
1018 ctx->gfx_pipeline_state.dyn_state1.num_viewports = ctx->vp_state.num_viewports; in zink_set_viewport_states()
1048 key = &ctx->gfx_pipeline_state.shader_keys.key[shader]; in zink_set_inlinable_constants()
1082 struct zink_shader_key *key = &ctx->gfx_pipeline_state.shader_keys.key[pstage]; in invalidate_inlined_uniforms()
1830 ctx->gfx_pipeline_state.patch_vertices = patch_vertices; in zink_set_patch_vertices()
2014 struct zink_render_pass *rp = ctx->gfx_pipeline_state.render_pass; in setup_framebuffer()
2016 if (ctx->gfx_pipeline_state.sample_locations_enabled && ctx->sample_locations_changed) { in setup_framebuffer()
[all …]
Dzink_state.c175 struct zink_gfx_pipeline_state *state = &ctx->gfx_pipeline_state; in zink_bind_vertex_elements_state()
411 struct zink_gfx_pipeline_state* state = &zink_context(pctx)->gfx_pipeline_state; in zink_bind_blend_state()
523 struct zink_gfx_pipeline_state *state = &ctx->gfx_pipeline_state; in zink_bind_depth_stencil_alpha_state()
690 ctx->gfx_pipeline_state.rast_state = rast_bits & BITFIELD_MASK(ZINK_RAST_HW_STATE_SIZE); in zink_bind_rasterizer_state()
692 ctx->gfx_pipeline_state.dirty = true; in zink_bind_rasterizer_state()
700 if (ctx->gfx_pipeline_state.dyn_state1.front_face != ctx->rast_state->front_face) { in zink_bind_rasterizer_state()
701 ctx->gfx_pipeline_state.dyn_state1.front_face = ctx->rast_state->front_face; in zink_bind_rasterizer_state()
702 … ctx->gfx_pipeline_state.dirty |= !zink_screen(pctx->screen)->info.have_EXT_extended_dynamic_state; in zink_bind_rasterizer_state()
Dzink_program.c244 …tx->base.screen), prog, ctx->dirty_shader_stages & prog->stages_present, &ctx->gfx_pipeline_state); in zink_update_gfx_program()
795 ctx->gfx_pipeline_state.modules_changed = true; in bind_stage()
800 ctx->gfx_pipeline_state.modules[stage] = VK_NULL_HANDLE; in bind_stage()
802 ctx->gfx_pipeline_state.final_hash ^= ctx->curr_program->last_variant_hash; in bind_stage()
822 …memset(&ctx->gfx_pipeline_state.shader_keys.key[old].key.vs_base, 0, sizeof(struct zink_vs_key_bas… in bind_last_vertex_stage()
902 ctx->gfx_pipeline_state.has_points++; in zink_bind_gs_state()
905 ctx->gfx_pipeline_state.has_points--; in zink_bind_gs_state()
Dzink_blit.c329 util_blitter_save_blend(ctx->blitter, ctx->gfx_pipeline_state.blend_state); in zink_blit_begin()
332 util_blitter_save_sample_mask(ctx->blitter, ctx->gfx_pipeline_state.sample_mask); in zink_blit_begin()
Dzink_context.h233 struct zink_gfx_pipeline_state gfx_pipeline_state; member
Dzink_framebuffer.c151 psurf = ctx->dummy_surface[util_logbase2_ceil(ctx->gfx_pipeline_state.rast_samples+1)]; in zink_get_framebuffer_imageless()
/third_party/mesa3d/docs/relnotes/
D19.3.0.rst943 - zink: pass line width from rast_state to gfx_pipeline_state.