Commit Graph

68 Commits

Author SHA1 Message Date
Christophe Dehais
f26fbaf1b8
glsl-optimizer: avoid adding location to built-in variables (#2969) 2022-11-16 15:48:56 -08:00
Бранимир Караџић
d94a641613 Updated glsl-optimizer. 2021-12-29 14:05:21 -08:00
C.Even
13e6100681
Fix shaderc consistency (#2553)
* shaderc: Initialize 'texFormat' in uniform.

* glsl-optimizer: Fix consistency error of 'print_float'
2021-07-20 06:06:56 -07:00
pezcode
2c21f68998
VPRT support for D3D11, D3D12, GL (#2507)
* glsl-optimizer: whitelist ARB_shader_viewport_layer_array_enable

* D3D11: remove duplicate structs and enums

* D3D11: report BGFX_CAPS_VIEWPORT_LAYER_ARRAY

* D3D12: report BGFX_CAPS_VIEWPORT_LAYER_ARRAY

* GL: support for BGFX_CAPS_VIEWPORT_LAYER_ARRAY

* D3D11: multi-layer MSAA resolve

* D3D12: multi-layer MSAA resolve

* D3D12: fix binding multi-layer resolved textures

* GL: fix multi-layer rendertarget creation
2021-05-05 11:58:21 -07:00
Branimir Karadžić
29aa15725d glsl-optimizer: Fixed output of texture sampling with texture array lod. 2021-04-25 18:07:13 -07:00
Бранимир Караџић
3a29247501 Updated glsl-optimizer. 2020-11-21 00:28:09 -08:00
Бранимир Караџић
594be53891 Reverted #2021. 2020-05-12 07:11:01 -07:00
G
f07a0f5179
Added support for the extension OES_EGL_image_external(_essl3) for GLES2/3 (#2021)
Co-authored-by: Gabriel <gabriel.sulka@visiarc.com>
2020-04-06 08:20:49 -07:00
Бранимир Караџић
9d1590670e shaderc: Fixed metal interpolation qualifiers. 2019-01-15 19:01:18 -08:00
Branimir Karadžić
3939fbb916 Updated glslang. 2018-02-16 18:25:13 -08: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ć
dbd3984468 shaderc: GLSL fixed vertex shader texture lod fetch. 2017-11-13 17:39:48 -08:00
Branimir Karadžić
bebf997811 Fixed clang warnings. 2017-10-20 08:19:35 -07:00
Branimir Karadžić
35060be243 texturev: Added 3D texture support. 2017-06-20 13:31:22 -07:00
Branimir Karadžić
e5cf5a618d Fixed texture array support for embedded shaders. 2017-05-29 12:47:50 -07:00
Branimir Karadžić
9908ae000b Integrated glsl-optimizer. 2017-03-22 16:01:23 -07:00
Don Williamson
bf4d092064 Fix return type of shadow2D/sampler_compare (#1066)
* GL Renderer, OSX, no swap chain: Bind back buffer fbo ready for NSOpenGLContext flushBuffer

* Support for high precision Metal texture samplers.

* Fix return type of shadow2D/sampler_compare
2017-03-06 09:58:55 -08:00
Don Williamson
1d6b4794a9 Support for high precision Metal texture samplers. (#1060)
* GL Renderer, OSX, no swap chain: Bind back buffer fbo ready for NSOpenGLContext flushBuffer

* Support for high precision Metal texture samplers.
2017-03-01 09:01:54 -08:00
Branimir Karadžić
8ea16b01bb Updated glsl-optimizer. 2016-10-31 19:11:19 -07:00
Branimir Karadžić
8cb4c671f1 Updated glsl-optimizer. 2016-09-21 21:01:52 -07:00
Branimir Karadžić
d3221c3404 Updated glsl-optimizer. 2016-07-09 20:03:47 -07:00
Branimir Karadžić
358ec62a52 Updated glsl-optimizer. 2016-04-30 20:29:53 -07:00
Branimir Karadžić
2385b87804 glsl-optimizer: Fixed MSAA texelFetch. 2016-04-20 21:38:58 -07:00
Branimir Karadžić
d91bd8651b Upgraded glsl-optimizer. 2016-03-05 10:48:54 -08:00
Branimir Karadžić
94b6e384a1 glsl-optimizer: Flip dFdy for Metal. 2016-02-13 21:15:47 -08:00
Branimir Karadžić
18cc77deab Updated glsl-optimizer. 2016-02-04 20:57:41 -08:00
Branimir Karadžić
ac0645e748 Fixed glsl-optimizer merge. 2015-10-09 22:20:03 -07:00
Branimir Karadžić
c5ed5d3b00 Updated glsl-optmizer. 2015-10-09 22:13:07 -07:00
Branimir Karadžić
a56ded38ed Fixed compile error. 2015-07-29 10:41:23 -07:00
Branimir Karadžić
7bca603f15 Updated glsl-optimizer. 2015-07-28 20:04:55 -07:00
Branimir Karadžić
567701c750 Removed glsl-optimizer texture LOD workarounds. 2015-05-25 18:58:55 -07:00
Branimir Karadžić
705b135666 Fixed EXT_shader_texture_lod ESSL extension for vertex shaders. 2015-04-20 18:10:41 -07:00
Mike Popoloski
68044893ab Disabling warnings in glsl-optimizer. 2015-04-11 13:41:27 -04:00
Branimir Karadžić
5dc83d65f5 Fixed narrowing variable. 2015-04-10 21:31:53 -07:00
Branimir Karadžić
1824a3f5bd Cleanup. 2015-04-08 14:16:02 -07:00
Branimir Karadžić
efed576e75 Fixed variable shadowing. 2015-04-04 19:45:45 -07:00
Branimir Karadžić
80c947d975 Updated glsl-optimizer. 2015-04-02 23:30:48 -07:00
Branimir Karadžić
8d70a2abde Added gl_PrimitiveID builtin for fragment shaders. 2015-01-12 19:37:42 -08:00
Branimir Karadzic
4ce229b13a Fixed unused parameter warning. 2014-11-11 20:04:20 -08:00
Branimir Karadzic
7e242aa8d2 Fixed OSX tools build. 2014-11-11 19:28:30 -08:00
Branimir Karadžić
748da31049 Skip white space between $input/$output. 2014-10-31 21:54:35 -07:00
Branimir Karadžić
29b7249fc1 Cleanup. 2014-10-18 15:44:45 -07:00
Branimir Karadžić
4a1a31b538 Updated glsl-optimizer. 2014-10-11 12:32:43 -07:00
Branimir Karadzic
3f19e754b9 Fixed missing defines. 2014-08-22 09:53:14 -07:00
Branimir Karadžić
f30b0d3c50 Disabled unknown pragma warning in GCC. 2014-08-20 21:28:10 -07:00
bkaradzic
3ff8afcb7b Disabled clang warnings in glsl-optimizer. 2014-08-20 21:07:35 -07:00
Branimir Karadžić
484efd9b77 Fixed fcpp warning. Disabled warnings in glsl-optimizer. 2014-08-19 20:21:17 -07:00
Branimir Karadžić
93a87ff9a3 STFU glsl-optimizer warnings. 2014-08-17 21:26:59 -07:00
Branimir Karadzic
ed0e98654a Regenerated GLSL parser. 2014-08-17 19:31:19 -07:00
Branimir Karadžić
0ebb4923fc Added interpolator qualifier support. 2014-06-25 18:43:26 -07:00