1. 20 Jul, 2018 1 commit
    • Timothy Arceri's avatar
      shader-db: simplify and improve SSO handling · 372703f3
      Timothy Arceri authored
      This does two things:
      
      1. Allows cross shader optimisations to be preformed on SSO
         programs that contain more than one stage (seems like I
         don't have any of these in my shader-db collection).
      
      2. Allows us to write compilation errors to stderr. With this
         change I discovered a Deus Ex: MD shader was failing to
         compile (I've reported it to Feral).
      Reviewed-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      372703f3
  2. 18 Jun, 2018 1 commit
    • Dongwon Kim's avatar
      run: handling binding of attribute variable name (v2) · 109520ba
      Dongwon Kim authored
      Optional binding of variables can be processed before linking shader
      objects for creating shader program. It is activated by adding lines
      with a keyword "BindAttribLoc" followed by name and index as,
      
      "BindAttribLoc name_str1 <index1>"
      
      For example,
      
      [require]
      ......
      BindAttrbLoc vertex 1
      BindAttrbLoc coord 2
      BindAttrbLoc col 3
      
      This makes the shader-db run
      
      glBindAttribLocation(p, 1, "vertex");
      glBindAttribLocation(p, 2, "coord");
      glBindAttribLocation(p, 3, "col");
      
      before glLinkProgram() to include these binding info in binary shader
      program.
      
      v2: get_shaders returns its own head of list for binding variables
          instead of using a global head to support parallel processing of
          multiple shader_tests
      Signed-off-by: 's avatarDongwon Kim <dongwon.kim@intel.com>
      109520ba
  3. 08 Jun, 2018 2 commits
  4. 23 May, 2018 1 commit
    • Dongwon Kim's avatar
      run: shader program file created via GetProgramBinary (v5) · 9f6dc480
      Dongwon Kim authored
      With option '-b', shader-db now generates a shader program binary file
      using GetProgramBinary(). This shader program binary can be loaded via
      ProgramBinary() to be executed by an application later.
      
      v2: 1. define MAX_LOG_LEN and use it as the size of gl log
          2. define MAX_PROG_SIZE and use it as the max size of extracted
             shader_program
          3. out_file is now pointer allocated by strdup for the file name
      
      v3: 1. automatically using original shader test file's name +  ".bin"
             as a filename for program binary - better way to cover the case
             with batch compilation of many shader test files in the same
             directory
          2. remove --out=<file name> since it is now unnecessary (due to v3-1.)
             to provide custom file name. Instead, option, "--bin", which is
             basically a flag that enables getting program binary as a file.
          3. Now it tries to get the length of binary by reading program's
             GL_PROGRAM_BINARY_LENGTH_OES parameter
      
      v4: 1. '--bin' -> '-b'
          2. stop generating binary program when failing to retrieve the binary
             size
          3. error checking after malloc for binary program
          4. changed some of variable names
          5. several consecutive fprintfs are consolidated
          6. removed MAX_LOG_LEN and MAX_PROG_SIZE
      
      v5: bug fix: +1 to the length of the output file to cover '\0'
      Signed-off-by: 's avatarDongwon Kim <dongwon.kim@intel.com>
      9f6dc480
  5. 20 May, 2018 2 commits
  6. 04 Apr, 2018 2 commits
  7. 06 Mar, 2018 7 commits
  8. 01 Mar, 2018 1 commit
  9. 14 Feb, 2018 1 commit
  10. 31 Jan, 2018 3 commits
  11. 27 Nov, 2017 1 commit
  12. 12 Nov, 2017 1 commit
  13. 04 Nov, 2017 3 commits
  14. 13 Sep, 2017 1 commit
  15. 26 Aug, 2017 3 commits
  16. 17 Aug, 2017 1 commit
  17. 25 Jun, 2017 1 commit
    • Kenneth Graunke's avatar
      Drop Orbital Explorer shader. · 4262876d
      Kenneth Graunke authored
      The upstream version of Orbital Explorer doesn't run on Mesa drivers,
      as it (unnecessarily) requests a compatibility profile on non-Apple
      OSes, and suffers from GLEW bugs.  I sent a pull request two years ago
      to port it to libepoxy and get it running on Mesa drivers, but it was
      never accepted.
      
      The author eventually emailed me and said that he considers it a
      "finished experiment" and said the rendering method (geometry shader
      based approach) is inefficient, and he intends to fully rewrite it
      someday.
      
      Since this is not representative of typical geometry shaders, and
      the project is effectively dead, we may as well remove it.
      Reviewed-by: chadversary's avatarChad Versace <chadversary@chromium.org>
      4262876d
  18. 20 May, 2017 1 commit
  19. 15 May, 2017 1 commit
  20. 04 May, 2017 3 commits
  21. 10 Apr, 2017 1 commit
  22. 15 Mar, 2017 1 commit
  23. 28 Feb, 2017 1 commit