Commit Graph
60 Commits
Author SHA1 Message Date
Branimir Karadžić fd541f0586 Fixed 3D texture conversion of all slices, and debug asserts. (#4054) 2026-10-14 22:29:31 -07:00
Branimir Karadžić ec6e934a2d Sampled MSAA depth reads sample 0 through ordinary samplers. (#4046) 2026-10-12 16:49:19 -07:00
Branimir Karadžić dd961560d5 Raw buffers (#3920)
* Added raw compute buffers, resource type/dimension now comes from shader reflection. Bumped shader version to 12.

* Rebuild internal embedded shaders.

* Updated bindings.

* Rebuild embedded shaders.

* Rebuilt shaders.

* Updated bindings.
2026-08-22 20:03:12 -07:00
Branimir Karadžić fde976604c Raised minimum OpenGL version to 4.3. OpenGLES to 3.0. Removed glsl-optimizer. (#3905) 2026-08-19 10:12:25 -07:00
Branimir Karadžić af4015db29 Add BGFX_CONFIG_GL_NORMALIZE_NDC_CONVENTION. (#3875) 2026-08-06 05:30:06 -07:00
Branimir Karadžić 65f9425d8c Updated to new SIMD. (#3699) 2026-05-03 18:51:10 +00:00
Martijn Courteaux b03bd2d698 [shaderc] Make SPIRV, HLSL, DXIL, Metal backends optional to allow for leaner builds. (#3594)
* Make SPIRV, HLSL, DXIL, Metal backends optional to allow for leaner builds.

* New and automatic detection of available compilers to enable backends.

* Forgot to fixup Metal.

* Cleanup. Check for glsl-optimizer likewise.
2026-02-19 01:43:03 +00:00
Branimir Karadžić 4baed6e076 Happy New Year! (#3550) 2026-01-14 16:26:51 +00:00
Бранимир Караџић 860bafb23f Happy New Year! 2025-01-13 15:45:40 -08:00
Бранимир Караџић 83dfadf673 Happy New Year! 2024-01-14 01:56:36 -08:00
Jorge Rodriguez 70ac58fd38 Write messages to a stream specified by the caller of compilerShader … (#3054)
* Write messages to a stream specified by the caller of compilerShader rather than directly to stdOut, to allow tool writers to easily capture it.

* PR updates

* Missed a write

* PR updates
2023-03-06 10:30:06 -08:00
Бранимир Караџић 466c6a4e95 Happy New Year! 2023-01-14 10:05:12 -08:00
云风 8207645355 fix getUniformInfo(), See Issue #2883 (#2885) 2022-08-23 19:53:49 -07:00
Бранимир Караџић 4581f14cd4 Happy New Year! 2022-01-15 11:59:06 -08:00
Christophe Dehais 5b321e6669 Subtitute texture*EXT functions emitted in WebGL 2 (#2663) 2021-11-18 13:11:45 -08:00
Branimir Karadžić 4763f97205 More fixes. 2021-10-25 19:26:38 -07:00
Бранимир Караџић 8392a44b3a Fixed assert macros, and improved error handling. 2021-10-25 18:59:32 -07:00
Hugo Amnov 24be4a38d0 WebGPU: Add texture format to shaderc (bin version 10) + streamline storage Images in shaders (#2482)
* WebGPU: Add texture format (shaderc bin version 10)

* WebGPU: Simplify storage images + Fix format decorations

* Shaderc: Cleanup Texture name assumption in textures
2021-04-20 20:18:49 -07:00
Бранимир Караџић af49c5d264 Happy New Year! 2021-01-14 15:53:49 -08:00
Sandy 6072d4eda0 shaderc_glsl: parse int samplers like float samplers (#2341) 2020-12-30 15:58:39 -08:00
MooZ d65dac2000 Shaderc OpenGL fixes. (#2317)
* Reworked profile cli argument.

* Added missing GLSL profile.

* Fixed essl shader preambule.

* Fixed uniform "parsing" and hlsl profiles.

* Reworked hlsl profiles.

* Fixed missing extension for gl_FragDepth.

* Cleanup.

* Removed version preamble and reverted shadow samplers translation.

* Fixed HLSL profile tests.
2020-12-28 11:24:49 -08:00
Бранимир Караџић 22df26ab70 Cleanup. 2020-07-15 10:42:23 -07:00
Hugo Amnov b62302631e Add Webgpu backend (#2132)
* WebGPU first draft (shaderc bin version 8)

* WebGPU scripts
2020-05-08 08:53:53 -07:00
Sandy Carter 9d09b965f5 shaderc_glsl: skip interp params when parsing glslopt output
Keywords like `flat` qualify type names. Without skipping them, the parser
will not find the type used and fail.
2020-02-20 16:05:00 +00:00
Бранимир Караџић 82f56b5987 Happy New Year! 2020-01-14 21:37:06 -08:00
Бранимир Караџић 3f3a9450ba Happy New Year! 2019-01-13 17:13:25 -08:00
junjie020 9296a44f5e fix metal shader lack of texutre uniform variable 2018-12-26 14:19:07 +08:00
Pang Weiwei 5044400717 fix shaderrc generate wrong shader of matal 2018-12-19 20:26:53 +08:00
Branimir Karadžić 1eb853512e Cleanup. 2018-10-25 22:16:10 -07:00
Branimir Karadžić 5579ac4686 Cleanup. 2018-10-21 20:33:29 -07:00
Branimir Karadžić 6bff345637 StringView cleanup. 2018-10-21 19:17:44 -07:00
Lectem 7960b42c90 Fix shaderc leaks (#1313)
* Fix fcpp memory leaks

* Fix glsl_optimizer leaks
2018-01-13 10:08:03 -08:00
Branimir Karadžić f44c8e2b14 Happy New Year! 2018-01-01 11:16:06 -08:00
Branimir Karadžić f9d39b2380 Cleanup. 2017-12-09 17:55:09 -08:00
attilaz b8886a3531 Adding an API to shaderc (#1280) 2017-11-24 10:01:13 -08:00
Branimir Karadžić 2650897f06 Fixed build. 2017-10-01 22:52:26 -07:00
Branimir Karadžić ed572fc5a6 Cleanup. 2017-09-30 16:25:11 -07:00
Branimir Karadžić 1218981a22 Cleanup. 2017-09-25 17:51:15 -07:00
Branimir Karadžić a3309c1205 Fixed issue #1236. 2017-09-17 16:54:37 -07:00
Branimir Karadžić c9679731a5 Renaming string functions. 2017-04-22 14:47:02 -07:00
Branimir Karadžić 6e9e862565 Renaming string functions. 2017-04-16 21:56:17 -07:00
Branimir Karadžić 423c655095 Cleanup. 2017-04-03 20:43:57 -07:00
Branimir Karadžić 8b94c13e32 shaderc: Parse in/out correctly. 2017-04-03 17:53:14 -07:00
Branimir Karadžić 293c1dc60a Added support for texture2DGrad. 2017-03-23 17:33:29 -07:00
Branimir Karadžić 46ec8d3ca4 VS: Fixing L4 warnings. 2017-03-11 14:44:00 -08:00
Branimir Karadžić 3b83f53ab1 Happy New Year! 2017-01-01 00:18:41 -08:00
Branimir Karadžić 1d0be51615 shaderc: Output Metal uniform reflection data. 2016-10-31 20:33:14 -07:00
Branimir Karadžić e5b9b8d7aa Cleanup. 2016-10-01 12:38:41 -07:00
Branimir Karadžić ece1a0e49b shaderc: Added pssl stub. 2016-09-30 18:16:04 -07:00
Branimir Karadžić 407c37e8d3 Cleanup. 2016-05-08 14:50:04 -07:00