Home
last modified time | relevance | path

Searched refs:fs_key (Results 1 – 13 of 13) sorted by relevance

/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c50 return (c->fs_key->blend.blend_enable || in blend_depends_on_dst_color()
51 c->fs_key->blend.colormask != 0xf || in blend_depends_on_dst_color()
52 c->fs_key->logicop_func != PIPE_LOGICOP_COPY); in blend_depends_on_dst_color()
288 struct pipe_rt_blend_state *blend = &c->fs_key->blend; in vc4_do_blending_f()
335 struct pipe_rt_blend_state *blend = &c->fs_key->blend; in vc4_do_blending_i()
340 enum pipe_format color_format = c->fs_key->color_format; in vc4_do_blending_i()
456 enum pipe_format color_format = c->fs_key->color_format; in vc4_nir_swizzle_and_pack()
476 enum pipe_format color_format = c->fs_key->color_format; in vc4_nir_blend_pipeline()
489 if (c->fs_key->sample_alpha_to_one && c->fs_key->msaa) in vc4_nir_blend_pipeline()
524 packed_color = vc4_logicop(b, c->fs_key->logicop_func, in vc4_nir_blend_pipeline()
[all …]
Dvc4_nir_lower_io.c236 return (c->fs_key->point_sprite_mask & in is_point_sprite()
278 if (!c->fs_key->is_points) in vc4_nir_lower_fs_input()
289 if (c->fs_key->point_coord_upper_left && comp == 1) in vc4_nir_lower_fs_input()
Dvc4_program.c1361 if (c->fs_key->stencil_enabled) { in emit_frag_end()
1364 if (c->fs_key->stencil_twoside) { in emit_frag_end()
1368 if (c->fs_key->stencil_full_writemasks) { in emit_frag_end()
1378 if (c->fs_key->depth_enabled) { in emit_frag_end()
1605 (c->fs_key->point_sprite_mask & in ntq_setup_inputs()
2235 c->fs_key = (struct vc4_fs_key *)key; in vc4_shader_ntq()
2236 if (c->fs_key->is_points) { in vc4_shader_ntq()
2239 } else if (c->fs_key->is_lines) { in vc4_shader_ntq()
2254 if (c->fs_key->alpha_test_func != COMPARE_FUNC_ALWAYS) { in vc4_shader_ntq()
2256 c->fs_key->alpha_test_func, in vc4_shader_ntq()
[all …]
Dvc4_qir.h482 struct vc4_fs_key *fs_key; member
/external/mesa3d/src/amd/vulkan/
Dradv_meta_resolve.c283 unsigned fs_key = radv_format_meta_fs_key(format); in radv_device_init_meta_resolve_state() local
284 res = create_pass(device, format, &state->resolve.pass[fs_key]); in radv_device_init_meta_resolve_state()
290 &state->resolve.pipeline[fs_key], state->resolve.pass[fs_key]); in radv_device_init_meta_resolve_state()
314 unsigned fs_key = radv_format_meta_fs_key(vk_format); in emit_resolve() local
319 device->meta_state.resolve.pipeline[fs_key]); in emit_resolve()
452 unsigned fs_key = radv_format_meta_fs_key(dest_image->vk_format); in radv_CmdResolveImage() local
552 .renderPass = device->meta_state.resolve.pass[fs_key], in radv_CmdResolveImage()
Dradv_meta_resolve_fs.c182 unsigned fs_key = radv_format_meta_fs_key(format); in create_resolve_pipeline() local
194 VkRenderPass *rp = &device->meta_state.resolve_fragment.rc[samples_log2].render_pass[fs_key][0]; in create_resolve_pipeline()
198 VkPipeline *pipeline = &device->meta_state.resolve_fragment.rc[samples_log2].pipeline[fs_key]; in create_resolve_pipeline()
421 unsigned fs_key = radv_format_meta_fs_key(dest_iview->vk_format); in emit_resolve() local
422 VkPipeline pipeline_h = device->meta_state.resolve_fragment.rc[samples_log2].pipeline[fs_key]; in emit_resolve()
457 unsigned fs_key = radv_format_meta_fs_key(dest_image->vk_format); in radv_meta_resolve_fragment_image() local
474 rp = device->meta_state.resolve_fragment.rc[samples_log2].render_pass[fs_key][dst_layout]; in radv_meta_resolve_fragment_image()
Dradv_meta_blit2d.c193 enum blit2d_src_type src_type, unsigned fs_key) in bind_pipeline() argument
196 cmd_buffer->device->meta_state.blit2d.pipelines[src_type][fs_key]; in bind_pipeline()
263 unsigned fs_key = radv_format_meta_fs_key(dst_temps.iview.vk_format); in radv_meta_blit2d_normal_dst() local
269 .renderPass = device->meta_state.blit2d.render_passes[fs_key][dst_layout], in radv_meta_blit2d_normal_dst()
280 bind_pipeline(cmd_buffer, src_type, fs_key); in radv_meta_blit2d_normal_dst()
658 unsigned fs_key = radv_format_meta_fs_key(format); in blit2d_init_color_pipeline() local
708 if (!device->meta_state.blit2d.render_passes[fs_key][dst_layout]) { in blit2d_init_color_pipeline()
740 }, &device->meta_state.alloc, &device->meta_state.blit2d.render_passes[fs_key][dst_layout]); in blit2d_init_color_pipeline()
800 .renderPass = device->meta_state.blit2d.render_passes[fs_key][0], in blit2d_init_color_pipeline()
812 &device->meta_state.blit2d.pipelines[src_type][fs_key]); in blit2d_init_color_pipeline()
Dradv_meta_clear.c342 unsigned fs_key = radv_format_meta_fs_key(iview->vk_format); in emit_color_clear() local
347 if (fs_key == -1) { in emit_color_clear()
352 pipeline = device->meta_state.clear[samples_log2].color_pipelines[fs_key]; in emit_color_clear()
804 unsigned fs_key = radv_format_meta_fs_key(format); in radv_device_init_meta_clear_state() local
805 assert(!state->clear[i].color_pipelines[fs_key]); in radv_device_init_meta_clear_state()
808 &state->clear[i].render_pass[fs_key]); in radv_device_init_meta_clear_state()
812 res = create_color_pipeline(device, samples, 0, &state->clear[i].color_pipelines[fs_key], in radv_device_init_meta_clear_state()
813 state->clear[i].render_pass[fs_key]); in radv_device_init_meta_clear_state()
Dradv_meta_blit.c327 unsigned fs_key = radv_format_meta_fs_key(dest_image->vk_format); in meta_emit_blit() local
333 .renderPass = device->meta_state.blit.render_pass[fs_key][dst_layout], in meta_emit_blit()
344 pipeline = device->meta_state.blit.pipeline_1d_src[fs_key]; in meta_emit_blit()
347 pipeline = device->meta_state.blit.pipeline_2d_src[fs_key]; in meta_emit_blit()
350 pipeline = device->meta_state.blit.pipeline_3d_src[fs_key]; in meta_emit_blit()
/external/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c435 if (c->fs_key->shade_model_flat) { in emit_fragment_varying()
914 for (int rt = 0; rt < c->fs_key->nr_cbufs; rt++) { in emit_frag_end()
955 for (int rt = 0; rt < c->fs_key->nr_cbufs; rt++) { in emit_frag_end()
992 if (c->fs_key->f32_color_rb) { in emit_frag_end()
1005 if (c->fs_key->swap_color_rb & (1 << rt)) { in emit_frag_end()
1010 if (c->fs_key->f32_color_rb & (1 << rt)) { in emit_frag_end()
1288 (c->fs_key->point_sprite_mask & in ntq_setup_inputs()
1851 if (c->fs_key->is_points) { in nir_to_vir()
1854 } else if (c->fs_key->is_lines) { in nir_to_vir()
Dv3d_compiler.h484 struct v3d_fs_key *fs_key; member
Dvir.c750 c->fs_key = key; in v3d_compile_fs()
/external/mesa3d/src/intel/compiler/
Dbrw_fs_nir.cpp639 struct brw_wm_prog_key *fs_key = (struct brw_wm_prog_key *) this->key; in nir_emit_alu() local
904 if (fs_key->high_quality_derivatives) { in nir_emit_alu()
920 if (fs_key->high_quality_derivatives) { in nir_emit_alu()