Displaying 6 results from an estimated 6 matches for "zslice".
Did you mean:
slice
2009 Dec 31
1
[PATCH] Print NOUVEAU_NO_SWIZZLE and NOUVEAU_NO_TRANSFER messages only once
...static int no_transfer = -1;
+ if(no_transfer < 0)
+ no_transfer = debug_get_bool_option("NOUVEAU_NO_TRANSFER", TRUE/*XXX:FALSE*/);
tx = CALLOC_STRUCT(nv04_transfer);
if (!tx)
@@ -58,8 +61,7 @@ nv04_transfer_new(struct pipe_screen *pscreen, struct pipe_texture *pt,
tx->base.zslice = zslice;
/* Direct access to texture */
- if ((pt->tex_usage & PIPE_TEXTURE_USAGE_DYNAMIC ||
- debug_get_bool_option("NOUVEAU_NO_TRANSFER", TRUE/*XXX:FALSE*/)) &&
+ if ((pt->tex_usage & PIPE_TEXTURE_USAGE_DYNAMIC || no_transfer) &&
pt->tex_...
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code
...last_level; l++) {
- if (mt->level[l].image_offset)
- FREE(mt->level[l].image_offset);
- }
-
+ nouveau_bo_ref(0, &mt->bo);
FREE(mt);
}
@@ -105,7 +169,7 @@ nv04_miptree_surface_new(struct pipe_screen *pscreen, struct pipe_texture *pt,
unsigned face, unsigned level, unsigned zslice,
unsigned flags)
{
- struct nv04_miptree *nv04mt = (struct nv04_miptree *)pt;
+ struct nv04_miptree *mt = (struct nv04_miptree *)pt;
struct nv04_surface *ns;
ns = CALLOC_STRUCT(nv04_surface);
@@ -120,9 +184,18 @@ nv04_miptree_surface_new(struct pipe_screen *pscreen, struct pipe_texture...
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code (v2)
...last_level; l++) {
- if (mt->level[l].image_offset)
- FREE(mt->level[l].image_offset);
- }
-
+ nouveau_bo_ref(0, &mt->bo);
FREE(mt);
}
@@ -105,7 +174,7 @@ nv04_miptree_surface_new(struct pipe_screen *pscreen, struct pipe_texture *pt,
unsigned face, unsigned level, unsigned zslice,
unsigned flags)
{
- struct nv04_miptree *nv04mt = (struct nv04_miptree *)pt;
+ struct nv04_miptree *mt = (struct nv04_miptree *)pt;
struct nv04_surface *ns;
ns = CALLOC_STRUCT(nv04_surface);
@@ -120,9 +189,18 @@ nv04_miptree_surface_new(struct pipe_screen *pscreen, struct pipe_texture...
2008 Nov 11
2
Memory corruption on Gallium window resize, diagnosed?
...4 = {buffer = 0xf7d901a0, format = -136773216, status = 1, clear_value = 0, width = 189, height = 181, block = {size = 4, width = 1,
height = 1}, nblocksx = 189, nblocksy = 181, stride = 768, layout = 0, offset = 0, refcount = 0, usage = 12, winsys = 0x0,
texture = 0x0, face = 0, level = 0, zslice = 88}
I tried to track what writes the insane value to the format field,
and always came up with malloc and free, which didn't make any sense.
Then I ran it with valgrind:
==5322== Invalid read of size 4
==5322== at 0x7B6887C: pipe_surface_reference (p_inlines.h:93)
==5322== by 0x7B688...
2010 Jan 08
0
Findings on pre-NV50 miptree layout
...o the width.
* Linear textures
In linear textures all images have the same pitch, which can apparently be
any value (even 4), aligned to bytes per pixel.
1D textures and 2D textures are laid out in the obvious way.
3D textures are laid with contiguous mipmaps, each containing a 2D texture
for each zslice.
Cube maps are laid with contiguous faces, each a 2D texture. No special face
alignment is used (they will still be aligned to the pitch of course).
# Alignment requirements
Render target pitch must be a multiple of 64 and greater than 0.
For swizzled targets, the blob sets a width * bpp pitch. H...
2010 Apr 12
16
[Bug 27603] New: Celestia 1.6.0 crashes with nv04_surface_copy_swizzle assertion
https://bugs.freedesktop.org/show_bug.cgi?id=27603
Summary: [nouveau] Celestia 1.6.0 crashes with
nv04_surface_copy_swizzle assertion
Product: Mesa
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: