Displaying 5 results from an estimated 5 matches for "nv50_new_viewport".
Did you mean:
nv30_new_viewport
2009 Mar 31
1
(patch) Gallium NV50: honor bypass_vs_clip_and_viewport
.../src/gallium/drivers/nv50/nv50_state_validate.c
index fc6157d..c13d3de 100644
--- a/src/gallium/drivers/nv50/nv50_state_validate.c
+++ b/src/gallium/drivers/nv50/nv50_state_validate.c
@@ -244,7 +244,7 @@ nv50_state_validate(struct nv50_context *nv50)
}
scissor_uptodate:
- if (nv50->dirty & NV50_NEW_VIEWPORT) {
+ if (nv50->dirty & (NV50_NEW_VIEWPORT | NV50_NEW_RASTERIZER)) {
unsigned bypass;
if (!nv50->rasterizer->pipe.bypass_vs_clip_and_viewport)
@@ -281,6 +281,7 @@ scissor_uptodate:
so_ref(so, &nv50->state.viewport);
so_ref(NULL, &so);
+ nv50->state.dirty |= NV50...
2009 Jul 12
0
[PATCH 2/3] nv50: fix viewport transform
...AGE_DISPLAY_TARGET))
+ nv50->fb_invert_y = fb->cbufs[0]->height;
+
for (i = 0; i < fb->nr_cbufs; i++) {
struct pipe_texture *pt = fb->cbufs[i]->texture;
struct nouveau_bo *bo = nv50_miptree(pt)->bo;
@@ -263,6 +268,7 @@ scissor_uptodate:
if (nv50->dirty & (NV50_NEW_VIEWPORT | NV50_NEW_RASTERIZER)) {
unsigned bypass;
+ struct pipe_viewport_state viewp;
if (!nv50->rasterizer->pipe.bypass_vs_clip_and_viewport)
bypass = 0;
@@ -277,25 +283,42 @@ scissor_uptodate:
so = so_new(12, 0);
if (!bypass) {
- so_method(so, tesla, NV50TCL_VIEWPORT_UNK1(0)...
2014 Feb 04
2
[PATCH 1/3] nv50: rework primid logic
Functionally identical but much simpler. Should also better integrate
with future layer/viewport changes/fixes.
Cc: 10.1 <mesa-stable at lists.freedesktop.org>
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
Not *strictly* necessary in stable, but it will make backporting later fixes
easier. No regressions in piglit.
src/gallium/drivers/nouveau/nv50/nv50_program.c | 5
2009 Jul 28
0
[PATCH 2/8] nv50: fix viewport transform
...src/gallium/drivers/nv50/nv50_state_validate.c b/src/gallium/drivers/nv50/nv50_state_validate.c
index 03aed81..ce8e44f 100644
--- a/src/gallium/drivers/nv50/nv50_state_validate.c
+++ b/src/gallium/drivers/nv50/nv50_state_validate.c
@@ -258,6 +258,7 @@ scissor_uptodate:
if (nv50->dirty & (NV50_NEW_VIEWPORT | NV50_NEW_RASTERIZER)) {
unsigned bypass;
+ float y_translate = (float)nv50->framebuffer.height;
if (!nv50->rasterizer->pipe.bypass_vs_clip_and_viewport)
bypass = 0;
@@ -271,25 +272,33 @@ scissor_uptodate:
nv50->state.viewport_bypass = bypass;
so = so_new(12, 0);
+...
2009 Dec 05
0
[PATCH] nouveau: avoid running out of relocs (attempt 3)
...r, &push, &reloc);
+ if (nv50->state.dirty & NV50_NEW_STIPPLE)
+ so_get_push_reloc(nv50->state.stipple, &push, &reloc);
+ if (nv50->state.dirty & NV50_NEW_SCISSOR)
+ so_get_push_reloc(nv50->state.scissor, &push, &reloc);
+ if (nv50->state.dirty & NV50_NEW_VIEWPORT)
+ so_get_push_reloc(nv50->state.viewport, &push, &reloc);
+ if (nv50->state.dirty & NV50_NEW_SAMPLER)
+ so_get_push_reloc(nv50->state.tsc_upload, &push, &reloc);
+ if (nv50->state.dirty & NV50_NEW_TEXTURE)
+ so_get_push_reloc(nv50->state.tic_upload, &p...