1. 03 May, 2019 1 commit
    • Fix overwriting of filter factor · 10f7befc
      Nicolas Capens authored
      The third coordinate of the 2D sampling code is only used for 2D array
      textures, so we don't compute a filter factor. This used to be taken
      advantage of by passing the filter factor of the second coordinate to
      the addressing method for the third coordinate, and ensuring that the
      addressing mode of this component was ADDRESSING_LAYER even for non-
      array textures.
      
      Instead of relying on this brittle hack, just specify a third filter
      factor. Now that we elide materialization of single-block variables,
      this doesn't take any stack space and is zero overhead to the backend.
      
      Bug: b/129523279
      Change-Id: Iee6b0f90bf1cc4ccc41672d3bdb706ff5af0a555
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/30548
      Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
      Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
      Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
      Reviewed-by: 's avatarChris Forbes <chrisforbes@google.com>
  2. 02 May, 2019 21 commits
  3. 01 May, 2019 18 commits