Displaying 4 results from an estimated 4 matches for "nv50_new_vertprog".
2015 Aug 24
4
[PATCH] nv50: avoid using inline vertex data submit when gl_VertexID is used
...vers/nouveau/nv50/nv50_state_validate.c
+++ b/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c
@@ -503,7 +503,8 @@ static struct state_validate {
{ nv50_validate_samplers, NV50_NEW_SAMPLERS },
{ nv50_stream_output_validate, NV50_NEW_STRMOUT |
NV50_NEW_VERTPROG | NV50_NEW_GMTYPROG },
- { nv50_vertex_arrays_validate, NV50_NEW_VERTEX | NV50_NEW_ARRAYS },
+ { nv50_vertex_arrays_validate, NV50_NEW_VERTEX | NV50_NEW_ARRAYS |
+ NV50_NEW_VERTPROG },
{ nv50_validate_min_samples, NV50_NEW_MIN_SAMPLES },
};
#define v...
2009 Dec 05
0
[PATCH] nouveau: avoid running out of relocs (attempt 3)
...->state.fb, &push, &reloc);
+ if (nv50->state.dirty & NV50_NEW_BLEND)
+ so_get_push_reloc(nv50->state.blend, &push, &reloc);
+ if (nv50->state.dirty & NV50_NEW_ZSA)
+ so_get_push_reloc(nv50->state.zsa, &push, &reloc);
+ if (nv50->state.dirty & NV50_NEW_VERTPROG)
+ so_get_push_reloc(nv50->state.vertprog, &push, &reloc);
+ if (nv50->state.dirty & NV50_NEW_FRAGPROG)
+ so_get_push_reloc(nv50->state.fragprog, &push, &reloc);
+ if (nv50->state.dirty & (NV50_NEW_FRAGPROG | NV50_NEW_VERTPROG |
+ NV50_NEW_RASTERIZER))
+ s...
2009 Sep 12
0
[PATCH 10/13] nv50: proper linkage between VP and FP
...c/gallium/drivers/nv50/nv50_state_validate.c
@@ -189,6 +189,8 @@ nv50_state_emit(struct nv50_context *nv50)
so_emit(chan, nv50->state.vertprog);
if (nv50->state.dirty & NV50_NEW_FRAGPROG)
so_emit(chan, nv50->state.fragprog);
+ if (nv50->state.dirty & (NV50_NEW_FRAGPROG | NV50_NEW_VERTPROG))
+ so_emit(chan, nv50->state.programs);
if (nv50->state.dirty & NV50_NEW_RASTERIZER)
so_emit(chan, nv50->state.rast);
if (nv50->state.dirty & NV50_NEW_BLEND_COLOUR)
@@ -240,6 +242,9 @@ nv50_state_validate(struct nv50_context *nv50)
if (nv50->dirty & (NV50_NEW_F...
2009 Jun 21
0
[PATCH] nv50: add support for two-sided lighting
...rc/gallium/drivers/nv50/nv50_state_validate.c
+++ b/src/gallium/drivers/nv50/nv50_state_validate.c
@@ -199,6 +199,9 @@ nv50_state_validate(struct nv50_context *nv50)
if (nv50->dirty & (NV50_NEW_FRAGPROG | NV50_NEW_FRAGPROG_CB))
nv50_fragprog_validate(nv50);
+ if (nv50->dirty & (NV50_NEW_VERTPROG | NV50_NEW_FRAGPROG))
+ nv50_linkage_validate(nv50);
+
if (nv50->dirty & NV50_NEW_RASTERIZER)
so_ref(nv50->rasterizer->so, &nv50->state.rast);
--
1.6.0.6
--------------090503050107050804030002
Content-Type: text/plain;
name="0008-nv50-introduce-linkage-stateobj....