- 10 Jun, 2020 1 commit
-
-
John Kessenich authored
-
- 09 Jun, 2020 2 commits
-
-
Ryan Harrison authored
-
Roy.li authored
* Fix xfb_stride limit issue Unsized array can't apply to transform trace. layout qualifier "offset" require GL_ARB_enhanced_layouts enable or glsl core version > 440. * Add negative test for xfb limit * update case result * Fix compile information issue Fix compile information issue and test comment issue. * remove es profile condition, use profileRequires to limit. * Fix xfb_stride limit issue Unsized array can't apply to transform trace. layout qualifier "offset" require GL_ARB_enhanced_layouts enable or glsl core version > 440. Add negative test for xfb limit * Move es profile check out of version number check * Adjust error information and related cases remove the new version check, refine original version check. * Revert condition for vulkan, and remove redundant test code.
-
- 04 Jun, 2020 2 commits
-
-
Chow authored
* Add Shared/Std140 SSBO process & top-level array elements related process 1.Add process options for shared/std140 ssbo, following ubo process 2.Add IO Variables reflection option, would keep all input/output variables in reflection 3.Add Top-level related process, fix top-level array size issues, following spec 4.Split ssbo/ubo reflection options, merge blowup expanding all into function blowupActiveAggregate to allow other functions keep same entry format. Add options in StandAlone and test symbols. 1. Add options in StandAlone for std140/shared ubo/ssbo and all io variables reflection. 2. Add test for ssbo. When EShReflectionSharedStd140SSBO turns on, generated symbol and output would be different, to remind the difference. Defaultly disabled and nothing would change, nor blocking normal test. * Add options in runtest script, refresh test results. Add options in StandAlone: --reflect-all-io-variables --reflect-shared-std140-ubo --reflect-shared-std140-ssbo refresh test results. Now the index, size of unsized array are expected.
-
Alejandro Piñeiro authored
If a uniform has an initializer it will now be given as the optional initializer operand to the OpVariable instruction. Fixes: https://github.com/KhronosGroup/glslang/issues/1259 Signed-off-by: Neil Roberts <nroberts@igalia.com> (the code) Signed-off-by: Alejandro Piñeiro <apinheiro@igalia.com> (the tests) Signed-off-by:
Arcady Goldmints-Orlov <agoldmints@igalia.com> Co-authored-by:
Neil Roberts <nroberts@igalia.com>
-
- 03 Jun, 2020 1 commit
-
-
Ricardo Garcia authored
Fixes #2198.
-
- 02 Jun, 2020 6 commits
-
-
rdb authored
-
rdb authored
-
rdb authored
* HLSL: Fix handling of uniforms in entry point parameters * HLSL: fix handling of "uniform in" * Tests: Update baseResults of hlsl.function.frag.out for #2254 * HLSL: fix uniforms in function parameters for opaque types
-
alelenv authored
variables.
-
John Kessenich authored
-
dan sinclair authored
This CL updates the build scripts to only install to glslang/SPIRV instead of also installing to the SPIRV/ folder. The deprecation notice is also removed. Note, this may cause downstream build issues if include directories have not been updated Fixes #1964 #2216
-
- 28 May, 2020 4 commits
-
-
alelenv authored
* EXT_ray_tracing requires spv1.4 * Fix typo. * Add extension data table. * Updated feedback #2.
-
nihui authored
-
greg-lunarg authored
Fixes #1553
-
greg-lunarg authored
-
- 25 May, 2020 1 commit
-
-
alan-baker authored
* Update known good SPIRV-Tools * Update test expectations
-
- 21 May, 2020 6 commits
-
-
David Neto authored
Fixes field reorder warning.
-
alelenv authored
* Add support for primitive culling layout qualifier. * Add error checks for primitive flags and negative test.
-
Ryan Harrison authored
-
nihui authored
-
Malcolm Bechard authored
when using multiple compilation units, input/output layouts don't need to be declared in every unit.
-
nihui authored
* Add an option to make Exceptions enabled * /EHsc enable exceptions since vs2003
-
- 20 May, 2020 3 commits
-
-
John Kessenich authored
-
John Kessenich authored
-
Roy.li authored
-
- 18 May, 2020 3 commits
-
-
Chow authored
Add check for DOUBLE in low versions, fix issue #2206
-
greg-lunarg authored
Specifically, add flattening of arrayed io for geometry and tesselation shaders. Previously some interface structs just had builtins split out which caused some interfaces to not be exactly the same as that of flattened adjacent stages, affecting validation and correctness. This obviates builtin splitting. That will be removed in a followup commit. It was left in for this commit to better exhibit the functional changes that were made. Fixes #1660.
-
John Kessenich authored
-
- 15 May, 2020 2 commits
-
-
Roy.li authored
According to the spec glsl4.60.7: 4.4.5. Uniform and Shader Storage Block Layout Qualifiers: "The packed qualifier overrides only std140, std430, and shared; other qualifiers are inherited. When packed is used, no shareable layout is guaranteed. The compiler and linker can optimize memory use based on what variables actively get used and on other criteria. Offsets must be queried, as there is no other way of guaranteeing where (and which) variables reside within the block" we should reserve std140 block and shared block in reflection. According to the spec glsl4.60.7: 4.4.5. Uniform and Shader Storage Block Layout Qualifiers: "The row_major and column_major qualifiers only affect the layout of matrices, including all matrices contained in structures and arrays they are applied to, to all depths of nesting. These qualifiers can be applied to other types, but will have no effect." We need ensure all matrix block member been effect. Support EShMsgKeepUncalled in reflection EShMsgKeepUncalled is a link message for link program. We need only one option to control uncalled function optimization. If we set EShMsgKeepUncalled as false in link time, linker won't be keep the uncall function sequence in AST, and if we set EShMsgKeepUncalled as true in link time, linker will keep all uncalled function sequence in AST. So, in reflecte time, we just only travers all function sequence. It make EShMsgKeepUncalled only work at linker, and can effect reflection. Recursively layout packing to "block member" layout packing isn't set recursively, it causes TReflection::getOffsets doesn't work correctly.
-
John Kessenich authored
-
- 14 May, 2020 1 commit
-
-
Jaebaek Seo authored
* Update tests according to spirv-opt update We refactored function inlining pass of spirv-opt and it results in different numbering of result ids in SPIR-V code. This commit updates test cases to avoid a test failure according to the spirv-opt update. * Update known good
-
- 12 May, 2020 2 commits
-
-
John Kessenich authored
-
John Kessenich authored
Fix Web build
-
- 11 May, 2020 3 commits
-
-
Felix Maier authored
-
John Kessenich authored
Explicitly mark EShLanguageMask as unsigned
-
Sebastian Neubauer authored
This allows casting from and to any unsigned value, previously this was undefined behavior. This fixes ubsan complaining in `TParseContext::layoutQualifierCheck`, where `~EShLangComputeMask` is used.
-
- 01 May, 2020 3 commits
-
-
John Kessenich authored
-
John Kessenich authored
Noticed this when looking at swizzles. It's at least better structure, removing hard-to-see early returns, which might be contributing to bugs.
-
John Kessenich authored
Add support for es extension GL_EXT_blend_func_extended
-