search for: cond_mode

Displaying 12 results from an estimated 12 matches for "cond_mode".

2014 Oct 21
0
[PATCH v2] nv50: Handle ARB_conditional_render_inverted and enable it
.../src/gallium/drivers/nouveau/nv50/nv50_context.h +++ b/src/gallium/drivers/nouveau/nv50/nv50_context.h @@ -178,8 +178,9 @@ struct nv50_context { uint32_t rt_array_mode; struct pipe_query *cond_query; - boolean cond_cond; + boolean cond_cond; /* inverted rendering condition */ uint cond_mode; + uint32_t cond_condmode; /* the calculated condition */ struct nv50_blitctx *blit; }; diff --git a/src/gallium/drivers/nouveau/nv50/nv50_query.c b/src/gallium/drivers/nouveau/nv50/nv50_query.c index a373dc6..0b4a149 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_query.c +++ b/src/gal...
2014 Feb 13
2
[PATCH] nv50: make sure to clear _all_ layers of all attachments
...a3090..84ff46e 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_context.h +++ b/src/gallium/drivers/nouveau/nv50/nv50_context.h @@ -173,6 +173,8 @@ struct nv50_context { boolean vbo_push_hint; + uint32_t rt_array_mode; + struct pipe_query *cond_query; boolean cond_cond; uint cond_mode; diff --git a/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c b/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c index f953422..100d02d 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_state_validate.c @@ -65,6 +65,7 @@ nv5...
2016 Jun 05
0
[RFC PATCH] nouveau: add locking
...query = nv50_end_query; pipe->get_query_result = nv50_get_query_result; pipe->set_active_query_state = nv50_set_active_query_state; - pipe->render_condition = nv50_render_condition; + pipe->render_condition = nv50_render_condition_locked; nv50->cond_condmode = NV50_3D_COND_MODE_ALWAYS; } diff --git a/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c b/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c index 727b509..9067bcc 100644 --- a/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c +++ b/src/gallium/drivers/nouveau/nv50/nv50_query_hw.c @@ -129,6 +129,7 @@ nv50_hw_begin...
2012 Jul 27
1
[PATCH] nvc0: Add and enable vblank support
...} else if (pNv->glx_vblank) { + xf86DrvMsg(pScrn->scrnIndex, X_WARNING, + "No kernel support for GLX sync to VBlank.\n"); + pNv->glx_vblank = false; + } + BEGIN_NVC0(push, NV01_SUBC(3D, OBJECT), 1); PUSH_DATA (push, pNv->Nv3D->handle); BEGIN_NVC0(push, NVC0_3D(COND_MODE), 1); diff --git a/src/nvc0_xv.c b/src/nvc0_xv.c index 3b6d01f..86b7948 100644 --- a/src/nvc0_xv.c +++ b/src/nvc0_xv.c @@ -221,9 +221,8 @@ nvc0_xv_image_put(ScrnInfoPtr pScrn, PUSH_DATAf(push, 1.0 / width); PUSH_DATAf(push, 1.0 / height); - if (0 && pPriv->SyncToVBlank) { - NV50Sy...
2019 Jun 30
1
Question on Conditional Rendering Maxwell/Pascal
So we are currently doing tests and complying with them in our Emulator. Currently the conditional rendering test does not pass (no wonder we not even implement it). I've been looking at the current documentation https://github.com/envytools/envytools/blob/master/rnndb/graph/gf100_3d.xml#L796 So far I don't understand how the cond address is used and to what it's compared.
2014 Dec 31
0
[PATCH 2/2] nvc0: regenerate rnndb headers
...ine NVC0_2D_SRC_ADDRESS_HIGH 0x00000250 - -#define NVC0_2D_SRC_ADDRESS_LOW 0x00000254 - -#define NVC0_2D_UNK258 0x00000258 - -#define NVC0_2D_SINGLE_GPC 0x00000260 - -#define NVC0_2D_COND_ADDRESS_HIGH 0x00000264 - -#define NVC0_2D_COND_ADDRESS_LOW 0x00000268 - -#define NVC0_2D_COND_MODE 0x0000026c -#define NVC0_2D_COND_MODE_NEVER 0x00000000 -#define NVC0_2D_COND_MODE_ALWAYS 0x00000001 -#define NVC0_2D_COND_MODE_RES_NON_ZERO 0x00000002 -#define NVC0_2D_COND_MODE_EQUAL 0x00000003 -#define NVC0_2D_COND_MODE_NOT_EQUAL 0x00000004 - -#define NVC0_2D_CLIP_X 0x00...
2015 Jun 22
12
[RFC PATCH 0/8] nv50: expose global performance counters
Hello there, This series exposes NVIDIA's global performance counters for Tesla through the Gallium's HUD and the GL_AMD_performance_monitor extension. This adds support for 24 hardware events which have been reverse engineered with PerfKit (Windows) and CUPTI (Linux). These hardware events will allow developers to profile OpenGL applications. To reduce latency and to improve accuracy,
2014 Jun 17
0
[PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...push, NVC0_2D(CLIP_ENABLE), 1); - PUSH_DATA (push, 0); - BEGIN_NVC0(push, NVC0_2D(COLOR_KEY_ENABLE), 1); - PUSH_DATA (push, 0); - BEGIN_NVC0(push, SUBC_2D(0x0884), 1); - PUSH_DATA (push, 0x3f); - BEGIN_NVC0(push, SUBC_2D(0x0888), 1); - PUSH_DATA (push, 1); - BEGIN_NVC0(push, NVC0_2D(COND_MODE), 1); - PUSH_DATA (push, NVC0_2D_COND_MODE_ALWAYS); - - BEGIN_NVC0(push, SUBC_2D(NVC0_GRAPH_NOTIFY_ADDRESS_HIGH), 2); - PUSH_DATAh(push, screen->fence.bo->offset + 16); - PUSH_DATA (push, screen->fence.bo->offset + 16); - switch (dev->chipset & ~0xf) { case 0x110:...
2014 Jun 17
2
[PATCH try 2 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com> --- src/gallium/drivers/nouveau/nouveau_fence.c | 76 ++++++++++++------------- src/gallium/drivers/nouveau/nouveau_fence.h | 22 +++++-- src/gallium/drivers/nouveau/nouveau_screen.c | 9 +++ src/gallium/drivers/nouveau/nouveau_screen.h | 14 ++--- src/gallium/drivers/nouveau/nv30/nv30_context.c | 4 +-
2014 Jun 21
3
[Mesa-dev] [PATCH try 2 2/2] gallium/nouveau: move pushbuf and fences to context
...PUSH_DATA (push, 0); > - BEGIN_NVC0(push, NVC0_2D(COLOR_KEY_ENABLE), 1); > - PUSH_DATA (push, 0); > - BEGIN_NVC0(push, SUBC_2D(0x0884), 1); > - PUSH_DATA (push, 0x3f); > - BEGIN_NVC0(push, SUBC_2D(0x0888), 1); > - PUSH_DATA (push, 1); > - BEGIN_NVC0(push, NVC0_2D(COND_MODE), 1); > - PUSH_DATA (push, NVC0_2D_COND_MODE_ALWAYS); > - > - BEGIN_NVC0(push, SUBC_2D(NVC0_GRAPH_NOTIFY_ADDRESS_HIGH), 2); > - PUSH_DATAh(push, screen->fence.bo->offset + 16); > - PUSH_DATA (push, screen->fence.bo->offset + 16); > - > switch (dev->ch...
2014 Dec 31
2
[PATCH 1/2] nv50: regenerate rnndb headers
...8 +#define NVC0_2D_UNK25C 0x0000025c + #define NV50_2D_UNK260 0x00000260 +#define NVC0_2D_SINGLE_GPC 0x00000260 + #define NV50_2D_COND_ADDRESS_HIGH 0x00000264 -#define NV50_2D_COND_ADDRESS_LOW 0x00000268 +#define NV50_2D_COND_ADDRESS_LOW 0x00000268 #define NV50_2D_COND_MODE 0x0000026c #define NV50_2D_COND_MODE_NEVER 0x00000000 -#define NV50_2D_COND_MODE_ALWAYS 0x00000001 +#define NV50_2D_COND_MODE_ALWAYS 0x00000001 #define NV50_2D_COND_MODE_RES_NON_ZERO 0x00000002 #define NV50_2D_COND_MODE_EQUAL 0x00000003 #define NV50_2D_COND_MODE_NOT_EQUAL...
2014 Jun 16
2
[PATCH 1/2] gallium/nouveau: decouple nouveau_fence implementation from screen
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at canonical.com> --- src/gallium/drivers/nouveau/nouveau_fence.c | 76 ++++++++++++------------- src/gallium/drivers/nouveau/nouveau_fence.h | 22 +++++-- src/gallium/drivers/nouveau/nouveau_screen.c | 9 +++ src/gallium/drivers/nouveau/nouveau_screen.h | 14 ++--- src/gallium/drivers/nouveau/nv30/nv30_context.c | 4