Home
last modified time | relevance | path

Searched refs:FRAG_RESULT_DATA0 (Results 1 – 25 of 87) sorted by relevance

1234

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_fragcolor.c80 out->data.location = FRAG_RESULT_DATA0; in lower_fragcolor_instr()
83 b->shader->info.outputs_written |= BITFIELD64_BIT(FRAG_RESULT_DATA0); in lower_fragcolor_instr()
90 out_color->data.location = FRAG_RESULT_DATA0 + i; in lower_fragcolor_instr()
94 b->shader->info.outputs_written |= BITFIELD64_BIT(FRAG_RESULT_DATA0 + i); in lower_fragcolor_instr()
Dnir_lower_clamp_color_outputs.c52 out->data.location >= FRAG_RESULT_DATA0); in is_color_output()
Dnir_lower_alpha_test.c82 out->data.location != FRAG_RESULT_DATA0) in nir_lower_alpha_test()
Dnir_lower_blend.c339 var->data.location < FRAG_RESULT_DATA0)) in nir_lower_blend_instr()
345 (var->data.location - FRAG_RESULT_DATA0); in nir_lower_blend_instr()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_alpha_to_coverage.c89 BITFIELD64_BIT(FRAG_RESULT_DATA0)))) in brw_nir_lower_alpha_to_coverage()
128 location == FRAG_RESULT_DATA0) { in brw_nir_lower_alpha_to_coverage()
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_from_mesa.c188 if (frag_result >= FRAG_RESULT_DATA0) { in tgsi_get_gl_frag_result_semantic()
190 *semantic_index = frag_result - FRAG_RESULT_DATA0; in tgsi_get_gl_frag_result_semantic()
/third_party/mesa3d/src/mesa/swrast/
Ds_fragprog.c229 if (outputsWritten & BITFIELD64_BIT(FRAG_RESULT_DATA0 + buf)) { in run_program()
231 machine->Outputs[FRAG_RESULT_DATA0 + buf]); in run_program()
/third_party/mesa3d/src/panfrost/lib/
Dpan_shader.c236 info->fs.outputs_read = s->info.outputs_read >> FRAG_RESULT_DATA0; in GENX()
237 info->fs.outputs_written = s->info.outputs_written >> FRAG_RESULT_DATA0; in GENX()
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_signature.c212 case FRAG_RESULT_DATA0: in get_semantic_ps_outname()
221 info->index = var->data.location - FRAG_RESULT_DATA0; in get_semantic_ps_outname()
222 if (var->data.location == FRAG_RESULT_DATA0 && in get_semantic_ps_outname()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_shader.c268 var->data.location < FRAG_RESULT_DATA0)) in panvk_adjust_rt_type()
274 (var->data.location - FRAG_RESULT_DATA0); in panvk_adjust_rt_type()
384 nir_find_variable_with_location(nir, nir_var_shader_out, FRAG_RESULT_DATA0 + rt); in panvk_lower_blend()
/third_party/mesa3d/src/compiler/
Dshader_enums.h848 FRAG_RESULT_DATA0 = 4, enumerator
860 #define FRAG_RESULT_MAX (FRAG_RESULT_DATA0 + MAX_DRAW_BUFFERS)
Dshader_enums.c364 ENUM(FRAG_RESULT_DATA0), in gl_frag_result_name()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_draw_helpers.c170 if (var->data.location < FRAG_RESULT_DATA0 && var->data.location != FRAG_RESULT_COLOR) in nir_lower_aaline_block()
265 if (var->data.location < FRAG_RESULT_DATA0 && var->data.location != FRAG_RESULT_COLOR) in nir_lower_aapoint_block()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c103 semantic = FRAG_RESULT_DATA0; in scan_io_usage()
172 semantic >= FRAG_RESULT_DATA0 && semantic <= FRAG_RESULT_DATA7) { in scan_io_usage()
173 unsigned index = semantic - FRAG_RESULT_DATA0; in scan_io_usage()
466 info->colors_written = nir->info.outputs_written >> FRAG_RESULT_DATA0; in si_nir_scan_shader()
/third_party/mesa3d/src/broadcom/compiler/
Dv3d_nir_lower_logic_ops.c369 (loc < FRAG_RESULT_DATA0 || in v3d_nir_lower_logic_ops_block()
370 loc >= FRAG_RESULT_DATA0 + V3D_MAX_DRAW_BUFFERS)) { in v3d_nir_lower_logic_ops_block()
/third_party/mesa3d/src/compiler/glsl/
Dopt_dead_builtin_varyings.cpp151 if (this->find_frag_outputs && var->data.location == FRAG_RESULT_DATA0 && in visit()
312 FRAG_RESULT_DATA0, "FragData", mode_str, in replace_varyings_visitor()
Dlower_blend_equation_advanced.cpp481 fb->data.location = FRAG_RESULT_DATA0; in lower_blend_equation_advanced()
514 if (var->data.location == FRAG_RESULT_DATA0 || in lower_blend_equation_advanced()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_blit.c40 out->data.location = FRAG_RESULT_DATA0; in agx_build_reload_shader()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_shader_fragment.cpp446 (semantic.location >= FRAG_RESULT_DATA0 && in process_store_output()
532 if ((location >= FRAG_RESULT_DATA0 && in emit_store_output()
940 (semantics.location >= FRAG_RESULT_DATA0 && in emit_export_pixel()
1008 (out_var->data.location >= FRAG_RESULT_DATA0 && in emit_export_pixel()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_nir.c69 deref->var->data.location != FRAG_RESULT_DATA0) in etna_lower_io()
/third_party/mesa3d/src/panfrost/util/
Dpan_lower_writeout.c98 if (var->data.location < FRAG_RESULT_DATA0) in pan_nir_lower_zs_store()
Dpan_lower_framebuffer.c620 if (var->data.location < FRAG_RESULT_DATA0) in pan_lower_framebuffer()
624 unsigned rt = var->data.location - FRAG_RESULT_DATA0; in pan_lower_framebuffer()
/third_party/mesa3d/src/asahi/compiler/
Dagx_compile.c268 assert(loc == FRAG_RESULT_DATA0 && "todo: MRT"); in agx_emit_fragment_out()
269 unsigned rt = (loc - FRAG_RESULT_DATA0); in agx_emit_fragment_out()
296 assert(loc == FRAG_RESULT_DATA0 && "todo: MRT"); in agx_emit_load_tile()
297 unsigned rt = (loc - FRAG_RESULT_DATA0); in agx_emit_load_tile()
/third_party/mesa3d/src/compiler/glsl/tests/
Dbuiltin_variable_test.cpp280 EXPECT_GE(FRAG_RESULT_DATA0, var->data.location); in TEST_F()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_nir_passes.c228 var->data.location >= FRAG_RESULT_DATA0)); in is_color_output()
565 out->data.location = FRAG_RESULT_DATA0; in d3d12_add_missing_dual_src_target()

1234