1. 26 Feb, 2021 1 commit
  2. 24 Feb, 2021 6 commits
  3. 22 Feb, 2021 4 commits
  4. 20 Feb, 2021 4 commits
  5. 19 Feb, 2021 8 commits
  6. 18 Feb, 2021 7 commits
  7. 17 Feb, 2021 3 commits
  8. 16 Feb, 2021 5 commits
  9. 12 Feb, 2021 2 commits
    • Support querying for Vulkan11 properties · 539ef8e9
      Sean Risser authored
      Vulkan 1.2 added VkPhysicalDeviceVulkan11Properties, which allows users
      to query support for several other device properties all together. We
      can use templated static functions to make sure these properties are
      only ever set in one place, similar to what we do for device features.
      
      The only struct this doesn't work for is
      VkPhysicalDeviceSubgroupProperties, because the names in that struct
      and the Vulkan11 struct differ. So the Vulkan11 struct manually copies
      the data from the getProperties(*) function for the subgroup properties.
      
      Bug: b/176248217
      Change-Id: I30e9e05ecbdb9a40fc3a59df6bd9b8ab9022c9fc
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/51388Tested-by: 's avatarSean Risser <srisser@google.com>
      Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
      Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
      Commit-Queue: Sean Risser <srisser@google.com>
    • Implement GLSLstd450Interpolate* functions · 0bcb71f9
      Alexis Hetu authored
      This cl adds an implementation for:
      - GLSLstd450InterpolateAtCentroid
      - GLSLstd450InterpolateAtSample
      - GLSLstd450InterpolateAtOffset
      
      These functions essentially replicate the behavior of
      regular interpolants in the fragment shader processing.
      
      A specific extra difficulty encountered here is detecting
      which kind of pointer offset we are dealing with. Pointer
      offsets might be caused by [] operators being used on a
      vector or on an array (possibly an array of vectors). This
      distinction is important as it impacts what interpolant
      offsets point to. Note that there's missing coverage in
      dEQP-VK for interpolant arrays and this was caught with
      SwANGLE tests (a dEQP-VK issue will be logged shortly).
      
      Another issue was dealing with dynamic interpolant offsets,
      which was solved by looping over all of them and combining
      all plane equations into one before performing the
      interpolation.
      
      Bug: b/171415086
      Change-Id: Id7c4c931918ba172d00da84655051445b110d3a9
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/51737
      Presubmit-Ready: Alexis Hétu <sugoi@google.com>
      Kokoro-Result: kokoro <noreply+kokoro@google.com>
      Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
      Commit-Queue: Alexis Hétu <sugoi@google.com>
      Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>