Commit Graph

265 Commits

Author SHA1 Message Date
Branimir Karadžić d1feabe319 Rebuilt shaders. 2024-06-15 14:47:08 -07:00
Бранимир Караџић 00fa5ad179 Updated SPIR-V shaders. 2024-05-27 22:32:47 -07:00
Бранимир Караџић edb72488bc macOS: Fixed VK (MoltenVK 1.2.6). 2023-12-01 20:51:28 -08:00
Branimir Karadžić c54063b88c Updated texture. 2023-11-08 07:14:30 -08:00
Branimir Karadžić 1e800e8ba9 Rebuilt assets. 2023-11-06 21:37:19 -08:00
Бранимир Караџић f14c14a485
Removed D3D9. (#3191) 2023-11-03 21:15:42 -07:00
Branimir Karadžić 6f2716d2f4 Rebuilt shaders. 2023-09-30 16:54:57 -07:00
Бранимир Караџић d909d01734 Metal: Rebuilt shaders. 2023-04-12 19:23:57 -07:00
Бранимир Караџић 6a03a1ec5e Rebuilt Metal shaders. 2022-10-29 09:17:29 -07:00
Бранимир Караџић 0069766e61 Rebuilt SPIR-V shaders. 2022-10-29 09:03:13 -07:00
Бранимир Караџић f8af71c4ce Rebuilt SPIR-V shaders. 2022-10-27 19:44:24 -07:00
Raziel Alphadios c2bc5177b5
Add support for remaining unsupported ASTC formats (#2963)
* Add support for remaining unsupported ASTC formats
Add new ASTC formats into pixelformats example and ninja scripts
Rebuild ASTC textures

* Update idl and generate
Move comma in pixelformats

Co-authored-by: Raziel Alphadios <raziely@gmail.com>
2022-10-25 17:03:40 -07:00
pezcode ba467be036
Add support for indirect draw with indirect count (#2925)
* Add indirect draw with indirect count (BGFX_CAPS_DRAW_INDIRECT_COUNT)

* Update bindings

* VK: Add support for BGFX_CAPS_DRAW_INDIRECT_COUNT

* D3D12: Add support for BGFX_CAPS_DRAW_INDIRECT_COUNT

* GL: Add support for BGFX_CAPS_DRAW_INDIRECT_COUNT

* 48-drawindirect: Use BGFX_CAPS_DRAW_INDIRECT_COUNT if available

* 48-drawindirect: Update shaders
2022-09-17 18:16:19 -07:00
blackhole 2b11045331
Example 49 - hextile (Changes to fix regular tiling (tiling rate) to match hex tile rate) (#2924) 2022-09-16 13:48:19 -07:00
blackhole a8a10b0b89
Adds example 49-hextile (#2922)
* First commit - tested with dx11 on windows

* Minor changes & adding some comments.

* Update hextile.cpp

* update some bin files

* rename texture

* minor comment update

* Added support to configure tile rate as well as tile rotation strength, update bin files & screenshot

* use texture from polyhaven, updated screenshot, updated bin files & minor changes to shader.

* missed pushing texture

* update license

* Update hextile.cpp

* Fix regular tiling

* use ktx with mipmaps

* minor change to ensure that regular tiling & hextile matches with default tile rate.

* minor c

Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2022-09-15 19:03:07 -07:00
SnapperTT 4613bd1e02
Parallelised compute shader in example 48 (#2906)
* Parallelised compute shader in example 48

* Ex48 - Dispatch numToDraw/64 workgroups of 64 local threads

* fixed vs build (again)
2022-08-29 06:44:55 -07:00
SnapperTT 135dc7fa27
Adds example 48-multidrawindirect (#2894)
* Added example 48-multidrawindirect

* Added example 48-multidrawindirect

* enable shader.mk to build directories that only have compute shaders

* compiled shaders for example 48

* MultidrawIndirect example renamed to DrawIndirect, sets draw mtx in compute

* update 48-drawindirect shaders

* fix typos

* fixed bgfx::setPlatformData change for example48

* fix docs

* added name to cs_drawindirect.sc

* style updates for example 44

* add slider to example 48-drawindirect
2022-08-26 21:32:15 -07:00
Michał Cichoń c8c245c37b
pixelformat: Include compressed format in texture sets (#2893)
* pixelformat: Include compressed format in texture sets

* pixelformats: Show why texture preview is not shown
2022-08-25 06:51:48 -07:00
Michał Cichoń 549077fc0b
Pixelformats example mupltiple sources (#2889)
* Added texture conversion for pixelformat to runtime asset.

* pixelformats: Support multiple sources, cleanup
2022-08-23 12:51:00 -07:00
Бранимир Караџић 664bb5ca21 39-assao: Rebuilt spir-v shaders. 2022-05-25 09:24:31 -07:00
Бранимир Караџић 04318d22c1 Rebuilt shaders. 2022-03-26 13:46:02 -07:00
Aleš Mlakar 130bc00608
shaderc: Ignore .@data uniforms when compiling for metal (#2677)
Co-authored-by: Aleš Mlakar <ales.ambits@gmail.com>
2021-12-06 09:39:05 -08:00
Бранимир Караџић 73acc9e59b 41-tess: Updated GL shaders. 2021-11-21 07:58:19 -08:00
Branimir Karadžić 1d0d9b7149 21-deferred: Rebuilt shaders. 2021-10-28 18:40:46 -07:00
Branimir Karadžić 4f1b3f8a1b 37-gpudrivenrendering: Rebuilt shaders. 2021-10-22 11:33:10 -07:00
Branimir Karadžić 778dffb6ee 46-fsr: Built shaders. 2021-10-06 17:40:15 -07:00
Бранимир Караџић f50d84da52 Rebuilt SPIR-V shaders. 2021-10-02 11:31:52 -07:00
Branimir Karadžić daa4f9d627 Updated shaders. 2021-05-18 20:36:03 -07:00
Бранимир Караџић 3214539bad Fixing WebGL + Android instancing. 2021-05-18 20:22:46 -07:00
Branimir Karadžić 3e30d7f42f Updated shaders. 2021-02-04 20:35:37 -08:00
Branimir Karadžić 820e0a0e03 Updated shaders. 2021-02-04 20:33:42 -08:00
Branimir Karadžić 1401a5333d 45-bokeh: Built shaders and added example. 2021-01-31 10:07:49 -08:00
Branimir Karadžić 4c18b80c9d 44-sss: Built shaders and added example to GENie script. 2021-01-10 11:24:28 -08:00
Branimir Karadžić 4760628bb1 43-denoise: Added shaders. 2021-01-02 10:46:43 -08:00
Бранимир Караџић c2b7ffe2e7 Updated SPIR-V and Metal shaders. 2020-12-28 13:01:44 -08:00
Josh Jensen c103383f6f
Add SDF font outlines, drop shadows, and image glyphs (#2325)
* Implement SDF font outlines, drop shadows, and image glyphs

* Update 11-fontsdf to showcase the SDF outlines, drop shadows, and image glyphs

Co-authored-by: Josh Jensen <josh@everrush.com>
2020-12-13 17:02:36 -08:00
Branimir Karadžić 729c6b98ed Rebuilt shaders. 2020-10-04 22:39:41 -07:00
Бранимир Караџић 76e355e11f Updated Metal shaders. 2020-05-03 14:20:48 -07:00
Бранимир Караџић cf170738b1 Updated Vulkan shaders. 2020-05-03 14:20:25 -07:00
attilaz 75d5662f0b Metal: added support for binding buffers to vertex/fragment shader stages
I have removed the SamplerInfo workaround, because new shaderc preserves texture stages. Some shaders needed recompile with latest shaderc to get the new behavior.
2019-08-16 06:58:44 -07:00
Бранимир Караџић e9a199d22b VK: Added 21-deferred shaders. 2019-08-15 21:55:01 -07:00
Бранимир Караџић 6f1485190f VK: Added compute shaders. 2019-08-13 20:32:22 -07:00
Бранимир Караџић 3ea3f32c06 VK: Added compute shaders. 2019-08-13 20:00:48 -07:00
Бранимир Караџић 4ed381b2e9 VK: Added compute shaders. 2019-08-13 19:34:59 -07:00
Бранимир Караџић 4986981378 VK: Added compute shaders. 2019-08-13 18:47:21 -07:00
Бранимир Караџић 73362c3989 Rebuilt shaders. 2019-08-10 10:26:00 -07:00
Бранимир Караџић 0e673379d6 Added SPIRV shaders. 2019-08-07 21:53:56 -07:00
Бранимир Караџић d1ab7164af 09-hdr: Added SPIRV shaders. 2019-08-07 07:00:06 -07:00
Бранимир Караџић 3c93448183 Added few spirv shaders. 2019-08-05 22:12:46 -07:00
Бранимир Караџић f3955fca15 41-tess: Added metal shaders. 2019-07-24 19:53:13 -07:00