1. 10 Jun, 2020 1 commit
  2. 09 Jun, 2020 2 commits
    • Fix xfb stride limit issue (#2088) · 08328fea
      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.
  3. 04 Jun, 2020 2 commits
    • Add Shared/Std140 SSBO process & top-level array elements related (#2231) · 81112685
      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.
    • spirv: Support initializers on uniforms (#1588) · ff6dcca5
      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: 's avatarArcady Goldmints-Orlov <agoldmints@igalia.com>
      Co-authored-by: 's avatarNeil Roberts <nroberts@igalia.com>
  4. 03 Jun, 2020 1 commit
  5. 02 Jun, 2020 6 commits
  6. 28 May, 2020 4 commits
  7. 25 May, 2020 1 commit
  8. 21 May, 2020 6 commits
  9. 20 May, 2020 3 commits
  10. 18 May, 2020 3 commits
    • Add check for DOUBLE in low versions (#2223) · 0ab78114
      Chow authored
      Add check for DOUBLE in low versions, fix issue #2206
    • Flatten all interface variables (#2217) · 7c753a72
      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.
    • Bump version. · 1a906168
      John Kessenich authored
  11. 15 May, 2020 2 commits
    • Reserve unused std140 uniform block in reflection, and fix uniform block matrix layout (#2041) · 24dcbd1b
      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.
    • Bump version. · c6874320
      John Kessenich authored
  12. 14 May, 2020 1 commit
    • Move to newer version of SPIRV-Tools · 08a05bc2
      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
  13. 12 May, 2020 2 commits
  14. 11 May, 2020 3 commits
  15. 01 May, 2020 3 commits