Commit Graph

694 Commits

Author SHA1 Message Date
Branimir Karadžić
6d8e61b16a D3D11: Fixed shaderc. (#3559) 2026-01-20 06:06:05 +00:00
Branimir Karadžić
33541e4bab D3D12: Added DXIL support. (#3558)
* Added DXIL support.

* Fixed Linux build.

* Fixed mingw build.

* Fixed build.
2026-01-20 01:43:31 +00:00
Branimir Karadžić
cc923c5165 Update Тint (#3553)
* Trimmed Tint.

* Updated Tint.
2026-01-16 04:44:27 +00:00
Branimir Karadžić
4baed6e076 Happy New Year! (#3550) 2026-01-14 16:26:51 +00:00
Branimir Karadžić
967f7629b6 Added WGSL shaders. (#3543) 2026-01-10 03:31:01 +00:00
Branimir Karadžić
1c08bab55a shaderc: Add WGSL support. (#3542) 2026-01-10 02:41:05 +00:00
Daniele Bartolini
fbff26d5e5 Cleanup. (#3540) 2026-01-09 19:15:32 +00:00
Daniele Bartolini
7e518d07bb Added support for keeping comments (#3538) 2026-01-09 09:31:58 -08:00
Branimir Karadžić
aa94189553 shaderc: Removed instMul. (#3536) 2026-01-09 06:40:56 +00:00
Бранимир Караџић
80370936d0 Cleanup. 2026-01-02 08:40:56 -08:00
Бранимир Караџић
39dc313347 shaderc: Pass interpolator qualifiers into all stages. 2026-01-02 08:40:56 -08:00
Бранимир Караџић
d60e24c46c shaderc: Remove reundant sampler reflection from HLSL. 2025-12-26 00:23:54 -08:00
Branimir Karadžić
9d63c39a44 Rebuilt shaders. (#3520) 2025-12-23 04:53:36 +00:00
Branimir Karadžić
3a652bbc7a Fixed issue when gl_PrimitiveID and gl_FrontFacing are used together. Issue #3509. (#3510) 2025-12-04 02:27:44 +00:00
Бранимир Караџић
a569829d50 Fixed shaderc. 2025-10-21 19:23:52 -07:00
Бранимир Караџић
9849e60a72 Fixed build. 2025-10-21 18:24:59 -07:00
Бранимир Караџић
5cb08f414f Updated shaderc. 2025-05-10 19:57:30 -07:00
Бранимир Караџић
860bafb23f Happy New Year! 2025-01-13 15:45:40 -08:00
Бранимир Караџић
b9070d1ea9 Fixed build. 2024-12-21 19:37:14 -08:00
Бранимир Караџић
896c610b72 Removing alloca compat include. 2024-12-21 19:25:00 -08:00
Aaron Franke
40961806bd Format files to remove trailing spaces (#3384) 2024-12-09 22:01:16 -08:00
Бранимир Караџић
042ebe8814 Cleanup. 2024-12-07 22:49:45 -08:00
Бранимир Караџић
f6baa4bdaf shaderc: Show correct error line. 2024-11-25 19:39:17 -08:00
Бранимир Караџић
32866e9e75 texturev: Added horizontal and vertical flip. 2024-06-15 17:14:24 -07:00
Бранимир Караџић
61c770b0f5 Added option to build bimg with libheif. 2024-06-11 17:58:57 -07:00
Oskar Kwaśniewski
3195593d8d feat: base visionOS bgfx implementation (#3289)
Co-authored-by: mani3xis <mariusz.pas+dev@protonmail.com>

fix: properly set storageMode

cleanup: remove unused variables

fix crash while releasing m_drawable on visionOS

fix: remove unused timing variable

fix: file name cases, cleanup

feat: integrate visionOS into bgfx examples
2024-06-03 08:14:53 -07:00
Бранимир Караџић
87fd766c33 shaderc: Fix integer vecs. 2024-05-24 16:42:41 -07:00
Alastair
3bcaaccd29 use BX_MAKEFOURCC in shaderc_hlsl.cpp (#3293) 2024-05-13 12:06:34 -07:00
pheonix
56ad576dcd [shaderc] Clean up (#3258)
* Add Metal Shading Language version options to shaderc. Reference version options from: https://developer.apple.com/documentation/metal/mtllanguageversion?language=objc
Add configuration options for MSL compiler based on MSL version and Platform
Configure MSL->SPIR-V version configuration based on when ray tracing types become available
Set default metal compiler option to be metal 1.2, which is the default version assigned in the current SPIRV-Cross being used

* Add Metal Shading Language version options to shaderc. Reference version options from: https://developer.apple.com/documentation/metal/mtllanguageversion?language=objc
Add configuration options for MSL compiler based on MSL version and Platform
Configure MSL->SPIR-V version configuration based on when ray tracing types become available
Set default metal compiler option to be metal 1.2, which is the default version assigned in the current SPIRV-Cross being used

* Group ios and osx platform code paths
Reduce the size of temp buffer used in writing the MSL preprocessor define
Fix a compiler warning about size_t to int32_t truncation
Adjust whitespace in usage text

* Remove indented scope left-over from branch condition removal

* Remove some testing code

* Adjust whitespace for function arguments

* Replace BX_ASSERT with bx::write to message handler in spirv generation
2024-02-27 07:32:52 -08:00
pheonix
c00e4395b0 Add Metal Shading Language version options to shaderc. Reference version options from: https://developer.apple.com/documentation/metal/mtllanguageversion?language=objc (#3213)
Add configuration options for MSL compiler based on MSL version and Platform
Configure MSL->SPIR-V version configuration based on when ray tracing types become available
Set default metal compiler option to be metal 1.2, which is the default version assigned in the current SPIRV-Cross being used
2024-02-26 23:08:51 -08:00
Бранимир Караџић
a3eb92d1b6 Cleanup. 2024-02-24 19:24:49 -08:00
Бранимир Караџић
e5fb94d142 texturev: Fixed file dialog scrolling. 2024-02-24 18:53:05 -08:00
Бранимир Караџић
83dfadf673 Happy New Year! 2024-01-14 01:56:36 -08:00
Бранимир Караџић
03a2c26457 Cleanup. 2023-12-27 20:57:13 -08:00
Бранимир Караџић
ad625918eb texturev: Fixed mime type assocation on Linux. 2023-12-08 23:27:43 -08:00
Бранимир Караџић
e9e2e224ee Replaced macros with C++17 attributes. 2023-12-02 20:16:56 -08:00
Бранимир Караџић
0c8292f2af Updated glslang. 2023-11-27 22:27:59 -08:00
00bins
bd0cd504f6 Fix incorrect psslShaderPreamble in compute shader (#3206) 2023-11-21 19:33:33 -08:00
Бранимир Караџић
49c0e49527 Removed WebGPU. (#3198) 2023-11-09 17:15:22 -08:00
Edu Garcia
b01c5d597a Enable debug information for Vulkan shaders (#3193)
* Enable debug information for Vulkan shaders

* Enable debug information for Metal shaders
2023-11-06 11:14:29 -08:00
Бранимир Караџић
f14c14a485 Removed D3D9. (#3191) 2023-11-03 21:15:42 -07:00
gamecoder-nz
66b020e939 Fixed issue where printing profile names prints unreadable characters (#3188)
* Fixed issue where printing profile names prints unreadable characters

* Use %S for StringLitera.

---------

Co-authored-by: Бранимир Караџић <branimirkaradzic@gmail.com>
2023-10-23 20:44:51 -07:00
Branimir Karadžić
3e5bfb81b6 shaderc: Must have profile specified. 2023-09-30 16:55:00 -07:00
Branimir Karadžić
f13a6ac8ab shaderc: Fixed GLSL profile downgrade. 2023-09-30 16:54:57 -07:00
Jamil Halabi
f059531885 Added a new capability to check for PrimitiveID support (#3154) 2023-08-04 16:42:33 +02:00
Бранимир Караџић
21c22d941c Cleanup. 2023-07-14 17:07:58 -07:00
Branimir Karadžić
787ecc1138 Cleanup. 2023-06-29 09:26:04 -07:00
Branimir Karadžić
290295136b Added bx::Location, and removed allocator macros. 2023-04-23 19:19:22 -07:00
Бранимир Караџић
e9d1e3d0fe Renamed bx::init::* tags. 2023-04-22 22:22:45 -07:00
Бранимир Караџић
6dd8edc4b1 Cleanup. 2023-04-12 19:25:14 -07:00