I tried to track down that define in git history, but there weren't many clues.
That define seems to go all the way back to softpipe (see `#define
SP_MAX_VBUF_SIZE4096` on src/gallium/drivers/softpipe/sp_prim_vbuf.c added
on
https://gitlab.freedesktop.org/mesa/mesa/commit/2d37e78e636e5e1e7
From: Karol Herbst
Split out the output relevant fields from the nv50_ir_prog_info struct
in order to have a cleaner separation between the input and output of
the compilation.
Signed-off-by: Karol Herbst
---
.../drivers/nouveau/codegen/nv50_ir.cpp | 49 ++--
src/gallium/drivers/nouveau
Adds functions for serializing and deserializing
nv50_ir_prog_info_out structure, which are needed for shader caching.
Signed-off-by: Mark Menzynski
---
.../drivers/nouveau/codegen/nv50_ir_driver.h | 44
.../nouveau/codegen/nv50_ir_emit_gk110.cpp| 14 +-
.../nouveau/codegen/nv50_ir_e
Overwrite function for this type was missing and I needed it for my project.
Signed-off-by: Mark Menzynski
---
src/util/blob.c | 9 +
src/util/blob.h | 15 +++
2 files changed, 24 insertions(+)
diff --git a/src/util/blob.c b/src/util/blob.c
index 94d5a9dea74..5bf4b924c91 1
Adds a function for printing nv50_ir_prog_info_out structure
in JSON-like format, which could be used in debugging.
Signed-off-by: Mark Menzynski
---
.../drivers/nouveau/codegen/nv50_ir_driver.h | 3 +
.../drivers/nouveau/codegen/nv50_ir_print.cpp | 153 ++
2 files changed, 15
Adds shader disk caching for nvc0 to reduce the need to every time compile
shaders. Shaders are saved into disk_shader_cache from nvc0_screen structure.
It serializes the input nv50_ir_prog_info to compute the hash key and
also to do a byte compare between the original nv50_ir_prog_info and the on
I was getting errors with "boolean" when compiling. This patch changes
boolean to bool from .
Signed-off-by: Mark Menzynski
---
src/gallium/auxiliary/tgsi/tgsi_util.c | 2 +-
src/gallium/auxiliary/tgsi/tgsi_util.h | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/gall
Adds a function for serializing a nv50_ir_prog_info structure, which is
needed for shader caching.
Signed-off-by: Mark Menzynski
---
.../drivers/nouveau/codegen/nv50_ir_driver.h | 4 +
.../nouveau/codegen/nv50_ir_serialize.cpp | 81 +++
2 files changed, 85 insertions(+)
di