Displaying 5 results from an estimated 5 matches for "log2i".
Did you mean:
log2
2012 Jun 11
1
[PATCH 10/21] nouveau: Add support for ARB_sampler_object
...; 28 |
- nvgl_wrap_mode(t->Sampler.WrapS) << 24 |
+ format |= nvgl_wrap_mode(sa->WrapT) << 28 |
+ nvgl_wrap_mode(sa->WrapS) << 24 |
ti->HeightLog2 << 20 |
ti->WidthLog2 << 16 |
lod_max << 12 |
get_tex_format(ti);
- filter |= log2i(t->Sampler.MaxAnisotropy) << 31 |
- nvgl_filter_mode(t->Sampler.MagFilter) << 28 |
- log2i(t->Sampler.MaxAnisotropy) << 27 |
- nvgl_filter_mode(t->Sampler.MinFilter) << 24 |
+ filter |= log2i(sa->MaxAnisotropy) << 31 |
+ nvgl_filter_mode(sa->...
2013 Jul 27
2
[PATCH 1/3] drm/nv50: include vp in the fb error reporting mask
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
Not 100% sure that this is needed, but BSP/MPEG are in the mask.
drivers/gpu/drm/nouveau/core/subdev/mc/nv50.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/nouveau/core/subdev/mc/nv50.c b/drivers/gpu/drm/nouveau/core/subdev/mc/nv50.c
index 0cb322a..f25fc5f 100644
---
2009 Nov 04
1
[PATCH] nv10/exa: Spring-cleaning
...+static void
+setup_texture(NVPtr pNv, int unit, PicturePtr pict, PixmapPtr pixmap)
{
struct nouveau_channel *chan = pNv->chan;
struct nouveau_grobj *celsius = pNv->Nv3D;
struct nouveau_bo *bo = nouveau_pixmap_bo(pixmap);
unsigned delta = nouveau_pixmap_offset(pixmap);
- int log2w = log2i(Pict->pDrawable->width);
- int log2h = log2i(Pict->pDrawable->height);
- int w;
+ long w = pict->pDrawable->width,
+ h = pict->pDrawable->height;
unsigned int txfmt =
- (NV10TCL_TX_FORMAT_WRAP_T_CLAMP_TO_EDGE) |
- (NV10TCL_TX_FORMAT_WRAP_S_CLAMP_TO_EDGE) |
- (lo...
2010 Apr 20
1
[PATCH] nv30/exa : cleanup from nv40 exa
...OUT_RELOCd(chan, bo, NV34TCL_TX_FORMAT_DIMS_2D | (1 << 16) | 8 |
- (fmt->card_fmt << NV34TCL_TX_FORMAT_FORMAT_SHIFT) |
+ OUT_RELOCd(chan, bo, fmt->card_fmt |
+ NV34TCL_TX_FORMAT_DIMS_2D | (1 << 16) |
+ NV34TCL_TX_FORMAT_NO_BORDER |
(log2i(pPix->drawable.width) <<
- NV34TCL_TX_FORMAT_BASE_SIZE_U_SHIFT) |
+ NV34TCL_TX_FORMAT_BASE_SIZE_U_SHIFT) |
(log2i(pPix->drawable.height) <<
- NV34TCL_TX_FORMAT_BASE_SIZE_V_SHIFT),
+ NV34TCL_TX_FORMAT_BASE_SIZE_V_SHIFT),
tex_reloc | NOUVEAU...
2020 Jun 19
0
Wine release 5.11
...: Expose IHTMLCSSStyleDeclaration2 to scripts.
mshtml: Use proper compat mode in IHTMLWindow7::getComputedStyle.
ntoskrnl: Use loader notification callback to perform relocations.
mshtml: Add IHTMLCSSStyleDeclaration2::perspective implementation.
msvcp: Use BitScanReverse in log2i.
dwrite: Use BitScanForward instead of dwrite_ctz.
dwrite: Use BitScanReverse instead of dwrite_log2i.
d3dx9: Use BitScanReverse in make_pow2.
msscript: Reimplement state property using embedded script engine state.
msscript/tests: Add more script state tests.
ms...