Home
last modified time | relevance | path

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

/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_logic_ops.c196 if (c->fs_key->color_fmt[rt].swizzle[0] == 2 && in v3d_get_format_swizzle_for_rt()
197 c->fs_key->color_fmt[rt].format != PIPE_FORMAT_B5G6R5_UNORM) { in v3d_get_format_swizzle_for_rt()
200 return c->fs_key->color_fmt[rt].swizzle; in v3d_get_format_swizzle_for_rt()
208 util_format_get_nr_components(c->fs_key->color_fmt[rt].format); in v3d_nir_get_tlb_color()
237 op_res[i] = v3d_logicop(b, c->fs_key->logicop_func, src, dst); in v3d_emit_logic_op_raw()
246 c->fs_key->color_fmt[rt].format, in v3d_emit_logic_op_raw()
278 v3d_logicop(b, c->fs_key->logicop_func, packed_src, packed_dst); in v3d_emit_logic_op_unorm()
295 if (c->fs_key->color_fmt[rt].format == PIPE_FORMAT_R10G10B10A2_UNORM) { in v3d_nir_emit_logic_op()
301 if (util_format_is_unorm(c->fs_key->color_fmt[rt].format)) { in v3d_nir_emit_logic_op()
327 const int logic_op = c->fs_key->logicop_func; in v3d_nir_lower_logic_op_instr()
[all …]
Dnir_to_vir.c1572 if (!(c->fs_key->cbufs & (1 << rt)) || !c->output_color_var[rt]) in vir_emit_tlb_color_write()
1587 if (c->fs_key->swap_color_rb & (1 << rt)) in vir_emit_tlb_color_write()
1594 (c->fs_key->f32_color_rb & (1 << rt)); in vir_emit_tlb_color_write()
1604 if (c->fs_key->f32_color_rb & (1 << rt)) { in vir_emit_tlb_color_write()
1629 if (c->fs_key->swap_color_rb & (1 << rt)) { in vir_emit_tlb_color_write()
1634 if (c->fs_key->sample_alpha_to_one) in vir_emit_tlb_color_write()
1691 if (c->fs_key->cbufs & (1 << rt) && c->output_color_var[rt]) in emit_frag_end()
1695 if (c->fs_key->sample_alpha_to_coverage && c->output_color_var[0]) { in emit_frag_end()
1724 c->fs_key->sample_alpha_to_coverage || in emit_frag_end()
2040 c->fs_key->point_sprite_mask)) { in program_reads_point_coord()
[all …]
Dv3d_nir_lower_io.c355 c->fs_key->point_sprite_mask)) { in v3d_nir_lower_fragment_input()
363 if (!c->fs_key->is_points) in v3d_nir_lower_fragment_input()
373 if (c->fs_key->point_coord_upper_left && comp == 1) in v3d_nir_lower_fragment_input()
Dvir.c962 if (c->fs_key->int_color_rb & mask) { in v3d_fixup_fs_output_types()
966 } else if (c->fs_key->uint_color_rb & mask) { in v3d_fixup_fs_output_types()
977 if (c->fs_key->int_color_rb || c->fs_key->uint_color_rb) in v3d_nir_lower_fs_early()
982 if (c->fs_key->line_smoothing) { in v3d_nir_lower_fs_early()
1448 c->fs_key = (struct v3d_fs_key *) c->key; in v3d_attempt_compile()
Dv3d_compiler.h789 struct v3d_fs_key *fs_key; member
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_nir_lower_blend.c51 return (c->fs_key->blend.blend_enable || in blend_depends_on_dst_color()
52 c->fs_key->blend.colormask != 0xf || in blend_depends_on_dst_color()
53 c->fs_key->logicop_func != PIPE_LOGICOP_COPY); in blend_depends_on_dst_color()
251 struct pipe_rt_blend_state *blend = &c->fs_key->blend; in vc4_do_blending_f()
298 struct pipe_rt_blend_state *blend = &c->fs_key->blend; in vc4_do_blending_i()
303 enum pipe_format color_format = c->fs_key->color_format; in vc4_do_blending_i()
419 enum pipe_format color_format = c->fs_key->color_format; in vc4_nir_swizzle_and_pack()
439 enum pipe_format color_format = c->fs_key->color_format; in vc4_nir_blend_pipeline()
452 if (c->fs_key->sample_alpha_to_one && c->fs_key->msaa) in vc4_nir_blend_pipeline()
487 packed_color = vc4_logicop(b, c->fs_key->logicop_func, in vc4_nir_blend_pipeline()
[all …]
Dvc4_nir_lower_io.c242 c->fs_key->point_sprite_mask)) { in vc4_nir_lower_fs_input()
254 if (!c->fs_key->is_points) in vc4_nir_lower_fs_input()
265 if (c->fs_key->point_coord_upper_left && comp == 1) in vc4_nir_lower_fs_input()
Dvc4_program.c127 qir_uniform_ui(c, c->fs_key->ubo_1_size - 4)); in vc4_ubo_load()
1342 if (c->fs_key->stencil_enabled) { in emit_frag_end()
1345 if (c->fs_key->stencil_twoside) { in emit_frag_end()
1349 if (c->fs_key->stencil_full_writemasks) { in emit_frag_end()
1359 if (c->fs_key->depth_enabled) { in emit_frag_end()
1598 c->fs_key->point_sprite_mask)) { in ntq_setup_inputs()
2238 c->fs_key = (struct vc4_fs_key *)key; in vc4_shader_ntq()
2239 if (c->fs_key->is_points) { in vc4_shader_ntq()
2242 } else if (c->fs_key->is_lines) { in vc4_shader_ntq()
Dvc4_qir.h447 struct vc4_fs_key *fs_key; member
/third_party/mesa3d/src/amd/vulkan/
Dradv_meta_resolve.c292 unsigned fs_key = radv_format_meta_fs_key(device, format); in radv_device_init_meta_resolve_state() local
293 res = create_pass(device, format, &state->resolve.pass[fs_key]); in radv_device_init_meta_resolve_state()
298 res = create_pipeline(device, vs_module_h, &state->resolve.pipeline[fs_key], in radv_device_init_meta_resolve_state()
299 state->resolve.pass[fs_key]); in radv_device_init_meta_resolve_state()
322 unsigned fs_key = radv_format_meta_fs_key(device, vk_format); in emit_resolve() local
330 device->meta_state.resolve.pipeline[fs_key]); in emit_resolve()
413 build_resolve_pipeline(struct radv_device *device, unsigned fs_key) in build_resolve_pipeline() argument
417 if (device->meta_state.resolve.pipeline[fs_key]) in build_resolve_pipeline()
421 if (device->meta_state.resolve.pipeline[fs_key]) { in build_resolve_pipeline()
428 result = create_pass(device, radv_fs_key_format_exemplars[fs_key], in build_resolve_pipeline()
[all …]
Dradv_meta_blit2d.c186 bind_pipeline(struct radv_cmd_buffer *cmd_buffer, enum blit2d_src_type src_type, unsigned fs_key, in bind_pipeline() argument
190 cmd_buffer->device->meta_state.blit2d[log2_samples].pipelines[src_type][fs_key]; in bind_pipeline()
264 unsigned fs_key = radv_format_meta_fs_key(device, dst_temps.iview.vk_format); in radv_meta_blit2d_normal_dst() local
267 if (device->meta_state.blit2d[log2_samples].pipelines[src_type][fs_key] == in radv_meta_blit2d_normal_dst()
270 device, src_type, radv_fs_key_format_exemplars[fs_key], log2_samples); in radv_meta_blit2d_normal_dst()
281 .renderPass = device->meta_state.blit2d_render_passes[fs_key][dst_layout], in radv_meta_blit2d_normal_dst()
300 bind_pipeline(cmd_buffer, src_type, fs_key, log2_samples); in radv_meta_blit2d_normal_dst()
675 unsigned fs_key = radv_format_meta_fs_key(device, format); in blit2d_init_color_pipeline() local
679 if (device->meta_state.blit2d[log2_samples].pipelines[src_type][fs_key]) { in blit2d_init_color_pipeline()
724 if (!device->meta_state.blit2d_render_passes[fs_key][dst_layout]) { in blit2d_init_color_pipeline()
[all …]
Dradv_meta_blit.c35 enum glsl_sampler_dim tex_dim, unsigned fs_key,
282 unsigned fs_key = 0; in meta_emit_blit() local
286 fs_key = radv_format_meta_fs_key(device, dest_image->vk_format); in meta_emit_blit()
292 .renderPass = device->meta_state.blit.render_pass[fs_key][dst_layout], in meta_emit_blit()
305 pipeline = &device->meta_state.blit.pipeline_1d_src[fs_key]; in meta_emit_blit()
308 pipeline = &device->meta_state.blit.pipeline_2d_src[fs_key]; in meta_emit_blit()
311 pipeline = &device->meta_state.blit.pipeline_3d_src[fs_key]; in meta_emit_blit()
390 translate_sampler_dim(src_image->type), fs_key, pipeline); in meta_emit_blit()
691 enum glsl_sampler_dim tex_dim, unsigned fs_key, VkPipeline *pipeline) in build_pipeline() argument
709 rp = device->meta_state.blit.render_pass[fs_key][0]; in build_pipeline()
Dradv_meta_resolve_fs.c134 unsigned fs_key = radv_format_meta_fs_key(device, format); in create_resolve_pipeline() local
135 VkPipeline *pipeline = &device->meta_state.resolve_fragment.rc[samples_log2].pipeline[fs_key]; in create_resolve_pipeline()
152 VkRenderPass *rp = &device->meta_state.resolve_fragment.rc[samples_log2].render_pass[fs_key][0]; in create_resolve_pipeline()
760 unsigned fs_key = radv_format_meta_fs_key(cmd_buffer->device, dst_iview->vk_format); in radv_get_resolve_pipeline() local
765 pipeline = &device->meta_state.resolve_fragment.rc[samples_log2].pipeline[fs_key]; in radv_get_resolve_pipeline()
769 ret = create_resolve_pipeline(device, samples_log2, radv_fs_key_format_exemplars[fs_key]); in radv_get_resolve_pipeline()
940 unsigned fs_key = radv_format_meta_fs_key(cmd_buffer->device, dest_image->vk_format); in radv_meta_resolve_fragment_image() local
946 if (!device->meta_state.resolve_fragment.rc[samples_log2].render_pass[fs_key][dst_layout]) { in radv_meta_resolve_fragment_image()
948 create_resolve_pipeline(device, samples_log2, radv_fs_key_format_exemplars[fs_key]); in radv_meta_resolve_fragment_image()
955 rp = device->meta_state.resolve_fragment.rc[samples_log2].render_pass[fs_key][dst_layout]; in radv_meta_resolve_fragment_image()
Dradv_meta_clear.c385 unsigned fs_key; in emit_color_clear() local
403 fs_key = radv_format_meta_fs_key(device, format); in emit_color_clear()
404 assert(fs_key != -1); in emit_color_clear()
406 if (device->meta_state.clear[samples_log2].render_pass[fs_key] == VK_NULL_HANDLE) { in emit_color_clear()
408 create_color_renderpass(device, radv_fs_key_format_exemplars[fs_key], samples, in emit_color_clear()
409 &device->meta_state.clear[samples_log2].render_pass[fs_key]); in emit_color_clear()
416 if (device->meta_state.clear[samples_log2].color_pipelines[fs_key] == VK_NULL_HANDLE) { in emit_color_clear()
418 device, samples, 0, &device->meta_state.clear[samples_log2].color_pipelines[fs_key], in emit_color_clear()
419 device->meta_state.clear[samples_log2].render_pass[fs_key]); in emit_color_clear()
426 pipeline = device->meta_state.clear[samples_log2].color_pipelines[fs_key]; in emit_color_clear()
[all …]
/third_party/mesa3d/docs/relnotes/
D17.3.4.rst96 - radv: add fs_key meta format support to resolve passes.
/third_party/mesa3d/src/intel/compiler/
Dbrw_fs_nir.cpp960 struct brw_wm_prog_key *fs_key = (struct brw_wm_prog_key *) this->key; in nir_emit_alu() local
1218 if (fs_key->high_quality_derivatives) { in nir_emit_alu()
1231 if (fs_key->high_quality_derivatives) { in nir_emit_alu()