1. 21 Oct, 2019 1 commit
    • Fix queries with arrays containing other structures · 4100b733
      Alexis Hetu authored
      A few functions:
      - vkGetImageSparseMemoryRequirements2
      - vkGetPhysicalDeviceQueueFamilyProperties2
      - vkGetPhysicalDeviceSparseImageFormatProperties2
      
      Can query properties/requirements from arrays of structures.
      The arrays of structure look like:
      struct Struct2{
      ..
      Struct1 ...
      ...
      };
      
      We were wrongly converting them directly into arrays of Struct1
      by taking the address of the Struct1 member in the first Struct2
      object, which is incorrect. This change copies the logic for
      vkGet* functions to vkGet*2 functions, adding a function to
      directly support VkQueueFamilyProperties2.
      
      Bug: b/142740524
      Change-Id: Id1363f0ab82539d1bc1e3977c541602df8a618cb
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/37276
      Presubmit-Ready: Alexis Hétu <sugoi@google.com>
      Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
      Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
      Reviewed-by: 's avatarChris Forbes <chrisforbes@google.com>
  2. 18 Oct, 2019 1 commit
  3. 17 Oct, 2019 1 commit
  4. 16 Oct, 2019 13 commits
  5. 14 Oct, 2019 3 commits
  6. 11 Oct, 2019 1 commit
    • Stencil buffer texture sampling · 1c462ebc
      Alexis Hetu authored
      In order to perform a blitFramebuffer operation, ANGLE uses
      a compute shader which reads the stencil from a depth+stencil
      image to a buffer, and then copies this buffer to the stencil
      of the other image.
      
      This cl basically treats VK_FORMAT_S8_UINT as VK_FORMAT_R8_UINT
      with quad layout for the purpose of texture sampling.
      
      Fixes the following tests:
      dEQP-GLES3.functional.fbo.blit.depth_stencil.depth32f_stencil8_basic
      dEQP-GLES3.functional.fbo.blit.depth_stencil.depth32f_stencil8_stencil_only
      dEQP-GLES3.functional.fbo.blit.depth_stencil.depth24_stencil8_basic
      dEQP-GLES3.functional.fbo.blit.depth_stencil.depth24_stencil8_stencil_only
      
      Bug: b/142385547
      Change-Id: Ib2ea7fa81496ceca1c24ea7f065b1c2cd05596ee
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/37188
      Presubmit-Ready: Alexis Hétu <sugoi@google.com>
      Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
      Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
      Reviewed-by: 's avatarAntonio Maiorano <amaiorano@google.com>
  7. 07 Oct, 2019 2 commits
  8. 05 Oct, 2019 2 commits
  9. 04 Oct, 2019 8 commits
  10. 03 Oct, 2019 2 commits
  11. 02 Oct, 2019 6 commits