1. 06 Jul, 2020 1 commit
  2. 02 Jul, 2020 2 commits
  3. 01 Jul, 2020 1 commit
  4. 30 Jun, 2020 1 commit
  5. 28 Jun, 2020 1 commit
    • Optimize clearing of depth and stencil images · b3240d0c
      Nicolas Capens authored
      Extend Blitter::fastClear(), which is based on memset() instead of using
      Reactor routines, to also handle D32_SFLOAT and S8_UINT formats.
      
      Benchmark results:
      
      Run on (48 X 2594 MHz CPU s)
      CPU Caches:
        L1 Data 32 KiB (x24)
        L1 Instruction 32 KiB (x24)
        L2 Unified 256 KiB (x24)
        L3 Unified 30720 KiB (x2)
      --------------------------------------------------------------------------
      Benchmark                                Time             CPU   Iterations
      --------------------------------------------------------------------------
      (LLVM, before)
      ClearImage/VK_FORMAT_D32_SFLOAT       3.74 ms        0.016 ms         1000
      
      (LLVM, after)
      ClearImage/VK_FORMAT_D32_SFLOAT       1.08 ms        0.044 ms        10000
      
      (Subzero, before)
      ClearImage/VK_FORMAT_D32_SFLOAT       4.51 ms        0.063 ms         1000
      
      (Subzero, after)
      ClearImage/VK_FORMAT_D32_SFLOAT      0.963 ms        0.040 ms         7467
      
      This change re-implements https://swiftshader-review.googlesource.com/c/SwiftShader/+/45888
      which was reading 'clearValue' out of bounds when accessing color[1]
      when it's only a single depth or stencil value.
      
      Bug: b/159455503
      Bug: chromium:1097740
      Change-Id: Id3e74b4fa28ee0422540a8480814f8c9988f402a
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/45949
      Kokoro-Result: kokoro <noreply+kokoro@google.com>
      Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
      Reviewed-by: 's avatarAntonio Maiorano <amaiorano@google.com>
  6. 26 Jun, 2020 1 commit
  7. 23 Jun, 2020 3 commits
  8. 22 Jun, 2020 1 commit
  9. 20 Jun, 2020 2 commits
  10. 19 Jun, 2020 1 commit
    • Optimize clearing of depth and stencil images · af1f2159
      Nicolas Capens authored
      Extend Blitter::fastClear(), which is based on memset() instead of using
      Reactor routines, to also handle D32_SFLOAT and S8_UINT formats.
      
      Benchmark results:
      
      Run on (48 X 2594 MHz CPU s)
      CPU Caches:
        L1 Data 32 KiB (x24)
        L1 Instruction 32 KiB (x24)
        L2 Unified 256 KiB (x24)
        L3 Unified 30720 KiB (x2)
      --------------------------------------------------------------------------
      Benchmark                                Time             CPU   Iterations
      --------------------------------------------------------------------------
      (LLVM, before)
      ClearImage/VK_FORMAT_D32_SFLOAT       3.74 ms        0.016 ms         1000
      
      (LLVM, after)
      ClearImage/VK_FORMAT_D32_SFLOAT       1.08 ms        0.044 ms        10000
      
      (Subzero, before)
      ClearImage/VK_FORMAT_D32_SFLOAT       4.51 ms        0.063 ms         1000
      
      (Subzero, after)
      ClearImage/VK_FORMAT_D32_SFLOAT      0.963 ms        0.040 ms         7467
      
      Bug: b/159455503
      Change-Id: Ib1b0ad38417c516267d6addd835076a933e22dba
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/45888
      Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
      Kokoro-Result: kokoro <noreply+kokoro@google.com>
      Reviewed-by: 's avatarAntonio Maiorano <amaiorano@google.com>
      Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
  11. 18 Jun, 2020 3 commits
  12. 17 Jun, 2020 6 commits
  13. 16 Jun, 2020 8 commits
  14. 15 Jun, 2020 5 commits
    • Update Marl to c51271125 · dae9203d
      Ben Clayton authored
      Changes:
          c51271125 README.md: Repoint link from `master` to `main`
          da0a9c610 Add basic CMake rules for versioning marl
          0e639c3c7 Benchmarks: Simplify tests further.
          32af8bb50 Kokoro: Enable debug checks
          8cf8dc033 Wrap all stl containers with a marl::StlAllocator
          325b072b9 Support specifying worker thread affinities
          49fe9a17f marl::containers: Add const methods
          11f31bfbe Benchmarks: Warn if benchmarking with sanitizers
          bfdf613e7 Benchmarks: Add MARL_FULL_BENCHMARK flag
          5e2383370 Benchmarks: Allow running with custom Config
          c277c61b0 marl::containers::vector fixes
          fcbe1f279 Add issue number to MARL_DEPRECATED()
          1f010cad7 Warn about use of deprecated APIs
          d2e553bff Don't use deprecated scheduler methods
      
      Commands:
          ./third_party/update-marl.sh --squash
      
      Bug: b/140546382
      Change-Id: I3e59c425cbdc868e5de44a00a5523392044a3352
    • Squashed 'third_party/marl/' changes from 38c0c7a0f..c51271125 · 32b1d4b9
      Ben Clayton authored
      c51271125 README.md: Repoint link from `master` to `main`
      da0a9c610 Add basic CMake rules for versioning marl
      0e639c3c7 Benchmarks: Simplify tests further.
      32af8bb50 Kokoro: Enable debug checks
      8cf8dc033 Wrap all stl containers with a marl::StlAllocator
      325b072b9 Support specifying worker thread affinities
      49fe9a17f marl::containers: Add const methods
      11f31bfbe Benchmarks: Warn if benchmarking with sanitizers
      bfdf613e7 Benchmarks: Add MARL_FULL_BENCHMARK flag
      5e2383370 Benchmarks: Allow running with custom Config
      c277c61b0 marl::containers::vector fixes
      fcbe1f279 Add issue number to MARL_DEPRECATED()
      1f010cad7 Warn about use of deprecated APIs
      d2e553bff Don't use deprecated scheduler methods
      
      git-subtree-dir: third_party/marl
      git-subtree-split: c51271125451c599efb9ec58b355a4c434296a8f
    • Repoint marl branch from master to main · af80f85c
      Ben Clayton authored
      See https://github.com/google/marl/issues/153 for more details
      
      Bug: b/140546382
      Change-Id: I73cd3e575b781890e82eda94285e8a585bd879d5
    • SubzeroReactor: Use new marl::Scheduler::Config API. · ef3914c9
      Ben Clayton authored
      `marl::Scheduler::setWorkerThreadCount()` and `marl::Scheduler::setThreadInitializer()` have been deprecated.
      `marl::Scheduler::Config` is the new API.
      
      This got missed from 45493.
      
      See https://github.com/google/marl/issues/139 for context.
      
      Bug: b/140546382
      Change-Id: Ic09c196b4c81f316cbf73de5395757108c16945c
    • Make rr::Print output to debugger and be stubbed · 8cbee410
      Antonio Maiorano authored
      This change now also makes it so that when rr::Print is enabled, it will
      output to stdout and to the debugger, if available. For now, that means
      it calls OutputDebugString on Windows. This is useful when it is
      difficult to capture stdout (e.g. debugging Chrome).
      
      Also, you can now modify Reactor.cpp and uncomment
      `#define RR_PRINT_OUTPUT_TYPE_STUB` to stub out the function itself.
      This is useful in combination with ENABLE_RR_EMIT_PRINT_LOCATION in that
      debugging the code-gen assembly allows you to inspect the string
      argument to rr::DebugPrintf and see exactly where you are in Reactor
      code without paying the performance cost of actually printing.
      
      Bug: b/158678105
      Change-Id: Ie1bd85888405e189200c0e5f8f3449551327e0ab
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/45669
      Kokoro-Result: kokoro <noreply+kokoro@google.com>
      Tested-by: 's avatarAntonio Maiorano <amaiorano@google.com>
      Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com>
  15. 11 Jun, 2020 4 commits