mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-28 09:40:21 +01:00
nv50: disable shader debug
This commit is contained in:
parent
08b6534bc8
commit
b01d0077af
1 changed files with 7 additions and 1 deletions
|
|
@ -32,7 +32,7 @@
|
|||
#include "nv50_context.h"
|
||||
|
||||
#define NV50_SU_MAX_TEMP 64
|
||||
#define NV50_PROGRAM_DUMP
|
||||
//#define NV50_PROGRAM_DUMP
|
||||
|
||||
/* ARL - gallium craps itself on progs/vp/arl.txt
|
||||
*
|
||||
|
|
@ -1602,13 +1602,19 @@ nv50_program_validate_code(struct nv50_context *nv50, struct nv50_program *p)
|
|||
if (!upload)
|
||||
return;
|
||||
|
||||
#ifdef NV50_PROGRAM_DUMP
|
||||
NOUVEAU_ERR("-------\n");
|
||||
up = ptr = MALLOC(p->exec_size * 4);
|
||||
for (e = p->exec_head; e; e = e->next) {
|
||||
NOUVEAU_ERR("0x%08x\n", e->inst[0]);
|
||||
if (is_long(e))
|
||||
NOUVEAU_ERR("0x%08x\n", e->inst[1]);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
up = ptr = MALLOC(p->exec_size * 4);
|
||||
for (e = p->exec_head; e; e = e->next) {
|
||||
*(ptr++) = e->inst[0];
|
||||
if (is_long(e))
|
||||
*(ptr++) = e->inst[1];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue