Displaying 12 results from an estimated 12 matches for "nv30_fragprog".
2009 Nov 10
1
[PATCH] Add missing include
fixes the following warning:
nv30_fragprog.c:710: warning: implicit declaration of function 'tgsi_dump'
---
src/gallium/drivers/nv30/nv30_fragprog.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/nv30/nv30_fragprog.c b/src/gallium/drivers/nv30/nv30_fragprog.c
index cc03854..b42a7be 1006...
2012 May 12
7
[Patches] mesa/nv30: Diverse set of patches that improve NV3x render quality V2
A reworked version of 3 out of 4 patches mentioned earlier.
[1/4]: Fixes nearly all piglit vertprog testcases, due to now being able to pass the results on to the fragment shader. V2: rename samplers to texcoords.
[2/4]: Fixes shader compiler assertion errors, as some source registers do not exist for certain operations. Fixes several piglit tests when mesa is compiled with --enable-debug
[3/4]:
2014 Feb 21
3
[PATCH 1/4] nv30: remove use_nv4x, it is identical to is_nv4x
...case 3: hw = 4; break;
}
- if(hw > ((nvfx->use_nv4x) ? 4 : 2)) {
+ if(hw > ((nvfx->is_nv4x) ? 4 : 2)) {
NOUVEAU_ERR("bad rcol index\n");
return FALSE;
}
@@ -1129,7 +1129,7 @@ _nvfx_fragprog_translate(struct nv30_context *nvfx, struct nv30_fragprog *fp,
if (!fpc)
goto out_err;
- fpc->max_temps = nvfx->use_nv4x ? 48 : 32;
+ fpc->max_temps = nvfx->is_nv4x ? 48 : 32;
fpc->fp = fp;
fpc->num_regs = 2;
memset(fp->texcoord, 0xff, sizeof(fp->texcoord));
diff --git a/src/gallium/drivers/nouveau/nv30...
2009 Dec 21
2
[PATCH 1/2] Unreference state/buffer objects on context/screen destruction
..._resource_free(&screen->vp_data_heap);
nouveau_resource_free(&screen->query_heap);
@@ -161,6 +167,8 @@
nouveau_notifier_free(&screen->sync);
nouveau_grobj_free(&screen->rankine);
+ nouveau_screen_fini(&screen->base);
+
FREE(pscreen);
}
Index: nv30/nv30_fragprog.c
===================================================================
--- nv30/nv30_fragprog.c (wersja 32083)
+++ nv30/nv30_fragprog.c (kopia robocza)
@@ -870,6 +870,12 @@
nv30_fragprog_destroy(struct nv30_context *nv30,
struct nv30_fragment_program *fp)
{
+ if (fp->buffer)
+...
2015 May 26
2
[PATCH 2/2] nv30/draw: switch varying hookup logic to know about texcoords
...7, 0x00004000 },
> };
>
> static boolean
> vroute_add(struct nv30_render *r, uint attrib, uint sem, uint *idx)
> {
> - struct pipe_screen *pscreen = &r->nv30->screen->base.base;
> + struct nv30_screen *screen = r->nv30->screen;
> struct nv30_fragprog *fp = r->nv30->fragprog.program;
> struct vertex_info *vinfo = &r->vertex_info;
> enum pipe_format format;
> uint emit = EMIT_OMIT;
> uint result = *idx;
>
> - if (sem == TGSI_SEMANTIC_GENERIC && result >= 8) {
> - for (resu...
2015 May 26
2
[PATCH 2/2] nv30/draw: switch varying hookup logic to know about texcoords
...tatic boolean
>>> vroute_add(struct nv30_render *r, uint attrib, uint sem, uint *idx)
>>> {
>>> - struct pipe_screen *pscreen = &r->nv30->screen->base.base;
>>> + struct nv30_screen *screen = r->nv30->screen;
>>> struct nv30_fragprog *fp = r->nv30->fragprog.program;
>>> struct vertex_info *vinfo = &r->vertex_info;
>>> enum pipe_format format;
>>> uint emit = EMIT_OMIT;
>>> uint result = *idx;
>>> - if (sem == TGSI_SEMANTIC_GENERIC &&...
[Bug 59242] New: some mesa demos start to segfault after "nouveau: improve buffer transfers" on nv43
2013 Jan 11
2
[Bug 59242] New: some mesa demos start to segfault after "nouveau: improve buffer transfers" on nv43
...c:413
buf = 0x8294668
#3 0xb69a2c8a in u_transfer_unmap_vtbl (pipe=0x805cc70, transfer=0x82fece0) at
util/u_resource.c:51
No locals.
#4 0xb66c390d in pipe_buffer_unmap (transfer=<optimized out>, pipe=0x805cc70)
at ../../../../src/gallium/auxiliary/util/u_inlines.h:290
No locals.
#5 nv30_fragprog_upload (nv30=0x805cc70) at nv30_fragprog.c:54
nv = 0x805cc70
fp = 0x829f968
pipe = 0x805cc70
transfer = 0x82fece0
map = 0x805cc70
#6 nv30_fragprog_validate (nv30=0x805cc70) at nv30_fragprog.c:96
push = 0x8078938
eng3d = 0x808d2d8
fp =...
2015 May 25
3
[PATCH 1/2] nv30/draw: rework some of the output vertex buffer logic
This makes the vertex buffer go to GART, not VRAM, and redoes the
mapping to not use the UNSYNCHRONIZED access (which is meaningless on a
VRAM buffer anyways). While we're at it, add some flushes for VBO data.
Moving the vertex buffer from VRAM to GART makes glxgears work fully
with NV30_SWTNL=1. The other changes just seem like a good idea. I'm not
sure *why* moving the buffer from VRAM
2009 Dec 30
4
[PATCH 1/3] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped
- This avoids problematic "reloc'ed while mapped" messages and
some associated corruption as well.
Signed-off-by: Maarten Maathuis <madman2003 at gmail.com>
---
src/gallium/drivers/nouveau/nouveau_screen.c | 21 +++++++++++++++++++++
src/gallium/drivers/nouveau/nouveau_screen.h | 3 +++
src/gallium/drivers/nouveau/nouveau_stateobj.h | 13 +++++++++++++
2017 Aug 21
20
[Bug 102349] New: nv4x crashing with plasmashell - gdb log included
..._64-linux-gnu/libc.so.6
Thread 1 (Thread 0x7ffff7e0a940 (LWP 5160)):
#0 PUSH_RESET (bin=8, push=0x555555ac19f0) at
../../../../../src/gallium/drivers/nouveau/nv30/nv30_winsys.h:39
#1 nv30_fp_state_bind (pipe=0x5555558355b0, hwcso=0x555556648cc0) at
../../../../../src/gallium/drivers/nouveau/nv30/nv30_fragprog.c:174
#2 0x00007fff4b4531a0 in update_fp (st=0x555555f90250) at
../../../src/mesa/state_tracker/st_atom_shader.c:152
#3 0x00007fff4b44f3bb in st_validate_state (st=st at entry=0x555555f90250,
pipeline=pipeline at entry=ST_PIPELINE_RENDER) at
../../../src/mesa/state_tracker/st_atom.c:219
#4 0x000...
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code
...ap;
- pscreen->transfer_unmap = nv20_transfer_unmap;
-}
diff --git a/src/gallium/drivers/nv30/Makefile b/src/gallium/drivers/nv30/Makefile
index 364c80d..d428864 100644
--- a/src/gallium/drivers/nv30/Makefile
+++ b/src/gallium/drivers/nv30/Makefile
@@ -9,7 +9,6 @@ C_SOURCES = \
nv30_draw.c \
nv30_fragprog.c \
nv30_fragtex.c \
- nv30_miptree.c \
nv30_query.c \
nv30_screen.c \
nv30_state.c \
@@ -22,7 +21,6 @@ C_SOURCES = \
nv30_state_viewport.c \
nv30_state_zsa.c \
nv30_surface.c \
- nv30_transfer.c \
nv30_vbo.c \
nv30_vertprog.c
diff --git a/src/gallium/drivers/nv30/nv30_fragtex.c...
2010 Jan 18
0
[PATCH] nv04-nv40: Rewrite and unify miptree and transfer code (v2)
...ap;
- pscreen->transfer_unmap = nv20_transfer_unmap;
-}
diff --git a/src/gallium/drivers/nv30/Makefile b/src/gallium/drivers/nv30/Makefile
index 364c80d..d428864 100644
--- a/src/gallium/drivers/nv30/Makefile
+++ b/src/gallium/drivers/nv30/Makefile
@@ -9,7 +9,6 @@ C_SOURCES = \
nv30_draw.c \
nv30_fragprog.c \
nv30_fragtex.c \
- nv30_miptree.c \
nv30_query.c \
nv30_screen.c \
nv30_state.c \
@@ -22,7 +21,6 @@ C_SOURCES = \
nv30_state_viewport.c \
nv30_state_zsa.c \
nv30_surface.c \
- nv30_transfer.c \
nv30_vbo.c \
nv30_vertprog.c
diff --git a/src/gallium/drivers/nv30/nv30_context.h...