mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 17:20:21 +01:00
r600g: dump vertex elements state along with the fetch shader
This commit is contained in:
parent
3f0a51d677
commit
65b2a449bc
1 changed files with 8 additions and 0 deletions
|
|
@ -28,6 +28,7 @@
|
|||
|
||||
#include <errno.h>
|
||||
#include <byteswap.h>
|
||||
#include "util/u_dump.h"
|
||||
#include "util/u_memory.h"
|
||||
#include "pipe/p_shader_tokens.h"
|
||||
|
||||
|
|
@ -2333,6 +2334,13 @@ void *r600_create_vertex_fetch_shader(struct pipe_context *ctx,
|
|||
|
||||
if (rctx->screen->debug_flags & DBG_FS) {
|
||||
fprintf(stderr, "--------------------------------------------------------------\n");
|
||||
fprintf(stderr, "Vertex elements state:\n");
|
||||
for (i = 0; i < count; i++) {
|
||||
fprintf(stderr, " ");
|
||||
util_dump_vertex_element(stderr, elements+i);
|
||||
fprintf(stderr, "\n");
|
||||
}
|
||||
|
||||
r600_bytecode_disasm(&bc);
|
||||
fprintf(stderr, "______________________________________________________________\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue