Skip to content
Snippets Groups Projects
  1. Aug 27, 2018
    • Karl Schultz's avatar
      tooling: Fix update sources script for Python 3 · 0cb8ad55
      Karl Schultz authored
      This one small change allows the update_glslang_sources.py script to operate correctly with Python 2 and Python 3.
      
      Change the string literal type to "bytes" so that it matches the type returned by the subprocess calls.  Otherwise, under Python 3, the search for "known-good" in the list of remotes always fails.  This is OK for the first execution of update_glsang_sources, since the remote is not there on the first run.  But on subsequent runs, the search still fails to match and the script stops when trying to create a remote that already exists.
  2. Jun 21, 2018
    • Karl Schultz's avatar
      script: Improve update sources script · fa403b96
      Karl Schultz authored
      - remove unused variable to pass pylint
      - Use another approach to detect if known-good remote is already
        present to avoid the need for "ignore following errors" message.
      fa403b96
  3. Feb 08, 2018
  4. Oct 27, 2017
  5. Sep 27, 2017
    • GregF's avatar
      Enable HLSL legalization · cd1f169c
      GregF authored
      Also added known-good mechanism to fetch latest validated spirv-tools.
      Also added -Od and -Os to disable optimizer and optimize for size.
      
      Fetching spirv-tools is optional for both glsl and hlsl. Legalization
      of hlsl is done by default if spirv-opt is present at cmake time.
      Optimization for glsl is currently done through the option -Os.
      
      Legalization testing is currently only done on four existing shaders.
      A separate baseLegalResults directory holds those results. All previous
      testing is done with the optimizer disabled.
      cd1f169c
Loading