Commit graph

40 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
penguindark
790895782d
examples.sokol: add sampler to the 02_cube code (fix #21547) (#21853) 2024-07-12 17:27:48 +03: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
775b25e11b
sokol: update to match uptream at 9e0f1b4 (#19687) 2023-10-28 17:15:46 +03:00
Alexander Medvednikov
545ee1ae23 checker: stricter rules for C types; C aliases; sokol fixes 2023-10-14 18:31:44 +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
yuyi
18e60e77de
fmt: remove inline comments (#19263) 2023-09-03 23:51:56 +03:00
Turiiya
993546a0a2
examples: fix typos (#18229) 2023-05-25 16:54:46 +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
Delyan Angelov
7f91db695c
examples, tests: small formatting cleanup in cube_glsl.v , remove already fixed skips in v test-cleancode, before // vfmt off and // vfmt on 2022-11-04 14:48:20 +02:00
Swastik Baranwal
b584e1df98
checker: allow EnumName(number) casts only inside unsafe{} blocks (#15932) 2022-10-02 22:39:11 +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
88a973b617
sokol: type alias all sgl structs, support sgl_context (#13018) 2022-01-03 15:05:24 +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
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
a016ac39c0
examples: change byteptr to &byte in sokol examples and regex (#9606) 2021-04-05 18:17:45 +03: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
Alexander Medvednikov
60a8881326 examples: fix and vfmt cube_glsl example 2021-02-17 06:47:41 +01:00
penguindark
325aef6d41
gg: add gg.m4, use it in the sokol GLSL examples (#8755) 2021-02-15 15:40:28 +02:00
Renamed from examples/sokol/cube.v (Browse further)