aboutsummaryrefslogtreecommitdiff
path: root/sokol_gfx.h
Commit message (Collapse)AuthorAgeFilesLines
* sokol_gfx.h: fix comment typoAndre Weissflog3 days1-1/+1
|
* Dual-source-blending (#1426)Andre Weissflog2026-01-261-0/+65
|
* sokol_gfx.h vk: fix catastrophic performance of uniform updates on Intel ↵Andre Weissflog2026-01-241-40/+61
| | | | Windows driver. (#1424)
* Vulkan backend: enable debug object labels. (#1422)Andre Weissflog2026-01-241-6/+29
|
* feature: expose Metal CommandQueueLuigi Rosso2026-01-201-0/+14
|
* sokol_gfx/app.h: update vulkan backend build instructionsAndre Weissflog2026-01-191-3/+16
|
* sokol_app/gfx.h: vulkan build instructionsAndre Weissflog2026-01-191-0/+1
|
* sokol_gfx.h vk: windows supportAndre Weissflog2026-01-191-18/+18
|
* sokol_gfx.h gl: fix iOS build (don't define _SOKOL_GL_HAS_COLORMASKI on iOS)Andre Weissflog2026-01-191-1/+1
|
* sokol_gfx.h gl: simplify glColorMask vs glColorMaski codeAndre Weissflog2026-01-191-28/+17
|
* Merge branch 'gles32_mrt_colormask' of github.com:luigi-rosso/sokol into ↵Andre Weissflog2026-01-191-1/+29
|\ | | | | | | luigi-rosso-gles32_mrt_colormask
| * fix: enable MRT independent write mask on GLES 3.2+Luigi Rosso2026-01-151-1/+29
| |
* | fix: clear depth attachments before switching types on all gl implementationsLuigi Rosso2026-01-151-6/+4
| |
* | fix: GLES3 FBO depth attachment switchingLuigi Rosso2026-01-141-0/+10
|/
* Merge pull request #1397 from floooh/issue1367/wgpu-cleanupAndre Weissflog2025-12-131-274/+169
|\ | | | | WebGPU cleanup round
| * sokol_gfx.h wgpu: fix debug buildAndre Weissflog2025-12-101-1/+0
| |
| * sokol_gfx.h wgpu: remove unused vars in _sg_wgpu_apply_uniformsAndre Weissflog2025-12-091-2/+0
| |
| * sokol_gfx.h wgpu: delay setting uniforms bindgroup to draw/dispatchAndre Weissflog2025-12-091-44/+54
| |
| * sokol_gfx.h wgpu: remove cubemap special case for depthOrArrayLayers in ↵Andre Weissflog2025-12-091-5/+1
| | | | | | | | _sg_wgpu_create_image
| * sokol_gfx.h wgpu: clear unused vertex buffer slots, remove special 'empty ↵Andre Weissflog2025-12-091-21/+8
| | | | | | | | bindgroup'
| * sokol_gfx.h wgpu: remove redundant _sg_wgpu_copy_image_data wgpu_tex argAndre Weissflog2025-12-091-4/+4
| |
| * sokol_gfx.h: use _SG_STRUCT for all struct definitionsAndre Weissflog2025-12-081-200/+105
| |
* | sokol_gfx.h: add assert in _sg_validate_pipeline_desc (fixes #1404)Andre Weissflog2025-12-131-0/+1
| |
* | sokol_gfx.h: fix another gap in assert check (fixes #1405)Andre Weissflog2025-12-131-1/+1
| |
* | sokol_gfx.h: fix another gap in assert check (potentially fixes #1407)Andre Weissflog2025-12-131-1/+1
| |
* | sokol_gfx.h: fix gap in assert check (fixes #1406)Andre Weissflog2025-12-131-1/+1
|/
* sokol_gfx.h: protect sg_setup and sg_shutdown from being called twice (fixes ↵Andre Weissflog2025-12-071-0/+2
| | | | #1378)
* sokol_gfx.h gl: move assert into right place (fixes #1395)Andre Weissflog2025-12-061-1/+1
|
* fix typo in _sg_gl_create_shaderJulianiolo2025-12-061-1/+1
|
* sokol_gfx.h vk: fix vulkan backend compile errorsAndre Weissflog2025-12-061-3/+3
|
* sokol_gfx.h: frame stats rework wipAndre Weissflog2025-12-041-232/+254
|
* Merge branch 'master' into experimental-vulkanAndre Weissflog2025-12-021-11/+20
|\
| * sokol_gfx.h gl: when clearing framebuffer slots in begin-pass, also clear ↵Andre Weissflog2025-12-021-1/+3
| | | | | | | | the renderbuffer attachments
| * fix(gl): detach unused FBO attachments in _sg_gl_begin_passetherbound-dev2025-12-011-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The GL backend uses a single shared FBO for all offscreen passes. When switching from a pass with depth-stencil to one without, the old depth-stencil attachment remained bound, causing rendering to be clipped to the smaller attachment's dimensions. This fix explicitly detaches: - Unused color attachment slots (beyond num_color_views) - Depth-stencil attachment when not used in the current pass Fixes rendering clipping when mixing render targets with and without depth-stencil attachments in the same frame. Reproduction: https://github.com/etherbound-dev/sokol-depth-stencil-bug
| * sokol_gfx.h gl: fix signed/unsigned warning on clang/gccAndre Weissflog2025-11-271-1/+1
| |
| * sokol_gfx.h gl: fix glDrawBuffers for the case that no color attachments are ↵Andre Weissflog2025-11-271-11/+10
| | | | | | | | used
* | sokol_gfx.h: fix VALIDATE_BEGINPASS_COLORATTACHMENTVIEW_SAMPLECOUNT human ↵Andre Weissflog2025-11-201-1/+1
| | | | | | | | readable message
* | sokol_app/gfx/glue.h: rename sapp_swapchain_next() to sapp_get_swapchain() ↵Andre Weissflog2025-11-201-8/+8
| | | | | | | | and sglue_swapchain_next() to sglue_swapchain()
* | sokol_gfx.h: move backend specific setup params into nested structs of sg_descAndre Weissflog2025-11-191-55/+98
| |
* | sokol_gfx.h vk: use a mem-type arg in _sg_vk_mem_alloc_device_memoryAndre Weissflog2025-11-191-29/+78
| |
* | sokol_gfx.h vk: code cleanup (_SG_STRUCT)Andre Weissflog2025-11-191-146/+80
| |
* | Merge branch 'master' into experimental-vulkanAndre Weissflog2025-11-191-26/+52
|\|
| * add a missing validation layer check in sg_begin_pass (fixes: #1365)Andre Weissflog2025-10-241-2/+4
| |
| * sokol_gfx.h gl: fix static GL feature detection definesAndre Weissflog2025-10-231-10/+26
| |
| * sokol_gfx.h wgpu: remove viewport clipping, no longer neededAndre Weissflog2025-10-231-9/+4
| |
| * sokol_gfx.h gl: fix missing _SOKOL_GL_HAS_* defines when ↵Andre Weissflog2025-10-101-15/+28
| | | | | | | | SOKOL_EXTERNAL_GL_LOADER defined (fixes #1345)
* | sokol_gfx.h vk: fix remaining sync-validation errorsAndre Weissflog2025-11-181-41/+18
| |
* | sokol_gfx.h vk: fix syncval errors for offscreen renderingAndre Weissflog2025-11-181-4/+12
| |
* | sokol_gfx.h vk: fix syncval errors for swapchain depth bufferAndre Weissflog2025-11-181-11/+5
| |
* | sokol_gfx.h vk: fix color attachment syncval errorAndre Weissflog2025-11-181-4/+4
| |