/third_party/mesa3d/src/broadcom/compiler/ |
D | v3d_nir_lower_logic_ops.c | 196 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 …]
|
D | nir_to_vir.c | 1843 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 …]
|
D | v3d_nir_lower_io.c | 355 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()
|
D | vir.c | 986 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()
|
D | v3d_compiler.h | 837 struct v3d_fs_key *fs_key; member
|
/third_party/mesa3d/src/gallium/drivers/vc4/ |
D | vc4_nir_lower_blend.c | 51 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 …]
|
D | vc4_nir_lower_io.c | 242 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()
|
D | vc4_program.c | 127 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()
|
D | vc4_qir.h | 447 struct vc4_fs_key *fs_key; member
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_meta_resolve.c | 218 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 …]
|
D | radv_meta_blit2d.c | 164 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()
|
D | radv_meta_blit.c | 267 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()
|
D | radv_meta_resolve_fs.c | 120 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()
|
D | radv_meta_clear.c | 323 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/ |
D | 17.3.4.rst | 96 - radv: add fs_key meta format support to resolve passes.
|