Home
last modified time | relevance | path

Searched refs:fs_key (Results 1 – 15 of 15) 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.c1843 if (!(c->fs_key->cbufs & (1 << rt)) || !c->output_color_var[rt]) in vir_emit_tlb_color_write()
1858 if (c->fs_key->swap_color_rb & (1 << rt)) in vir_emit_tlb_color_write()
1865 (c->fs_key->f32_color_rb & (1 << rt)); in vir_emit_tlb_color_write()
1875 if (c->fs_key->f32_color_rb & (1 << rt)) { in vir_emit_tlb_color_write()
1900 if (c->fs_key->swap_color_rb & (1 << rt)) { in vir_emit_tlb_color_write()
1905 if (c->fs_key->sample_alpha_to_one) in vir_emit_tlb_color_write()
1953 if (c->fs_key->cbufs & (1 << rt) && c->output_color_var[rt]) in emit_frag_end()
1957 if (c->fs_key->sample_alpha_to_coverage && c->output_color_var[0]) { in emit_frag_end()
1976 !c->fs_key->sample_alpha_to_coverage && in emit_frag_end()
2345 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.c986 if (c->fs_key->int_color_rb & mask) { in v3d_fixup_fs_output_types()
990 } else if (c->fs_key->uint_color_rb & mask) { in v3d_fixup_fs_output_types()
1001 if (c->fs_key->int_color_rb || c->fs_key->uint_color_rb) in v3d_nir_lower_fs_early()
1006 if (c->fs_key->line_smoothing) { in v3d_nir_lower_fs_early()
1524 c->fs_key = (struct v3d_fs_key *) c->key; in v3d_attempt_compile()
Dv3d_compiler.h837 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()
1325 if (c->fs_key->stencil_enabled) { in emit_frag_end()
1328 if (c->fs_key->stencil_twoside) { in emit_frag_end()
1332 if (c->fs_key->stencil_full_writemasks) { in emit_frag_end()
1342 if (c->fs_key->depth_enabled) { in emit_frag_end()
1581 c->fs_key->point_sprite_mask)) { in ntq_setup_inputs()
2221 c->fs_key = (struct vc4_fs_key *)key; in vc4_shader_ntq()
2222 if (c->fs_key->is_points) { in vc4_shader_ntq()
2225 } 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.c218 unsigned fs_key = radv_format_meta_fs_key(device, format); in radv_device_init_meta_resolve_state() local
221 res = create_pipeline(device, vs_module_h, format, &state->resolve.pipeline[fs_key]); in radv_device_init_meta_resolve_state()
239 unsigned fs_key = radv_format_meta_fs_key(device, vk_format); in emit_resolve() local
247 device->meta_state.resolve.pipeline[fs_key]); in emit_resolve()
330 build_resolve_pipeline(struct radv_device *device, unsigned fs_key) in build_resolve_pipeline() argument
334 if (device->meta_state.resolve.pipeline[fs_key]) in build_resolve_pipeline()
338 if (device->meta_state.resolve.pipeline[fs_key]) { in build_resolve_pipeline()
346 result = create_pipeline(device, vs_module_h, radv_fs_key_format_exemplars[fs_key], in build_resolve_pipeline()
347 &device->meta_state.resolve.pipeline[fs_key]); in build_resolve_pipeline()
367 unsigned fs_key = radv_format_meta_fs_key(device, dst_image->vk.format); in radv_meta_resolve_hardware_image() local
[all …]
Dradv_meta_blit2d.c164 bind_pipeline(struct radv_cmd_buffer *cmd_buffer, enum blit2d_src_type src_type, unsigned fs_key, in bind_pipeline() argument
168 cmd_buffer->device->meta_state.blit2d[log2_samples].pipelines[src_type][fs_key]; in bind_pipeline()
241 unsigned fs_key = radv_format_meta_fs_key(device, dst_temps.iview.vk.format); in radv_meta_blit2d_normal_dst() local
243 if (device->meta_state.blit2d[log2_samples].pipelines[src_type][fs_key] == in radv_meta_blit2d_normal_dst()
246 device, src_type, radv_fs_key_format_exemplars[fs_key], log2_samples); in radv_meta_blit2d_normal_dst()
274 bind_pipeline(cmd_buffer, src_type, fs_key, log2_samples); in radv_meta_blit2d_normal_dst()
631 unsigned fs_key = radv_format_meta_fs_key(device, format); in blit2d_init_color_pipeline() local
635 if (device->meta_state.blit2d[log2_samples].pipelines[src_type][fs_key]) { in blit2d_init_color_pipeline()
753 &device->meta_state.blit2d[log2_samples].pipelines[src_type][fs_key]); in blit2d_init_color_pipeline()
Dradv_meta_blit.c267 unsigned fs_key = 0; in meta_emit_blit() local
272 fs_key = radv_format_meta_fs_key(device, dest_image->vk.format); in meta_emit_blit()
273 format = radv_fs_key_format_exemplars[fs_key]; in meta_emit_blit()
277 pipeline = &device->meta_state.blit.pipeline_1d_src[fs_key]; in meta_emit_blit()
280 pipeline = &device->meta_state.blit.pipeline_2d_src[fs_key]; in meta_emit_blit()
283 pipeline = &device->meta_state.blit.pipeline_3d_src[fs_key]; in meta_emit_blit()
Dradv_meta_resolve_fs.c120 unsigned fs_key = radv_format_meta_fs_key(device, format); in create_resolve_pipeline() local
121 VkPipeline *pipeline = &device->meta_state.resolve_fragment.rc[samples_log2].pipeline[fs_key]; in create_resolve_pipeline()
617 unsigned fs_key = radv_format_meta_fs_key(cmd_buffer->device, dst_iview->vk.format); in radv_get_resolve_pipeline() local
622 pipeline = &device->meta_state.resolve_fragment.rc[samples_log2].pipeline[fs_key]; in radv_get_resolve_pipeline()
626 ret = create_resolve_pipeline(device, samples_log2, radv_fs_key_format_exemplars[fs_key]); in radv_get_resolve_pipeline()
Dradv_meta_clear.c323 unsigned fs_key; in emit_color_clear() local
341 fs_key = radv_format_meta_fs_key(device, format); in emit_color_clear()
342 assert(fs_key != -1); in emit_color_clear()
345 .color_pipelines[fs_key] == VK_NULL_HANDLE) { in emit_color_clear()
347 device, samples, clear_att->colorAttachment, radv_fs_key_format_exemplars[fs_key], in emit_color_clear()
349 .color_pipelines[fs_key]); in emit_color_clear()
357 .color_pipelines[fs_key]; in emit_color_clear()
1192 unsigned fs_key = radv_format_meta_fs_key(device, format); in radv_device_init_meta_clear_state() local
1193 assert(!state->color_clear[i][0].color_pipelines[fs_key]); in radv_device_init_meta_clear_state()
1196 &state->color_clear[i][0].color_pipelines[fs_key]); in radv_device_init_meta_clear_state()
/third_party/mesa3d/docs/relnotes/
D17.3.4.rst96 - radv: add fs_key meta format support to resolve passes.