Update kong

This commit is contained in:
luboslenco
2025-07-24 16:03:34 +02:00
parent 8d31cb8343
commit 9fa5323aca
+4 -2
View File
@@ -2006,7 +2006,8 @@ void hlsl_export(char *directory, api_kind d3d, bool debug) {
int compile_hlsl_to_d3d12(const char *source, uint8_t **output, size_t *outputlength, shader_stage stage, bool debug) { return 0; }
static char *hlsl_export_vertex2(api_kind d3d, function *main, bool debug) {
char *hlsl = (char *)calloc(1024 * 1024, 1);
static char _buffer[1024 * 1024];
char *hlsl = &_buffer[0];
size_t offset = 0;
assert(main->parameters_size > 0);
@@ -2027,7 +2028,8 @@ static char *hlsl_export_vertex2(api_kind d3d, function *main, bool debug) {
}
static char *hlsl_export_fragment2(api_kind d3d, function *main, bool debug) {
char *hlsl = (char *)calloc(1024 * 1024, 1);
static char _buffer[1024 * 1024];
char *hlsl = &_buffer[0];
size_t offset = 0;
assert(main->parameters_size > 0);