1. 30 Jun, 2020 2 commits
  2. 29 Jun, 2020 3 commits
    • Fixed GCC -Wunused-parameter in hlslParseables.cpp. · f6e34463
      Evgeny Proydakov authored
      Warnings before fix:
      
      [3/7] Building CXX object glslang/CMakeFiles/glslang.dir/HLSL/hlslParseables.cpp.o
      ../glslang/HLSL/hlslParseables.cpp: In function ‘bool {anonymous}::IsValid(const char*, char, char, char, char, int, int)’:
      ../glslang/HLSL/hlslParseables.cpp:334:45: warning: unused parameter ‘retOrder’ [-Wunused-parameter]
        334 | inline bool IsValid(const char* cname, char retOrder, char retType, char argOrder, char argType, int dim0, int dim1)
            |                                        ~~~~~^~~~~~~~
      ../glslang/HLSL/hlslParseables.cpp:334:60: warning: unused parameter ‘retType’ [-Wunused-parameter]
        334 | inline bool IsValid(const char* cname, char retOrder, char retType, char argOrder, char argType, int dim0, int dim1)
            |                                                       ~~~~~^~~~~~~
      ../glslang/HLSL/hlslParseables.cpp:334:89: warning: unused parameter ‘argType’ [-Wunused-parameter]
        334 | inline bool IsValid(const char* cname, char retOrder, char retType, char argOrder, char argType, int dim0, int dim1)
            |                                                                                    ~~~~~^~~~~~~
      ../glslang/HLSL/hlslParseables.cpp:334:112: warning: unused parameter ‘dim1’ [-Wunused-parameter]
        334 | inline bool IsValid(const char* cname, char retOrder, char retType, char argOrder, char argType, int dim0, int dim1)
            |                                                                                                            ~~~~^~~~
    • Remove root kokoro/linux-*-cmake configs · 08bc7cf5
      Ben Clayton authored
      These have been superseded by the `static` and `shared` variants in the respective subdirectories.
      
      Issue: #2283
    • Merge pull request #2286 from ben-clayton/kokoro-static-shared · 27e915ed
      John Kessenich authored
      Kokoro: Split linux cmake cfgs into static/shared
  3. 28 Jun, 2020 1 commit
  4. 26 Jun, 2020 2 commits
  5. 24 Jun, 2020 2 commits
  6. 23 Jun, 2020 1 commit
    • Fixed msvc 2019 nmake compiler warnings with RTTI. · b90adef9
      Evgeny Proydakov authored
      By default cmake generates cxx_flags with `/GR` parameter.
      I updated CMAKE_CXX_FLAGS string and replaced `/GR` -> `/GR-`
      
      How to reproduce:
      
      Visual Studio 2019 x64 command port
      
      mkdir build-msvc2019
      cd build-msvc2019
      cmake -G"NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=install ..
      nmake
      
      COMPILATION BEFORE:
      
      Scanning dependencies of target OSDependent
      [  1%] Building CXX object glslang/OSDependent/Windows/CMakeFiles/OSDependent.dir/ossource.cpp.obj
      cl : Command line warning D9025 : overriding '/GR' with '/GR-'
      ossource.cpp
      [  3%] Linking CXX static library OSDependent.lib
      [  3%] Built target OSDependent
      Scanning dependencies of target OGLCompiler
      [  4%] Building CXX object OGLCompilersDLL/CMakeFiles/OGLCompiler.dir/InitializeDll.cpp.obj
      cl : Command line warning D9025 : overriding '/GR' with '/GR-'
      InitializeDll.cpp
      [  6%] Linking CXX static library OGLCompiler.lib
      [  6%] Built target OGLCompiler
      Scanning dependencies of target glslang
      [  7%] Building CXX object glslang/CMakeFiles/glslang.dir/MachineIndependent/glslang_tab.cpp.obj
      cl : Command line warning D9025 : overriding '/GR' with '/GR-'
      glslang_tab.cpp
      [  9%] Building CXX object glslang/CMakeFiles/glslang.dir/MachineIndependent/attribute.cpp.obj
      cl : Command line warning D9025 : overriding '/GR' with '/GR-'
      
      FLAGS BEFORE:
      
      -- CMAKE_C_FLAGS:   /DWIN32 /D_WINDOWS /W3
      -- CMAKE_CXX_FLAGS: /DWIN32 /D_WINDOWS /W3 /GR /EHsc
      -- CMAKE_CXX_FLAGS_DEBUG:   /MDd /Zi /Ob0 /Od /RTC1
      -- CMAKE_CXX_FLAGS_RELEASE: /MD /O2 /Ob2 /DNDEBUG
      
      COMPILATION AFTER:
      
      [  1%] Building CXX object glslang/OSDependent/Windows/CMakeFiles/OSDependent.dir/ossource.cpp.obj
      ossource.cpp
      [  3%] Linking CXX static library OSDependent.lib
      [  3%] Built target OSDependent
      [  4%] Building CXX object OGLCompilersDLL/CMakeFiles/OGLCompiler.dir/InitializeDll.cpp.obj
      InitializeDll.cpp
      [  6%] Linking CXX static library OGLCompiler.lib
      [  6%] Built target OGLCompiler
      [  7%] Building CXX object glslang/CMakeFiles/glslang.dir/MachineIndependent/glslang_tab.cpp.obj
      glslang_tab.cpp
      [  9%] Building CXX object glslang/CMakeFiles/glslang.dir/MachineIndependent/attribute.cpp.obj
      
      FLAGS AFTER:
      
      -- CMAKE_C_FLAGS:   /DWIN32 /D_WINDOWS /W3
      -- CMAKE_CXX_FLAGS: /DWIN32 /D_WINDOWS /W3 /GR- /EHsc
      -- CMAKE_CXX_FLAGS_DEBUG:   /MDd /Zi /Ob0 /Od /RTC1
      -- CMAKE_CXX_FLAGS_RELEASE: /MD /O2 /Ob2 /DNDEBUG
  7. 22 Jun, 2020 7 commits
  8. 19 Jun, 2020 3 commits
  9. 18 Jun, 2020 1 commit
  10. 16 Jun, 2020 7 commits
  11. 15 Jun, 2020 5 commits
  12. 11 Jun, 2020 1 commit
  13. 10 Jun, 2020 2 commits
  14. 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.
  15. 04 Jun, 2020 1 commit
    • 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.