Displaying 13 results from an estimated 13 matches for "nv50_prog_optimize".
2017 Nov 24
1
[PATCH v3] nouveau/compiler: Allow to omit line numbers when printing instructions
...au/nouveau_compiler.c
index 3151a6f420..1214cf3565 100644
--- a/src/gallium/drivers/nouveau/nouveau_compiler.c
+++ b/src/gallium/drivers/nouveau/nouveau_compiler.c
@@ -122,6 +122,8 @@ nouveau_codegen(int chipset, int type, struct tgsi_token tokens[],
 
    info.optLevel = debug_get_num_option("NV50_PROG_OPTIMIZE", 3);
    info.dbgFlags = debug_get_num_option("NV50_PROG_DEBUG", 0);
+   info.omitLineNum =
+         debug_get_num_option("NV50_PROG_DEBUG_OMIT_LINENUM", 0) ? true : false;
 
    ret = nv50_ir_generate_code(&info);
    if (ret) {
diff --git a/src/gallium/drivers/nouve...
2017 Nov 17
2
[PATCH v2] nouveau/compiler: Allow to omit line numbers when printing instructions
...au/nouveau_compiler.c
index 3151a6f420..20a4966433 100644
--- a/src/gallium/drivers/nouveau/nouveau_compiler.c
+++ b/src/gallium/drivers/nouveau/nouveau_compiler.c
@@ -122,6 +122,8 @@ nouveau_codegen(int chipset, int type, struct tgsi_token tokens[],
 
    info.optLevel = debug_get_num_option("NV50_PROG_OPTIMIZE", 3);
    info.dbgFlags = debug_get_num_option("NV50_PROG_DEBUG", 0);
+   info.omitLineNum =
+         debug_get_num_option("NV50_PROG_DEBUG_OMIT_LINENUM", 0) ? true : false;
 
    ret = nv50_ir_generate_code(&info);
    if (ret) {
@@ -143,6 +145,7 @@ main(int argc, cha...
2015 Dec 08
4
[Bug 93300] New: Two Worlds 2 renders water incorrectly
...(running in Wine 1.8-rc3) water is not rendered properly: it
looks as if textures are "split up" into several pieces, as it can be seen in
the attached screenshot.
The problem doesn't occur with the software renderer (LIBGL_ALWAYS_SOFTWARE=1).
Disabling optimizations doesn't help (NV50_PROG_OPTIMIZE=0).
According to my testing the problem was introduced by
commit abd326e81b06f58797be94bd655ee06b17a34f0c
Author: Ilia Mirkin <imirkin at alum.mit.edu>
Date:   Fri Dec 4 15:21:11 2015 -0500
    nv50/ir: propagate indirect loads into instructions
    This way $r1 = $r0 + 4; c1[$r1] becomes...
2016 May 28
7
[Bug 96258] New: [NVC0] Hang when running compute program
https://bugs.freedesktop.org/show_bug.cgi?id=96258
            Bug ID: 96258
           Summary: [NVC0] Hang when running compute program
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/nouveau
          Assignee: nouveau at
2017 Nov 20
0
[PATCH v2] nouveau/compiler: Allow to omit line numbers when printing instructions
...ex 3151a6f420..20a4966433 100644
> --- a/src/gallium/drivers/nouveau/nouveau_compiler.c
> +++ b/src/gallium/drivers/nouveau/nouveau_compiler.c
> @@ -122,6 +122,8 @@ nouveau_codegen(int chipset, int type, struct tgsi_token tokens[],
>  
>     info.optLevel = debug_get_num_option("NV50_PROG_OPTIMIZE", 3);
>     info.dbgFlags = debug_get_num_option("NV50_PROG_DEBUG", 0);
> +   info.omitLineNum =
> +         debug_get_num_option("NV50_PROG_DEBUG_OMIT_LINENUM", 0) ? true : false;
>  
>     ret = nv50_ir_generate_code(&info);
>     if (ret) {
> @@...
2017 Nov 14
2
[RFC PATCH] nouveau/compiler: Allow to omit line numbers when printing instructions
...unsigned *size, unsigned **code) {
+                unsigned *size, unsigned **code, bool omitLineNum) {
    struct nv50_ir_prog_info info = {0};
    int ret;
 
@@ -122,6 +122,7 @@ nouveau_codegen(int chipset, int type, struct tgsi_token tokens[],
 
    info.optLevel = debug_get_num_option("NV50_PROG_OPTIMIZE", 3);
    info.dbgFlags = debug_get_num_option("NV50_PROG_DEBUG", 0);
+   info.omitLineNum = omitLineNum;
 
    ret = nv50_ir_generate_code(&info);
    if (ret) {
@@ -143,10 +144,13 @@ main(int argc, char *argv[])
    FILE *f;
    char text[65536] = {0};
    unsigned size = 0, *c...
2017 Feb 13
8
[Bug 99799] New: Civilization VI makes nouveau crash on register allocation
https://bugs.freedesktop.org/show_bug.cgi?id=99799
            Bug ID: 99799
           Summary: Civilization VI makes nouveau crash on register
                    allocation
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component:
2012 Aug 15
3
[Bug 53519] New: Missing bits of geometry in Unigine tropics
https://bugs.freedesktop.org/show_bug.cgi?id=53519
             Bug #: 53519
           Summary: Missing bits of geometry in Unigine tropics
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: medium
         Component: Drivers/DRI/nouveau
       
2014 Jun 04
3
[Bug 79611] New: [NVC0] TRAP ch 4 [0x003fa28000 bzflag]
https://bugs.freedesktop.org/show_bug.cgi?id=79611
          Priority: medium
            Bug ID: 79611
          Assignee: nouveau at lists.freedesktop.org
           Summary: [NVC0] TRAP ch 4 [0x003fa28000 bzflag]
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: anonymous at dodgeit.com
               URL:
2014 Feb 21
0
[PATCH] nouveau: add a nouveau_compiler binary to compile TGSI into shader ISA
...nfo.io.ucpBase = NV50_CB_AUX_UCP_OFFSET;
+
+   info.io.resInfoCBSlot = 15;
+   info.io.suInfoBase = NV50_CB_AUX_TEX_MS_OFFSET;
+   info.io.msInfoCBSlot = 15;
+   info.io.msInfoBase = NV50_CB_AUX_MS_OFFSET;
+
+   info.assignSlots = dummy_assign_slots;
+
+   info.optLevel = debug_get_num_option("NV50_PROG_OPTIMIZE", 3);
+   info.dbgFlags = debug_get_num_option("NV50_PROG_DEBUG", 0);
+
+   i = nv50_ir_generate_code(&info);
+   if (i) {
+      _debug_printf("Error compiling program: %d\n", i);
+      return i;
+   }
+
+   _debug_printf("program binary (%d bytes)\n", info....
2016 Jun 05
4
[Bug 96391] New: Payday: The Heist has rendering issues when anti-aliasing enabled
https://bugs.freedesktop.org/show_bug.cgi?id=96391
            Bug ID: 96391
           Summary: Payday: The Heist has rendering issues when
                    anti-aliasing enabled
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/DRI/nouveau
2017 Nov 14
0
[RFC PATCH] nouveau/compiler: Allow to omit line numbers when printing instructions
...ode) {
> +                unsigned *size, unsigned **code, bool omitLineNum) {
>     struct nv50_ir_prog_info info = {0};
>     int ret;
>
> @@ -122,6 +122,7 @@ nouveau_codegen(int chipset, int type, struct tgsi_token tokens[],
>
>     info.optLevel = debug_get_num_option("NV50_PROG_OPTIMIZE", 3);
>     info.dbgFlags = debug_get_num_option("NV50_PROG_DEBUG", 0);
> +   info.omitLineNum = omitLineNum;
>
>     ret = nv50_ir_generate_code(&info);
>     if (ret) {
> @@ -143,10 +144,13 @@ main(int argc, char *argv[])
>     FILE *f;
>     char text[6...
2014 Mar 04
18
[Bug 75776] New: Hearthstone displays corrupted buffers on NVA5
https://bugs.freedesktop.org/show_bug.cgi?id=75776
          Priority: medium
            Bug ID: 75776
          Assignee: nouveau at lists.freedesktop.org
           Summary: Hearthstone displays corrupted buffers on NVA5
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: lubosz at gmail.com
          Hardware: Other
            Status: NEW