Commit Graph

8302 Commits

Author SHA1 Message Date
Бранимир Караџић
8274f8a6e2 Updated vulkan headers. 2022-05-08 09:43:45 -07:00
Бранимир Караџић
189b020b90 Updated spirv-cross. 2022-05-08 09:43:45 -07:00
Бранимир Караџић
557b9743fb Updated spirv-tools. 2022-05-08 09:43:45 -07:00
Бранимир Караџић
4dbb926746 Updated spirv-headers. 2022-05-08 09:43:45 -07:00
Бранимир Караџић
70732ad420 Updated glslang. 2022-05-08 09:43:45 -07:00
Бранимир Караџић
71fc5457e6 Updated cgltf. 2022-05-08 09:43:44 -07:00
slewicki
bd8ed86009
Changed WGL_STENCIL_BITS_ARB to match what gets used in createContext (#2791)
On Mesa, the pixel format would match the 0 stencil bits as requested. This change helps bring the pixel format to match what `createContext` would use.
2022-05-06 09:21:05 -07:00
Бранимир Караџић
560669f6c0 Cleanup. 2022-05-02 08:50:47 -07:00
Бранимир Караџић
379fc707ff Updated README. 2022-05-01 08:10:39 -07:00
Branimir Karadžić
fe8cab2522 Manually merged PR #2710. 2022-04-26 19:15:15 -07:00
Бранимир Караџић
b8fdc3f8be Cleanup. 2022-04-25 21:13:29 -07:00
Kitchen
35c27cda3d
Metal merge texture format (#2785)
* need check texture format is support read/write

* move read write check to s_textureFormat

* add check BGFX_CAPS_IMAGE_RW

* remove custom read write mask as MTLReadWriteTextureTier

* remove ReadWriteTierMask struct
2022-04-25 19:21:20 -07:00
Бранимир Караџић
ed5e2694dc Cleanup. 2022-04-25 07:19:18 -07:00
Kitchen
f76b678bef
support Metal renderer to auto generate mipmap for render target (#2784)
* support render target auto generate mipmap

* move autoGenMipmap check to s_textureFormat table
2022-04-25 07:11:14 -07:00
Sami Kyöstilä
09d8c34e34
GL: Properly reset FBO after emulated blit (#2782)
Reset the previously bound FBO after rendering an emulated blit instead
of binding the default framebuffer.

Co-authored-by: Sami Kyöstilä <sami.kyostila@unrealvoodoo.org>
2022-04-23 07:25:46 -07:00
Kitchen
33dd76eab5
fix metal renderer set image bug (#2779)
* fix metal renderer set image type bug

* add Binding::Image access check

* move s_accessNames outside of scope
2022-04-22 06:56:35 -07:00
Kitchen
2568ce7311
fix image is not set in pipeline state object in metal renderer (#2780)
* always set pipeline state object 'm_bindingTypes' when argument is texture

* fix the typo error casue cash
2022-04-21 20:11:37 -07:00
TooMuchVoltage Software Inc
f6e0db1969
Fixing shadow2DProj in GLSL (#2775)
Removing erroneous extra bracket for aliasing shadow2DProj in GLSL. Would have caused compilation failure if used.
2022-04-20 06:33:17 -07:00
云风
676df636d2
rename rearrangeIndices() to remapIndices() (#2773) 2022-04-18 17:37:29 -07:00
云风
c6d66c2483
bugfix and remove mergeIndices() (#2772) 2022-04-18 12:57:25 -07:00
云风
cae7c83f89
bugfix : weldVert and array_push (#2769) 2022-04-15 07:22:43 -07:00
Jared Miller
c084dd2616
Update Zig binding generation (#2765) 2022-04-08 06:41:00 -07:00
Ravbug
e7fdfa73c1
Add support in Metal and Vulkan for [earlydepthstencil] (#2764) 2022-04-07 09:42:04 -07:00
Бранимир Караџић
f3c07a1da6 Cleanup. 2022-04-06 18:55:46 -07:00
Бранимир Караџић
5404a29540 Updated version number. 2022-04-06 18:54:03 -07:00
ichordev
d038172603
Docs update 2B (#2761)
* D binds: expanded enums; added some C++ pre-processor functions

* Updated D bindings files

* Re-updated tools.rst to match tool help output

texturec update next
2022-04-06 04:30:18 -07:00
Бранимир Караџић
5a4db33206 geometryc: Fixed missing quote. 2022-04-05 10:27:21 -07:00
ichordev
7a5fec1580
Documentation update 2 (#2756)
* Reworded & reformatted bgfx.rst for better clarity

* Reworded for clarity; made option format more consistent

* Added one character!

* Updated shaderc help

Will update docs to 100% match soon

* Updated geometryc's help

Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2022-04-04 12:57:00 -07:00
Catalin Moldovan
11ba8de2d1
Shaderc console out (#2758)
* Add support to output compiled shader to stdout

* Whitespace formating fixes

* Updated shaderc cli stdout output option to "--stdout"
2022-04-04 12:52:44 -07:00
Бранимир Караџић
cb857c3cd3 Updated docs. 2022-04-03 18:50:04 -07:00
Бранимир Караџић
9dc93eb0b1 Updated IDL bindings. 2022-04-03 18:46:29 -07:00
Бранимир Караџић
822dce26e5 Updated spirv-cross. 2022-04-03 18:45:27 -07:00
Бранимир Караџић
0a26666409 Updated spirv-tools. 2022-04-03 18:45:27 -07:00
Бранимир Караџић
a710e11630 Updated glslang. 2022-04-03 18:45:27 -07:00
Catalin Moldovan
21f5f941bb
Added zig bindings generation (#2757) 2022-04-03 18:42:43 -07:00
Miguel Ángel
5ae2271667
Replaced VK_FORMAT_D24_UNORM_S8_UINT with the more supported VK_FORMAT_D32_SFLOAT_S8_UINT (#2755)
Co-authored-by: Miguel Ángel Pérez Martínez <miguel_angel_perez_martinez@not_an_email.com>
2022-04-01 07:27:42 -07:00
Бранимир Караџић
6940ddd85e Cleanup. 2022-03-31 20:21:32 -07:00
Бранимир Караџић
6601587af0 Added docs source. 2022-03-31 19:22:38 -07:00
Бранимир Караџић
f86499b726 Updated version number. 2022-03-31 18:42:28 -07:00
Бранимир Караџић
eed8ed95dd Updated bindings. 2022-03-31 18:41:55 -07:00
Christophe Dehais
f44818b548
Import glDrawBuffers() from WEBGL_draw_buffers extension (#2667) 2022-03-31 18:27:24 -07:00
Miguel Ángel
3ec6d59b47
Added "texture2DArray" to the list of deprecated functions that need to be changed to "texture" (#2715)
Co-authored-by: Miguel Ángel Pérez Martínez <miguel_angel_perez_martinez@not_an_email.com>
2022-03-31 18:25:35 -07:00
ichordev
81c6610293
Minor rewording & increase of clarity (#2752)
* Minor rewording & increase of clarity

* Corrected a noun that was being used as a verb

* Slight rewording of the C99 bindings notices

* Actually, this sounds better & looks nicer
2022-03-31 18:07:21 -07:00
James Fulop
d9cdc67993
add missing semicolon (#2751) 2022-03-30 07:26:40 -07:00
Sandy
251e35ae09
Fixes for shader texture array in GLES3 (#2750)
* opengl: use texture for texture2DArray

* shaderc: Add default precision for sampler2DArray on GLES3
2022-03-29 13:14:21 -07:00
Sandy
c0cbaf2a43
gl: Get maxTextureLayers on versions 3.0 and up (#2749) 2022-03-29 10:57:33 -07:00
Бранимир Караџић
04318d22c1 Rebuilt shaders. 2022-03-26 13:46:02 -07:00
Бранимир Караџић
eb76255063 Fixed typo. 2022-03-26 13:45:48 -07:00
pezcode
d7a8e50d26
Fix resource register macro expansion (#2747)
The preprocessor library (fcpp) has issues with ## and doesn't expand
properly. We can work around that by using the [reg] syntax which is
supported for all shader targets that internally use HLSL through glslang.
2022-03-22 20:47:29 -07:00
Бранимир Караџић
3cc0de3335 Updated spirv-tools. 2022-03-19 09:06:28 -07:00