Commit Graph

8800 Commits

Author SHA1 Message Date
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
Бранимир Караџић a59c3addd6 Updated Vulkan headers. 2024-02-24 19:47:04 -08:00
Бранимир Караџић 26739a1a8f Updated spirv-tools. 2024-02-24 19:46:53 -08:00
Бранимир Караџић 9df6bfc1d6 Updated spirv-headers. 2024-02-24 19:46:42 -08:00
Бранимир Караџић 854602a008 Updated glslang. 2024-02-24 19:46:21 -08:00
Бранимир Караџић 2e9c28f436 Updated ImGui. 2024-02-24 19:41:53 -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
pheonix 0b049d4897
Use bx::bit_cast where appropriate for type punning, applying packed struct for arrays when necessary (#3212) 2024-02-24 15:47:04 -08:00
Бранимир Караџић c75b9cb57d
Removed broken wasm from CI. 2024-02-16 23:21:40 -08:00
Бранимир Караџић 2928a0719c Updated Vulkan headers. 2024-02-09 22:24:54 -08:00
Бранимир Караџић 7067b37a4f Updated spirv-cross. 2024-02-09 22:21:02 -08:00
Бранимир Караџић 3ac2dda244 Updated spirv-tools. 2024-02-09 22:20:51 -08:00
Бранимир Караџић 56f7af3103 Updated spirv-headers. 2024-02-09 22:20:37 -08:00
Бранимир Караџић 6ce4b76c9a Updated glslang. 2024-02-09 22:20:26 -08:00
Бранимир Караџић 8ab5837546 Updated cgltf. 2024-02-09 22:20:06 -08:00
Бранимир Караџић 0a11416421 Updated meshoptimizer. 2024-02-09 22:19:57 -08:00
Бранимир Караџић 64e9144b27 Updated ImGui. 2024-02-09 22:19:49 -08:00
Branimir Karadžić 98d88d9fc6 Fixed draw indirect. 2024-02-09 20:55:44 -08:00
Бранимир Караџић a9f61040c7 Updated README. 2024-02-06 20:25:10 -08:00
Бранимир Караџић 6286da0eb5 GL: Recreate VAO on swap chain switch. Fixed issue #209. 2024-02-02 14:19:28 -08:00
Kitchen d9e184501f
metal use MTLPixelFormatDepth16Unorm for D16 format (#3246) 2024-02-01 07:06:10 -08:00
stomanovski 899a64122d
Update README.md (#3244)
Added reference to DiskBoard in the "Who is using it?" section
2024-01-30 21:22:37 -08:00
Бранимир Караџић b927f9e187 Use 32-bit arguments for indirect draw APIs. 2024-01-26 20:18:24 -08:00
Бранимир Караџић f421348760 Updated version. 2024-01-14 18:22:39 -08:00
Бранимир Караџић 83dfadf673 Happy New Year! 2024-01-14 01:56:36 -08:00
Бранимир Караџић 35eb616e6f Updated ImGui. 2024-01-12 19:55:54 -08:00
Бранимир Караџић 3ebe4489dc Updated Vulkan headers. 2024-01-12 19:55:31 -08:00
Бранимир Караџић a2b4d96c6a Updated spirv-cross. 2024-01-12 19:55:13 -08:00
Бранимир Караџић 52d0ae58d4 Updated spirv-tools. 2024-01-12 19:55:02 -08:00
Бранимир Караџић a262a534ea Updated glslang. 2024-01-12 19:54:45 -08:00
Бранимир Караџић a71cb0868b Updated docs. 2024-01-10 21:13:06 -08:00
Бранимир Караџић 30ce64b7b3 Cleanup. 2024-01-06 09:42:35 -08:00
Бранимир Караџић 8cb7445c76 Removed support for ios-simulator. 2024-01-06 08:19:15 -08:00
Jannes1000Orks d536da8dbe
Added WARCANA to Readme.md (#3238) 2024-01-05 09:03:43 -08:00
Бранимир Караџић 03a2c26457 Cleanup. 2023-12-27 20:57:13 -08:00
Krimo bd71a63e26
Add ProtoTwin to README.md (#3232) 2023-12-26 17:06:52 -08:00
Бранимир Караџић 0555b5d297 Updated docs. 2023-12-26 13:18:09 -08:00
Branimir Karadžić 854921bb48 Fixed glslang. 2023-12-23 22:49:27 -08:00
Бранимир Караџић d7df6cf1b4 Updated spirv-cross. 2023-12-22 18:15:52 -08:00
Бранимир Караџић 1fc080a8f7 Updated spirv-tools. 2023-12-22 18:15:36 -08:00
Бранимир Караџић 371ec431ca Updated spirv-headers. 2023-12-22 18:15:25 -08:00
Бранимир Караџић 0489440481 Updated glslang. 2023-12-22 18:15:11 -08:00
Бранимир Караџић 588e23eac0 Updated ImGui. 2023-12-22 18:14:59 -08:00
Бранимир Караџић 9640d461ac Updated meshoptimizer. 2023-12-22 18:14:49 -08:00
Бранимир Караџић f07a164880 Updated cgltf. 2023-12-22 18:14:36 -08:00
Dmitry Shevchik a0057adaaa
Support compute shaders for OpenGLES 3.1 by injecting a proper version. (#3224) 2023-12-16 09:21:04 -08:00
Бранимир Караџић 1c73c1a64a Fixed wasm build. 2023-12-15 07:55:48 -08:00
Бранимир Караџић 5b8a8ba3da Fix wasm build. 2023-12-15 07:37:08 -08:00