Home
last modified time | relevance | path

Searched refs:BITFIELD64_BIT (Results 1 – 25 of 78) sorted by relevance

1234

/third_party/mesa3d/src/compiler/
Dshader_enums.h474 #define VARYING_BIT_POS BITFIELD64_BIT(VARYING_SLOT_POS)
475 #define VARYING_BIT_COL0 BITFIELD64_BIT(VARYING_SLOT_COL0)
476 #define VARYING_BIT_COL1 BITFIELD64_BIT(VARYING_SLOT_COL1)
477 #define VARYING_BIT_FOGC BITFIELD64_BIT(VARYING_SLOT_FOGC)
478 #define VARYING_BIT_TEX0 BITFIELD64_BIT(VARYING_SLOT_TEX0)
479 #define VARYING_BIT_TEX1 BITFIELD64_BIT(VARYING_SLOT_TEX1)
480 #define VARYING_BIT_TEX2 BITFIELD64_BIT(VARYING_SLOT_TEX2)
481 #define VARYING_BIT_TEX3 BITFIELD64_BIT(VARYING_SLOT_TEX3)
482 #define VARYING_BIT_TEX4 BITFIELD64_BIT(VARYING_SLOT_TEX4)
483 #define VARYING_BIT_TEX5 BITFIELD64_BIT(VARYING_SLOT_TEX5)
[all …]
/third_party/mesa3d/src/intel/compiler/
Dbrw_vue_map.c82 slots_valid |= BITFIELD64_BIT(VARYING_SLOT_CLIP_DIST0); in brw_compute_vue_map()
83 slots_valid |= BITFIELD64_BIT(VARYING_SLOT_CLIP_DIST1); in brw_compute_vue_map()
149 if (slots_valid & BITFIELD64_BIT(VARYING_SLOT_CLIP_DIST0)) in brw_compute_vue_map()
151 if (slots_valid & BITFIELD64_BIT(VARYING_SLOT_CLIP_DIST1)) in brw_compute_vue_map()
163 if (slots_valid & BITFIELD64_BIT(VARYING_SLOT_COL0)) in brw_compute_vue_map()
165 if (slots_valid & BITFIELD64_BIT(VARYING_SLOT_BFC0)) in brw_compute_vue_map()
167 if (slots_valid & BITFIELD64_BIT(VARYING_SLOT_COL1)) in brw_compute_vue_map()
169 if (slots_valid & BITFIELD64_BIT(VARYING_SLOT_BFC1)) in brw_compute_vue_map()
194 builtins &= ~BITFIELD64_BIT(varying); in brw_compute_vue_map()
205 generics &= ~BITFIELD64_BIT(varying); in brw_compute_vue_map()
[all …]
Dbrw_nir_lower_alpha_to_coverage.c87 if (!(outputs_written & BITFIELD64_BIT(FRAG_RESULT_SAMPLE_MASK)) || in brw_nir_lower_alpha_to_coverage()
88 !(outputs_written & (BITFIELD64_BIT(FRAG_RESULT_COLOR) | in brw_nir_lower_alpha_to_coverage()
89 BITFIELD64_BIT(FRAG_RESULT_DATA0)))) in brw_nir_lower_alpha_to_coverage()
Dbrw_mesh.cpp365 if (BITFIELD64_BIT(VARYING_SLOT_PRIMITIVE_COUNT) & outputs_written) { in brw_compute_mue_map()
367 outputs_written &= ~BITFIELD64_BIT(VARYING_SLOT_PRIMITIVE_COUNT); in brw_compute_mue_map()
369 if (BITFIELD64_BIT(VARYING_SLOT_PRIMITIVE_INDICES) & outputs_written) { in brw_compute_mue_map()
371 outputs_written &= ~BITFIELD64_BIT(VARYING_SLOT_PRIMITIVE_INDICES); in brw_compute_mue_map()
381 (nir->info.outputs_written & (BITFIELD64_BIT(VARYING_SLOT_VIEWPORT) | in brw_compute_mue_map()
382 BITFIELD64_BIT(VARYING_SLOT_CULL_PRIMITIVE) | in brw_compute_mue_map()
383 BITFIELD64_BIT(VARYING_SLOT_PRIMITIVE_SHADING_RATE) | in brw_compute_mue_map()
384 BITFIELD64_BIT(VARYING_SLOT_LAYER))) ? 8 : 0; in brw_compute_mue_map()
Dbrw_fs_visitor.cpp122 assert(BITFIELD64_BIT(location) & ~nir->info.per_primitive_inputs); in interp_reg()
147 assert(BITFIELD64_BIT(location) & nir->info.per_primitive_inputs); in per_primitive_reg()
628 if (nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_DEPTH)) { in emit_single_fb_write()
642 if (nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_STENCIL)) in emit_single_fb_write()
681 if (nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_STENCIL)) { in emit_fb_writes()
Dbrw_clip.h108 return (c->key.attrs & BITFIELD64_BIT(varying)) ? 1 : 0; in brw_clip_have_varying()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_fragcolor.c82 b->shader->info.outputs_written &= ~BITFIELD64_BIT(FRAG_RESULT_COLOR); in lower_fragcolor_instr()
83 b->shader->info.outputs_written |= BITFIELD64_BIT(FRAG_RESULT_DATA0); in lower_fragcolor_instr()
94 b->shader->info.outputs_written |= BITFIELD64_BIT(FRAG_RESULT_DATA0 + i); in lower_fragcolor_instr()
Dnir_gather_info.c115 bitfield = BITFIELD64_BIT(idx - VARYING_SLOT_PATCH0); in set_io_mask()
122 bitfield = BITFIELD64_BIT(idx); in set_io_mask()
546 shader->info.vs.double_inputs |= BITFIELD64_BIT(idx); in gather_intrinsic_info()
656 BITFIELD64_BIT(VARYING_SLOT_COL0 << in gather_intrinsic_info()
Dnir_lower_texcoord_replace.c85 b.shader->info.inputs_read |= BITFIELD64_BIT(VARYING_SLOT_PNTC); in nir_lower_texcoord_replace_impl()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_util.h82 BITFIELD64_BIT(VARYING_SLOT_PSIZ)) { in st_point_size_per_vertex()
103 BITFIELD64_BIT(VARYING_SLOT_PSIZ)); in st_point_size_per_vertex()
Dst_atifs_to_nir.c550 prog->info.outputs_written = BITFIELD64_BIT(FRAG_RESULT_COLOR); in st_init_atifs_prog()
562 … prog->info.inputs_read |= BITFIELD64_BIT(VARYING_SLOT_TEX0 + pass_tex - GL_TEXTURE0_ARB); in st_init_atifs_prog()
569 … prog->info.inputs_read |= BITFIELD64_BIT(VARYING_SLOT_TEX0 + pass_tex - GL_TEXTURE0_ARB); in st_init_atifs_prog()
583 prog->info.inputs_read |= BITFIELD64_BIT(VARYING_SLOT_COL0); in st_init_atifs_prog()
588 prog->info.inputs_read |= BITFIELD64_BIT(VARYING_SLOT_COL1); in st_init_atifs_prog()
596 prog->info.inputs_read |= BITFIELD64_BIT(VARYING_SLOT_FOGC); in st_init_atifs_prog()
Dst_atom_shader.c99 gl_clamp[0] |= BITFIELD64_BIT(unit); in update_gl_clamp()
101 gl_clamp[1] |= BITFIELD64_BIT(unit); in update_gl_clamp()
103 gl_clamp[2] |= BITFIELD64_BIT(unit); in update_gl_clamp()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_validate.c93 if (preloaded & BITFIELD64_BIT(r)) in bi_validate_preload()
96 preloaded |= BITFIELD64_BIT(r); in bi_validate_preload()
Dbi_ra.c320 uint64_t clobber = BITFIELD64_MASK(16) | BITFIELD64_BIT(48); in bi_mark_interference()
442 affinity |= BITFIELD64_BIT(48); in bi_allocate_registers()
443 affinity |= BITFIELD64_BIT(60); in bi_allocate_registers()
447 if (affinity & BITFIELD64_BIT(reg)) { in bi_allocate_registers()
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/
Dpvr_srv_bo.h66 #define PVR_SRV_MEMALLOCFLAG_VAL_SECURE_BUFFER BITFIELD64_BIT(34U)
67 #define PVR_SRV_MEMALLOCFLAG_VAL_SHARED_BUFFER BITFIELD64_BIT(35U)
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_info.c627 (BITFIELD64_BIT(VARYING_SLOT_TESS_LEVEL_INNER) | in si_nir_scan_shader()
628 BITFIELD64_BIT(VARYING_SLOT_TESS_LEVEL_OUTER)); in si_nir_scan_shader()
652 info->writes_z = nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_DEPTH); in si_nir_scan_shader()
653 info->writes_stencil = nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_STENCIL); in si_nir_scan_shader()
654 info->writes_samplemask = nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_SAMPLE_MASK); in si_nir_scan_shader()
657 if (nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_COLOR)) { in si_nir_scan_shader()
Dsi_build_pm4.h257 sctx->tracked_regs.reg_saved |= BITFIELD64_BIT(reg); \
270 sctx->tracked_regs.reg_saved |= BITFIELD64_BIT(reg); \
/third_party/mesa3d/src/panfrost/lib/
Dpan_shader.c246 if (s->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_DEPTH)) in GENX()
248 if (s->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_STENCIL)) in GENX()
250 if (s->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_SAMPLE_MASK)) in GENX()
/third_party/mesa3d/src/amd/vulkan/
Dradv_shader_info.c510 uint64_t special_mask = BITFIELD64_BIT(VARYING_SLOT_PRIMITIVE_COUNT) | in radv_nir_shader_info_pass()
511 BITFIELD64_BIT(VARYING_SLOT_PRIMITIVE_INDICES) | in radv_nir_shader_info_pass()
512 BITFIELD64_BIT(VARYING_SLOT_CULL_PRIMITIVE); in radv_nir_shader_info_pass()
637 info->ps.writes_z = nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_DEPTH); in radv_nir_shader_info_pass()
638 info->ps.writes_stencil = nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_STENCIL); in radv_nir_shader_info_pass()
639 … info->ps.writes_sample_mask = nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_SAMPLE_MASK); in radv_nir_shader_info_pass()
/third_party/mesa3d/src/mesa/vbo/
Dvbo_attrib.h111 BITFIELD64_BIT(VBO_ATTRIB_EDGEFLAG))
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_program.c1122 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_EDGE); in crocus_vs_outputs_written()
1132 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_TEX0 + i); in crocus_vs_outputs_written()
1136 if (outputs_written & BITFIELD64_BIT(VARYING_SLOT_BFC0)) in crocus_vs_outputs_written()
1137 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_COL0); in crocus_vs_outputs_written()
1138 if (outputs_written & BITFIELD64_BIT(VARYING_SLOT_BFC1)) in crocus_vs_outputs_written()
1139 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_COL1); in crocus_vs_outputs_written()
1147 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_CLIP_DIST0); in crocus_vs_outputs_written()
1148 outputs_written |= BITFIELD64_BIT(VARYING_SLOT_CLIP_DIST1); in crocus_vs_outputs_written()
1219 !(nir->info.inputs_read & BITFIELD64_BIT(VERT_ATTRIB_EDGEFLAG))) in crocus_compile_vs()
2265 if (key.attrs & BITFIELD64_BIT(VARYING_SLOT_EDGE)) in crocus_update_compiled_sf()
[all …]
/third_party/mesa3d/src/util/
Dmacros.h381 #define BITFIELD64_BIT(b) (1ull << (b)) macro
384 ((b) == 64 ? (~0ull) : BITFIELD64_BIT(b) - 1)
/third_party/mesa3d/src/compiler/glsl/
Dir_set_program_inouts.cpp105 bitfield = BITFIELD64_BIT(idx - VARYING_SLOT_PATCH0); in mark()
109 bitfield = BITFIELD64_BIT(idx); in mark()
/third_party/mesa3d/src/imagination/rogue/
Drogue_util.h124 #define ROH(OFFSET) BITFIELD64_BIT(OFFSET)
/third_party/mesa3d/src/mesa/program/
Dprogramopt.c111 vprog->info.outputs_written |= BITFIELD64_BIT(VARYING_SLOT_POS); in insert_mvp_dp4_code()
212 vprog->info.outputs_written |= BITFIELD64_BIT(VARYING_SLOT_POS); in insert_mvp_mad_code()

1234