1. 11 Apr, 2019 23 commits
  2. 10 Apr, 2019 14 commits
  3. 09 Apr, 2019 3 commits
    • Query implementation · f0aa9d5a
      Alexis Hetu authored
      Re-enabled the Renderer object's occlusion queries and linked them
      to the queries in the query pool. Removed the old Query structure.
      
      Passes all tests in:
      Tests: dEQP-VK.query_pool.*
      
      Note: The dEQP-VK.query_pool.*_discard tests currently fail as discard
            appears to disable the occlusion queries. Will fix in next cl.
      
      Bug b/129706526
      
      Change-Id: I937dcf64d2990758d31a1ed6a13af5cf9f0a627b
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/28288Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
      Presubmit-Ready: Alexis Hétu <sugoi@google.com>
      Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
      Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    • No border for compressed cube images · 6db9a891
      Alexis Hetu authored
      Cube images currently have a 1 pixel border around them for seamless
      cubemaps. To add a border around a compressed image would require
      adding an entire block's width/height around the image at each mip
      level, which would take a lot of extra space and wouldn't be so
      useful right now, since we'll perform both image decompression and
      cubemap border update before sampling, so might as well do both at
      the same time and only store a border in the decompressed image,
      so that compressed cube images don't need to keep a border.
      
      Bug b/119620767
      
      Tests: dEQP-VK.pipeline.sampler.view_type.cube.format.*
      
      Change-Id: I17974c0148fded37bca7c17a78d08d5e683a2afb
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/28548Tested-by: 's avatarAlexis Hétu <sugoi@google.com>
      Presubmit-Ready: Alexis Hétu <sugoi@google.com>
      Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
      Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
    • PipelineCache basic operations support · 1424ef65
      Alexis Hetu authored
      After this cl, pipeline caches remain unused at pipeline creation
      time, but some basic functionalities of the pipeline cache itself
      have been added:
      - Initial data is copied at pipeline cache creation time
      - PipelineCache objects must store a header at the beginning of the
        cache
      - Providing a bad size to vkGetPipelineCacheData will now return
        VK_INCOMPLETE
      
      Also fixed a few tracing strings in libVulkan.cpp.
      
      Bug b/123588002
      
      Change-Id: Icc0aadbe6a60bf3d2b9d3a43132d26671f60c728
      Tests: dEQP-VK.pipeline.cache.*
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/28430
      Presubmit-Ready: Alexis Hétu <sugoi@google.com>
      Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
      Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
      Tested-by: 's avatarAlexis Hétu <sugoi@google.com>