Commit graph

31 commits

Author SHA1 Message Date
Delyan Angelov
a80bc23314
tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test, v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918) 2025-03-13 19:51:51 +02:00
Delyan Angelov
0ffc33a5c9
examples, gg, gg.m4: fix VFLAGS='-no-skip-unused -cstrict -cc clang-18' v should-compile-all examples/sokol/ too 2025-03-06 19:58:25 +02:00
yuyi
79786732ef
all: replace struct field name '@type' with 'type' (#22485) 2024-10-11 08:53:18 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields (#22025) 2024-08-11 09:11:24 +03:00
Delyan Angelov
83978a8d86 examples: improve initial camera position for examples/sokol/05_instancing_glsl/rt_glsl.v 2024-03-08 12:41:32 +02:00
Larpon
790ea2f1bd
sokol, gg, examples: update to match uptream at 058a4c5 (#20953) 2024-03-05 17:04:05 +02:00
Delyan Angelov
77b8097f51
examples: cleanup the glsl includes in the sokol examples 2024-01-29 03:55:09 +02:00
Delyan Angelov
4f7476eaa3
examples: cleanup compiler notices for all sokol examples 2024-01-29 03:42:47 +02:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
Larpon
3c68e78f32
sokol: fix usage of sokol sampler (#19527) 2023-10-07 21:05:30 +03:00
Alexander Medvednikov
0bf85d049e sokol: upgrade to latest version, fix all related issues 2023-10-05 20:22:49 +03:00
Delyan Angelov
b52b8429d4
vfmt: implement support for // vfmt off and // vfmt on, with it, v fmt -w . now works. (#16335) 2022-11-05 09:08:01 +03:00
Larpon
816e9319d7
cgen: remove the need for [console] for gg or ui programs on windows (#15912) 2022-09-29 15:02:50 +03:00
shove
8b962f8446
checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
Alexander Medvednikov
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
Larpon
faaa7035c4
examples: fix segmentation fault crash on exit in sokol 0X_ examples (#13299) 2022-01-27 19:46:55 +02:00
Larpon
b44b8c472d
examples: use vmemset instead of C.memset (#13104) 2022-01-09 16:08:11 +02:00
Larpon
5cffa1a2e4
sokol: use V type for SG_SHADERSTAGE_[VS|FS] (#13086) 2022-01-07 19:52:44 +02:00
Larpon
4d4398fa8a
sokol: type alias all gfx structs (#13014) 2022-01-02 20:36:01 +02:00
Larpon
83260e5074
docs: add link to shader inclusion example (#12613) 2021-11-29 18:26:32 +02:00
Enzo
e3b65092d6
parser: deprecate size_t (#11443) 2021-09-08 13:09:32 +03:00
Daniel Däschle
800c0e5092
vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
Delyan Angelov
f18265e6a8
gg: remove obsolete usages of use_ortho: true 2021-06-24 11:15:12 +03:00
Don Park
aebb551e93
cgen: do full struct initialisation for V structs, fixes invalid data from map[string]Struct{}['unknown'] (#9878) 2021-04-27 08:18:48 +03:00
Uwe Krüger
3c0a368af3
all: automatically move (some) referenced objects to heap (#9873) 2021-04-25 21:40:38 +03:00
Delyan Angelov
d4f31412b7
v: deprecate @VROOT in favour of @VMODROOT (#9795) 2021-04-19 19:01:47 +03:00
penguindark
73238a81e2
examples: sokol: update the comments on how to compile the shaderes (#9633) 2021-04-08 02:11:41 +02:00
Larpon
8caabf0e9e
sokol: update to floooh/sokol@c602d83 (#9607) 2021-04-07 20:39:23 +02:00
penguindark
a2ef9967fe
examples: add .obj viewer as a sokol example (#9456) 2021-03-25 16:53:13 +01:00
penguindark
1d69a0bd22
gg: window_size_real_pixels that for 3D without dpi scaling (#9004) 2021-02-27 22:11:26 +01:00
penguindark
198b395cde
examples: add examples/sokol/05_instancing_glsl, cleanup code (#8809) 2021-02-18 11:11:26 +02:00