aboutsummaryrefslogtreecommitdiff
path: root/bindgen
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2025-03-08 12:57:57 +0100
committerGitHub <noreply@github.com>2025-03-08 12:57:57 +0100
commitd5863cb78ea1552558c81d6db780dfcec49557ce (patch)
tree25639c3250d0677da66ea11618f6cd7b62a671f9 /bindgen
parent123f30c5166f65844a201246d244bda83ddf5f69 (diff)
parent550fe36fbbe3eb7cdf640d838fffc9fb7abaea86 (diff)
Merge pull request #1200 from floooh/sgcompute
compute shader support
Diffstat (limited to 'bindgen')
-rw-r--r--bindgen/gen_d.py3
-rw-r--r--bindgen/gen_rust.py3
2 files changed, 6 insertions, 0 deletions
diff --git a/bindgen/gen_d.py b/bindgen/gen_d.py
index f7e57503..d5291a34 100644
--- a/bindgen/gen_d.py
+++ b/bindgen/gen_d.py
@@ -64,6 +64,9 @@ overrides = {
'sg_draw.base_element': 'uint32_t',
'sg_draw.num_elements': 'uint32_t',
'sg_draw.num_instances': 'uint32_t',
+ 'sg_dispatch.num_groups_x': 'uint32_t',
+ 'sg_dispatch.num_groups_y': 'uint32_t',
+ 'sg_dispatch.num_groups_z': 'uint32_t',
'sshape_element_range_t.base_element': 'uint32_t',
'sshape_element_range_t.num_elements': 'uint32_t',
'sdtx_font.font_index': 'uint32_t',
diff --git a/bindgen/gen_rust.py b/bindgen/gen_rust.py
index d75a7745..fde0564b 100644
--- a/bindgen/gen_rust.py
+++ b/bindgen/gen_rust.py
@@ -62,6 +62,9 @@ overrides = {
"sg_draw.base_element": "uintptr_t",
"sg_draw.num_elements": "uintptr_t",
"sg_draw.num_instances": "uintptr_t",
+ "sg_dispatch.num_groups_x": "uintptr_t",
+ "sg_dispatch.num_groups_y": "uintptr_t",
+ "sg_dispatch.num_groups_z": "uintptr_t",
"sshape_element_range_t.base_element": "uintptr_t",
"sshape_element_range_t.num_elements": "uintptr_t",
"sdtx_font.font_index": "uintptr_t",