sfricke-samsung
610fd6edf3
Prevent Push Constant blocks being an array ( #2904 )
...
* Prevent Push Constant blocks being an array
* Add push constant array error test
Co-authored-by: Greg Fischer <greg@lunarg.com>
2022-03-23 11:42:21 -06:00
Greg Fischer
002b3f55c7
Generate error for binding on push_constant
2021-11-10 15:15:43 -07:00
John Kessenich
9c3204a1fd
Error message: Finish addressing #2097 , better texture error message.
2020-04-07 02:18:23 -06:00
John Kessenich
e161cc11f7
GLSL: No more restrictions on (non)shadow sampler construction.
...
Match https://github.com/KhronosGroup/GLSL/pull/22
2018-07-25 12:11:04 -06:00
John Kessenich
7d4c9a07b5
GLSL: Construct shadow texture from non-shadow sampler.
...
Tracks https://github.com/KhronosGroup/GLSL/pull/22 .
2018-07-23 15:59:09 -06:00
John Kessenich
9c9c4e90df
GLSL/SPV: Fix #1196 : Require resources to have layout(binding=X).
2018-02-22 11:47:41 -07:00
John Kessenich
2edde6665d
SPV: Don't support noise*() when generating SPV.
2017-11-03 03:39:48 -06:00
John Kessenich
e00e8f45a6
GLSL: replace general missing functionality with specific messages.
2017-06-05 16:42:33 -06:00
John Kessenich
71c100d7c0
GLSL output: Removed fixed-size buffer; fixes #769 .
...
Makes some white-space differences in most output, plus a few cases
where more could have been put out but was cut short by the previous
fix-sized buffer.
2017-03-14 19:51:29 -06:00
John Kessenich
33f85b6e59
SPV: Allow push constant buffers to not have an instance name.
2017-03-06 08:51:35 -07:00
John Kessenich
bc5196c003
SPV: Fix issue #369 , don't support gl_NumSamples -> SPIR-V.
2017-01-02 17:01:21 -07:00
John Kessenich
fb06e9552e
Don't print the "Linked stage" message unless the AST is being dumped.
2016-12-03 13:59:51 -07:00
John Kessenich
32c169dbdf
Front-end: Warn for likely missed change in default precisions.
...
This is part of the change to have desktop shaders respect precision
qualifiers on Vulkan, but since the defaults are all highp, and that's
different from ES fragment shaders, detect likely cases and warn about
them (but being careful to not be too noisy if it's unlikely to be a
problem).
2016-08-23 18:13:08 -06:00
John Kessenich
54571c2519
Vulkan: Have desktop shaders respect precision qualifiers.
...
Sets highp defaults for the appropriate types, for all stages,
and turns on precision qualifiers for non-ES shaders. Required
fixing some qualifier orders for desktop built-in declarations
for pre-420 shaders.
2016-08-23 18:12:25 -06:00
John Kessenich
1176530bf5
SPV: Prevent issue #415 with better semantic checking.
2016-07-31 12:39:46 -06:00
John Kessenich
2921e0c54a
KHR_vulkan_glsl: name mangle distinguish pure textures.
...
Fixes issue #252 .
2016-05-20 16:59:27 -06:00
John Kessenich
6c292d3ba7
SPV: Implement Vulkan version of GLSL (KHR_vulkan_glsl).
2016-02-15 21:46:55 -07:00