Searched refs:bitmask (Results 1 - 25 of 48) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dlight.c550 * Given a face and pname value (ala glColorMaterial), compute a bitmask
557 GLuint bitmask = 0; local in function:_mesa_material_bitmask
559 /* Make a bitmask indicating what material attribute(s) we're updating */
562 bitmask |= MAT_BIT_FRONT_EMISSION | MAT_BIT_BACK_EMISSION;
565 bitmask |= MAT_BIT_FRONT_AMBIENT | MAT_BIT_BACK_AMBIENT;
568 bitmask |= MAT_BIT_FRONT_DIFFUSE | MAT_BIT_BACK_DIFFUSE;
571 bitmask |= MAT_BIT_FRONT_SPECULAR | MAT_BIT_BACK_SPECULAR;
574 bitmask |= MAT_BIT_FRONT_SHININESS | MAT_BIT_BACK_SHININESS;
577 bitmask |= MAT_BIT_FRONT_AMBIENT | MAT_BIT_BACK_AMBIENT;
578 bitmask |
612 _mesa_update_material(struct gl_context * ctx,GLuint bitmask) argument
708 GLbitfield bitmask = ctx->Light._ColorMaterialBitmask; local in function:_mesa_update_color_material
725 GLuint bitmask; local in function:_mesa_ColorMaterial
[all...]
H A Dlight.h98 GLuint bitmask );
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dlight.c614 * Given a face and pname value (ala glColorMaterial), compute a bitmask
621 GLuint bitmask = 0; local in function:_mesa_material_bitmask
623 /* Make a bitmask indicating what material attribute(s) we're updating */
626 bitmask |= MAT_BIT_FRONT_EMISSION | MAT_BIT_BACK_EMISSION;
629 bitmask |= MAT_BIT_FRONT_AMBIENT | MAT_BIT_BACK_AMBIENT;
632 bitmask |= MAT_BIT_FRONT_DIFFUSE | MAT_BIT_BACK_DIFFUSE;
635 bitmask |= MAT_BIT_FRONT_SPECULAR | MAT_BIT_BACK_SPECULAR;
638 bitmask |= MAT_BIT_FRONT_SHININESS | MAT_BIT_BACK_SHININESS;
641 bitmask |= MAT_BIT_FRONT_AMBIENT | MAT_BIT_BACK_AMBIENT;
642 bitmask |
676 _mesa_update_material(struct gl_context * ctx,GLuint bitmask) argument
778 GLbitfield bitmask = ctx->Light._ColorMaterialBitmask; local in function:_mesa_update_color_material
796 GLuint bitmask; local in function:_mesa_ColorMaterial
[all...]
H A Dlight.h99 GLuint bitmask );
/xsrc/external/mit/xorg-server/dist/test/xi2/
H A Dprotocol-xigetselectedevents.c99 unsigned char *bitmask; local in function:reply_XIGetSelectedEvents_data
111 bitmask = (unsigned char *) &mask[1];
112 assert(memcmp(bitmask,
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/swr/rasterizer/jitter/
H A Dstreamout_jit.cpp86 // @brief converts scalar bitmask to <4 x i32> suitable for shuffle vector,
88 // ex. bitmask 0011 -> (0, 1, 0, 0)
89 // bitmask 1000 -> (3, 0, 0, 0)
90 // bitmask 1100 -> (2, 3, 0, 0)
91 Value* PackMask(uint32_t bitmask) argument
96 while (_BitScanForward(&index, bitmask))
99 bitmask &= ~(1 << index);
106 // @brief convert scalar bitmask to <4xfloat> bitmask
107 Value* ToMask(uint32_t bitmask) argument
[all...]
H A Dfetch_jit.cpp358 uint32_t bitmask = ((1 << compBits) - 1) << bitOffset; local in function:FetchJit::UnpackComponents
359 Value* comp = AND(vInput, bitmask);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/swr/rasterizer/jitter/
H A Dstreamout_jit.cpp86 // @brief converts scalar bitmask to <4 x i32> suitable for shuffle vector,
88 // ex. bitmask 0011 -> (0, 1, 0, 0)
89 // bitmask 1000 -> (3, 0, 0, 0)
90 // bitmask 1100 -> (2, 3, 0, 0)
91 Value* PackMask(uint32_t bitmask) argument
96 while (_BitScanForward(&index, bitmask))
99 bitmask &= ~(1 << index);
106 // @brief convert scalar bitmask to <4xfloat> bitmask
107 Value* ToMask(uint32_t bitmask) argument
[all...]
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/virgl/
H A Dvirgl_screen.c536 assert(idx < ARRAY_SIZE(mask->bitmask));
537 return (mask->bitmask[idx] & (1u << bit)) != 0;
565 if (!(vscreen->caps.caps.v1.vertexbuffer.bitmask[big] & (1 << small)))
590 uint32_t bitmask[16],
596 if ((bitmask[big] & (1 << small)))
613 if (bitmask[big] & (1 << small))
716 caps->v1.render.bitmask,
727 if (!virgl_format_check_bitmask(format, caps->v2.scanout.bitmask, false))
774 caps->v1.sampler.bitmask,
852 const size_t size = ARRAY_SIZE(mask->bitmask);
589 virgl_format_check_bitmask(enum pipe_format format,uint32_t bitmask[16],bool may_emulate_bgra) argument
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/gallium/auxiliary/util/
H A Du_helpers.c51 uint32_t bitmask = 0; local in function:util_set_vertex_buffers_mask
58 bitmask |= 1 << i;
70 *enabled_buffers |= bitmask << start_slot;
/xsrc/external/mit/xorg-server.old/dist/test/xi2/
H A Dprotocol-xigetselectedevents.c112 unsigned char *bitmask; local in function:reply_XIGetSelectedEvents_data
127 bitmask = (unsigned char*)&mask[1];
128 g_assert(memcmp(bitmask,
/xsrc/external/mit/xf86-video-vboxvideo/dist/src/
H A Dpointer.c432 unsigned char bitmask = 0x80; local in function:vbox_load_cursor_argb
434 for (cx = 0; cx < w; cx++, bitmask >>= 1)
436 if (bitmask == 0)
437 bitmask = 0x80;
440 pm[cx / 8] &= ~bitmask;
/xsrc/external/mit/MesaLib.old/dist/src/mesa/tnl/
H A Dt_vb_light.c236 GLbitfield bitmask = ctx->Light._ColorMaterialBitmask; local in function:prepare_materials
237 while (bitmask) {
238 const int i = u_bit_scan(&bitmask);
/xsrc/external/mit/MesaLib/dist/src/mesa/tnl/
H A Dt_vb_light.c236 GLbitfield bitmask = ctx->Light._ColorMaterialBitmask; local in function:prepare_materials
237 while (bitmask) {
238 const int i = u_bit_scan(&bitmask);
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/virgl/
H A Dvirgl_screen.c542 assert(idx < ARRAY_SIZE(mask->bitmask));
543 return (mask->bitmask[val / 32] & (1u << bit)) != 0;
571 if (!(vscreen->caps.caps.v1.vertexbuffer.bitmask[big] & (1 << small)))
684 if (!(vscreen->caps.caps.v1.render.bitmask[big] & (1 << small)))
732 if (!(vscreen->caps.caps.v1.sampler.bitmask[big] & (1 << small)))
807 const size_t size = ARRAY_SIZE(caps->v2.supported_readback_formats.bitmask);
809 if (caps->v2.supported_readback_formats.bitmask[i] != 0)
817 caps->v2.supported_readback_formats.bitmask[i] =
818 caps->v1.sampler.bitmask[i];
H A Dvirgl_hw.h303 uint32_t bitmask[16]; member in struct:virgl_supported_format_mask
/xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/util/
H A Du_helpers.c53 uint32_t bitmask = 0; local in function:util_set_vertex_buffers_mask
62 bitmask |= 1 << i;
73 *enabled_buffers |= bitmask << start_slot;
/xsrc/external/mit/pixman/dist/pixman/
H A Dpixman-fast-path.c964 uint32_t bitcache, bitmask; local in function:fast_composite_over_n_1_8888
992 bitmask = CREATE_BITMASK (mask_x & 31);
996 if (bitmask == 0)
999 bitmask = CREATE_BITMASK (0);
1001 if (bitcache & bitmask)
1003 bitmask = UPDATE_BITMASK (bitmask);
1019 bitmask = CREATE_BITMASK (mask_x & 31);
1023 if (bitmask == 0)
1026 bitmask
1046 uint32_t bitcache, bitmask; local in function:fast_composite_over_n_1_0565
[all...]
/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_range_analysis.c1193 static uint32_t bitmask(uint32_t size) { function in typeref:typename:uint32_t
1288 uint32_t max = bitmask(scalar.def->bit_size);
1506 res = bitmask(util_last_bit64(src0)) & bitmask(util_last_bit64(src1));
1510 res = bitmask(util_last_bit64(src0)) | bitmask(util_last_bit64(src1));
1562 res = bitmask(MIN2(src2, scalar.def->bit_size));
1569 res = bitmask(src0) << src1;
1573 res = bitmask(MIN2(src0 + src1, 32));
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D19.1.6.rst82 - iris: Fix broken aux.possible/sampler_usages bitmask handling
H A D19.3.4.rst95 - Revert "gallium: Fix big-endian addressing of non-bitmask array
/xsrc/external/mit/MesaLib.old/dist/src/gallium/drivers/vc4/
H A Dvc4_nir_lower_blend.c561 nir_ssa_def *bitmask = nir_isub(b, local in function:vc4_nir_lower_blend_instr
566 vc4_nir_store_sample_mask(c, b, bitmask);
/xsrc/external/mit/MesaLib/dist/src/gallium/drivers/vc4/
H A Dvc4_nir_lower_blend.c536 nir_ssa_def *bitmask = nir_isub(b, local in function:vc4_nir_lower_blend_instr
541 vc4_nir_store_sample_mask(c, b, bitmask);
/xsrc/external/mit/MesaLib/dist/src/virtio/virtio-gpu/
H A Dvirgl_hw.h524 uint32_t bitmask[16]; member in struct:virgl_supported_format_mask
/xsrc/external/mit/MesaLib/dist/docs/gallium/
H A Dscreen.rst477 priorities, this returns a bitmask of ``PIPE_CONTEXT_PRIORITY_x`` for the
622 * ``PIPE_CAP_SUPPORTED_PRIM_MODES``: A bitmask of the ``pipe_prim_type`` enum values that the driver can natively support.
623 * ``PIPE_CAP_SUPPORTED_PRIM_MODES_WITH_RESTART``: A bitmask of the ``pipe_prim_type`` enum values that the driver can natively support for primitive restart. Only useful if ``PIPE_CAP_PRIMITIVE_RESTART`` is also exported.
932 **bindings** is a bitmask of :ref:`PIPE_BIND` flags.
1000 **bind** bitmask of the :ref:`PIPE_BIND` flags.
1002 **flags** bitmask of PIPE_RESOURCE_FLAG flags.

Completed in 48 milliseconds

12