Home
last modified time | relevance | path

Searched refs:BITFIELD_BIT (Results 1 – 25 of 61) sorted by relevance

123

/third_party/mesa3d/src/freedreno/ir3/
Dir3_compiler.h188 IR3_DBG_SHADER_VS = BITFIELD_BIT(0),
189 IR3_DBG_SHADER_TCS = BITFIELD_BIT(1),
190 IR3_DBG_SHADER_TES = BITFIELD_BIT(2),
191 IR3_DBG_SHADER_GS = BITFIELD_BIT(3),
192 IR3_DBG_SHADER_FS = BITFIELD_BIT(4),
193 IR3_DBG_SHADER_CS = BITFIELD_BIT(5),
194 IR3_DBG_DISASM = BITFIELD_BIT(6),
195 IR3_DBG_OPTMSGS = BITFIELD_BIT(7),
196 IR3_DBG_FORCES2EN = BITFIELD_BIT(8),
197 IR3_DBG_NOUBOOPT = BITFIELD_BIT(9),
[all …]
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_util.h70 FD_DBG_MSGS = BITFIELD_BIT(0),
71 FD_DBG_DISASM = BITFIELD_BIT(1),
72 FD_DBG_DCLEAR = BITFIELD_BIT(2),
73 FD_DBG_DDRAW = BITFIELD_BIT(3),
74 FD_DBG_NOSCIS = BITFIELD_BIT(4),
75 FD_DBG_DIRECT = BITFIELD_BIT(5),
76 FD_DBG_NOBYPASS = BITFIELD_BIT(6),
77 FD_DBG_PERF = BITFIELD_BIT(7),
78 FD_DBG_NOBIN = BITFIELD_BIT(8),
79 FD_DBG_NOGMEM = BITFIELD_BIT(9),
[all …]
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_screen.h59 SP_DBG_VS = BITFIELD_BIT(0),
62 SP_DBG_GS = BITFIELD_BIT(3),
63 SP_DBG_FS = BITFIELD_BIT(4),
64 SP_DBG_CS = BITFIELD_BIT(5),
65 SP_DBG_USE_LLVM = BITFIELD_BIT(6),
66 SP_DBG_NO_RAST = BITFIELD_BIT(7),
67 SP_DBG_USE_TGSI = BITFIELD_BIT(8),
/third_party/mesa3d/src/mesa/state_tracker/
Dst_debug.h37 #define DEBUG_MESA BITFIELD_BIT(0)
38 #define DEBUG_PRINT_IR BITFIELD_BIT(1)
39 #define DEBUG_FALLBACK BITFIELD_BIT(2)
40 #define DEBUG_BUFFER BITFIELD_BIT(3)
41 #define DEBUG_WIREFRAME BITFIELD_BIT(4)
42 #define DEBUG_GREMEDY BITFIELD_BIT(5)
43 #define DEBUG_NOREADPIXCACHE BITFIELD_BIT(6)
Dst_atom_array.c121 dual_slot_inputs & BITFIELD_BIT(attr), in setup_arrays()
163 dual_slot_inputs & BITFIELD_BIT(attr), in setup_arrays()
224 0, bufidx, dual_slot_inputs & BITFIELD_BIT(attr), in st_setup_current()
274 bufidx, dual_slot_inputs & BITFIELD_BIT(attr), in st_setup_current_user()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_context.h65 PAN_DIRTY_VIEWPORT = BITFIELD_BIT(0),
66 PAN_DIRTY_SCISSOR = BITFIELD_BIT(1),
67 PAN_DIRTY_VERTEX = BITFIELD_BIT(2),
68 PAN_DIRTY_PARAMS = BITFIELD_BIT(3),
69 PAN_DIRTY_DRAWID = BITFIELD_BIT(4),
70 PAN_DIRTY_TLS_SIZE = BITFIELD_BIT(5),
74 PAN_DIRTY_STAGE_RENDERER = BITFIELD_BIT(0),
75 PAN_DIRTY_STAGE_TEXTURE = BITFIELD_BIT(1),
76 PAN_DIRTY_STAGE_SAMPLER = BITFIELD_BIT(2),
77 PAN_DIRTY_STAGE_IMAGE = BITFIELD_BIT(3),
[all …]
/third_party/mesa3d/src/compiler/
Dshader_enums.h221 #define VERT_BIT_POS BITFIELD_BIT(VERT_ATTRIB_POS)
222 #define VERT_BIT_NORMAL BITFIELD_BIT(VERT_ATTRIB_NORMAL)
223 #define VERT_BIT_COLOR0 BITFIELD_BIT(VERT_ATTRIB_COLOR0)
224 #define VERT_BIT_COLOR1 BITFIELD_BIT(VERT_ATTRIB_COLOR1)
225 #define VERT_BIT_FOG BITFIELD_BIT(VERT_ATTRIB_FOG)
226 #define VERT_BIT_COLOR_INDEX BITFIELD_BIT(VERT_ATTRIB_COLOR_INDEX)
227 #define VERT_BIT_TEX0 BITFIELD_BIT(VERT_ATTRIB_TEX0)
228 #define VERT_BIT_TEX1 BITFIELD_BIT(VERT_ATTRIB_TEX1)
229 #define VERT_BIT_TEX2 BITFIELD_BIT(VERT_ATTRIB_TEX2)
230 #define VERT_BIT_TEX3 BITFIELD_BIT(VERT_ATTRIB_TEX3)
[all …]
/third_party/mesa3d/src/gallium/drivers/v3d/
Dv3d_screen.c844 screen->prim_types = BITFIELD_BIT(PIPE_PRIM_POINTS) | in v3d_screen_create()
845 BITFIELD_BIT(PIPE_PRIM_LINES) | in v3d_screen_create()
846 BITFIELD_BIT(PIPE_PRIM_LINE_LOOP) | in v3d_screen_create()
847 BITFIELD_BIT(PIPE_PRIM_LINE_STRIP) | in v3d_screen_create()
848 BITFIELD_BIT(PIPE_PRIM_TRIANGLES) | in v3d_screen_create()
849 BITFIELD_BIT(PIPE_PRIM_TRIANGLE_STRIP) | in v3d_screen_create()
850 BITFIELD_BIT(PIPE_PRIM_TRIANGLE_FAN) | in v3d_screen_create()
851 BITFIELD_BIT(PIPE_PRIM_LINES_ADJACENCY) | in v3d_screen_create()
852 BITFIELD_BIT(PIPE_PRIM_LINE_STRIP_ADJACENCY) | in v3d_screen_create()
853 BITFIELD_BIT(PIPE_PRIM_TRIANGLES_ADJACENCY) | in v3d_screen_create()
[all …]
/third_party/mesa3d/src/asahi/lib/
Dagx_device.h37 AGX_DBG_TRACE = BITFIELD_BIT(0),
38 AGX_DBG_DEQP = BITFIELD_BIT(1),
39 AGX_DBG_NO16 = BITFIELD_BIT(2),
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_screen.c613 screen->prim_types = BITFIELD_BIT(PIPE_PRIM_POINTS) | in vc4_screen_create()
614 BITFIELD_BIT(PIPE_PRIM_LINES) | in vc4_screen_create()
615 BITFIELD_BIT(PIPE_PRIM_LINE_LOOP) | in vc4_screen_create()
616 BITFIELD_BIT(PIPE_PRIM_LINE_STRIP) | in vc4_screen_create()
617 BITFIELD_BIT(PIPE_PRIM_TRIANGLES) | in vc4_screen_create()
618 BITFIELD_BIT(PIPE_PRIM_TRIANGLE_STRIP) | in vc4_screen_create()
619 BITFIELD_BIT(PIPE_PRIM_TRIANGLE_FAN); in vc4_screen_create()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_clear.c804 zstex->depth_cleared_level_mask_once |= BITFIELD_BIT(level); in si_fast_clear()
805 zstex->depth_cleared_level_mask |= BITFIELD_BIT(level); in si_fast_clear()
814 zstex->depth_cleared_level_mask_once |= BITFIELD_BIT(level); in si_fast_clear()
815 zstex->depth_cleared_level_mask |= BITFIELD_BIT(level); in si_fast_clear()
816 zstex->stencil_cleared_level_mask |= BITFIELD_BIT(level); in si_fast_clear()
881 zstex->depth_cleared_level_mask_once |= BITFIELD_BIT(level); in si_fast_clear()
882 zstex->depth_cleared_level_mask |= BITFIELD_BIT(level); in si_fast_clear()
895 zstex->depth_cleared_level_mask_once |= BITFIELD_BIT(level); in si_fast_clear()
896 zstex->depth_cleared_level_mask |= BITFIELD_BIT(level); in si_fast_clear()
897 zstex->stencil_cleared_level_mask |= BITFIELD_BIT(level); in si_fast_clear()
[all …]
Dsi_pm4.c108 sctx->dirty_states &= ~BITFIELD_BIT(idx); in si_pm4_free_state()
154 sctx->dirty_states |= BITFIELD_BIT(i); in si_pm4_reset_emitted()
/third_party/mesa3d/src/gallium/drivers/asahi/
Dagx_state.h140 AGX_DIRTY_VERTEX = BITFIELD_BIT(0),
141 AGX_DIRTY_VIEWPORT = BITFIELD_BIT(1),
142 AGX_DIRTY_SCISSOR = BITFIELD_BIT(2),
/third_party/mesa3d/src/asahi/compiler/
Dagx_compiler.h37 AGX_DBG_MSGS = BITFIELD_BIT(0),
38 AGX_DBG_SHADERS = BITFIELD_BIT(1),
39 AGX_DBG_SHADERDB = BITFIELD_BIT(2),
40 AGX_DBG_VERBOSE = BITFIELD_BIT(3),
41 AGX_DBG_INTERNAL = BITFIELD_BIT(4),
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_state.c85 size32 |= BITFIELD_BIT(i); in zink_create_vertex_elements_state()
87 size16 |= BITFIELD_BIT(i); in zink_create_vertex_elements_state()
89 size8 |= BITFIELD_BIT(i); in zink_create_vertex_elements_state()
99 ves->decomposed_attrs |= BITFIELD_BIT(i); in zink_create_vertex_elements_state()
102 ves->decomposed_attrs_without_w |= BITFIELD_BIT(i); in zink_create_vertex_elements_state()
127 if (size32 & BITFIELD_BIT(i)) in zink_create_vertex_elements_state()
129 else if (size16 & BITFIELD_BIT(i)) in zink_create_vertex_elements_state()
Dzink_screen.c310 uint32_t modes = BITFIELD_BIT(PIPE_PRIM_LINE_STRIP) | in zink_get_param()
311 BITFIELD_BIT(PIPE_PRIM_TRIANGLE_STRIP) | in zink_get_param()
312 BITFIELD_BIT(PIPE_PRIM_LINE_STRIP_ADJACENCY) | in zink_get_param()
313 BITFIELD_BIT(PIPE_PRIM_TRIANGLE_STRIP_ADJACENCY); in zink_get_param()
315 modes |= BITFIELD_BIT(PIPE_PRIM_TRIANGLE_FAN); in zink_get_param()
317 modes |= BITFIELD_BIT(PIPE_PRIM_POINTS) | in zink_get_param()
318 BITFIELD_BIT(PIPE_PRIM_LINES) | in zink_get_param()
319 BITFIELD_BIT(PIPE_PRIM_TRIANGLES) | in zink_get_param()
320 BITFIELD_BIT(PIPE_PRIM_TRIANGLES_ADJACENCY); in zink_get_param()
322 modes |= BITFIELD_BIT(PIPE_PRIM_PATCHES); in zink_get_param()
[all …]
Dzink_program.c329 prog->stages_present |= BITFIELD_BIT(i); in zink_create_gfx_program()
336 prog->stages_present |= BITFIELD_BIT(PIPE_SHADER_TESS_CTRL); in zink_create_gfx_program()
577 (BITFIELD_BIT(PIPE_SHADER_TESS_EVAL) | BITFIELD_BIT(PIPE_SHADER_GEOMETRY))) == in zink_destroy_gfx_program()
578 BITFIELD_BIT(PIPE_SHADER_TESS_EVAL)) in zink_destroy_gfx_program()
797 ctx->shader_stages |= BITFIELD_BIT(stage); in bind_stage()
804 ctx->shader_stages &= ~BITFIELD_BIT(stage); in bind_stage()
823 ctx->dirty_shader_stages |= BITFIELD_BIT(old); in bind_last_vertex_stage()
882 ctx->fbfetch_outputs |= BITFIELD_BIT(var->data.location - FRAG_RESULT_DATA0); in zink_bind_fs_state()
Dzink_program.h290 ctx->dirty_shader_stages |= BITFIELD_BIT(PIPE_SHADER_FRAGMENT); in zink_set_fs_key()
306 ctx->dirty_shader_stages |= BITFIELD_BIT(PIPE_SHADER_VERTEX); in zink_set_vs_key()
Dzink_compiler.c607 bits |= BITFIELD_BIT(var->data.driver_location); in decompose_attribs()
616 bits |= BITFIELD_BIT(var->data.driver_location); in decompose_attribs()
619 … state.needs_w = (decomposed_attrs_without_w & BITFIELD_BIT(location)) != 0 && num_components == 4; in decompose_attribs()
623 if (decomposed_attrs_without_w & BITFIELD_BIT(location)) in decompose_attribs()
628 bits &= ~BITFIELD_BIT(split[i+1]->data.driver_location); in decompose_attribs()
958 ssbo_used |= BITFIELD_BIT(nir_src_as_uint(intrin->src[1])); in unbreak_bos()
963 ssbo_used |= BITFIELD_BIT(slot); in unbreak_bos()
981 ssbo_used |= BITFIELD_BIT(nir_src_as_uint(intrin->src[0])); in unbreak_bos()
985 ubo_used |= BITFIELD_BIT(nir_src_as_uint(intrin->src[0])); in unbreak_bos()
/third_party/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_gallium.h76 return !!(sprite_coord_enable & BITFIELD_BIT(slot - VARYING_SLOT_TEX0)); in ir3_point_sprite()
/third_party/mesa3d/src/util/
Du_idalloc.h74 buf->data[id / 32] & BITFIELD_BIT(id % 32); in util_idalloc_exists()
Dmacros.h387 #define BITFIELD_BIT(b) (1u << (b)) macro
390 ((b) == 32 ? (~0u) : BITFIELD_BIT((b) % 32) - 1)
/third_party/mesa3d/src/gallium/auxiliary/indices/
Du_primconvert.c186 (!(pc->cfg.restart_primtypes_mask & BITFIELD_BIT(mode)) || in util_primconvert_draw_vbo()
187 !(pc->cfg.primtypes_mask & BITFIELD_BIT(info->mode)))) { in util_primconvert_draw_vbo()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_opt_mod_props.c45 return bi_opcode_props[I->op].abs & BITFIELD_BIT(s); in bi_takes_fabs()
64 return bi_opcode_props[I->op].neg & BITFIELD_BIT(s); in bi_takes_fneg()
/third_party/mesa3d/src/compiler/glsl/
Dglsl_parser.yy1589 { "blend_support_multiply", BITFIELD_BIT(BLEND_MULTIPLY) },
1590 { "blend_support_screen", BITFIELD_BIT(BLEND_SCREEN) },
1591 { "blend_support_overlay", BITFIELD_BIT(BLEND_OVERLAY) },
1592 { "blend_support_darken", BITFIELD_BIT(BLEND_DARKEN) },
1593 { "blend_support_lighten", BITFIELD_BIT(BLEND_LIGHTEN) },
1594 { "blend_support_colordodge", BITFIELD_BIT(BLEND_COLORDODGE) },
1595 { "blend_support_colorburn", BITFIELD_BIT(BLEND_COLORBURN) },
1596 { "blend_support_hardlight", BITFIELD_BIT(BLEND_HARDLIGHT) },
1597 { "blend_support_softlight", BITFIELD_BIT(BLEND_SOFTLIGHT) },
1598 { "blend_support_difference", BITFIELD_BIT(BLEND_DIFFERENCE) },
[all …]

123