1. 11 Sep, 2019 1 commit
    • Update Marl to 59068ee4 · fccbd75b
      Ben Clayton authored
      Contains:
      59068ee4c examples/fractal.cpp: Don't use rand()
      7df53dd16 Add primes example
      ded37ceb8 Update README.md with build instructions
      b80c797df CMakeLists.txt: Don't default to building tests.
      d89fe34b6 CMakeLists.txt: Use explicit file lists
      757566df0 Update README.md
      8c98371e5 Presubmits: Enable warnings-as-errors.
      0025389a1 CMakeLists: Add option to treat warnings as errors
      eeb070293 Fix all compiler warnings
      
      Commands:
      git subtree pull --prefix third_party/marl https://github.com/google/marl 59068ee4cf1f5ff5e691ff010c8d83b5f862c4fa --squash
      
      Bug: b/140546382
      Change-Id: Ie37d6e1ce315aaeabeee5e006c5e1f6a7a5ca184
  2. 09 Sep, 2019 2 commits
  3. 07 Sep, 2019 9 commits
  4. 06 Sep, 2019 3 commits
  5. 05 Sep, 2019 6 commits
  6. 04 Sep, 2019 2 commits
  7. 03 Sep, 2019 6 commits
  8. 02 Sep, 2019 2 commits
  9. 31 Aug, 2019 4 commits
  10. 30 Aug, 2019 5 commits
    • Squashed 'third_party/SPIRV-Tools/' changes from 9559cdbdf..65e362b7a · d0f684e3
      Ben Clayton authored
      65e362b7a AggressiveDCEPass: Set modified to true when appending to to_kill_ (#2825)
      d67130cac Replace SwizzleInvocationsAMD extended instruction. (#2823)
      ad71c057c Replace SwizzleInvocationsMaskedAMD extended instruction. (#2822)
      4ae9b7165 Fix gn check (#2821)
      35d98be3b Amd ext to khr (#2811)
      5a581e738 spvtools::Optimizer - don't assume original_binary and optimized_binary are aliased (#2799)
      73422a0a5 Check feature mgr in context consistency check (#2818)
      15fc19d09 Refactor instruction folders (#2815)
      1eb89172a Add missing files to BUILD.gn (#2809)
      8336d1925 Extend reducer to remove relaxed precision decorations (#2797)
      b00ef0d26 Handle Id overflow in private-to-local (#2807)
      aef8f92b2 Even more id overflow in sroa (#2806)
      c5d1dab99 Add name for variables in desc sroa (#2805)
      0cbdc7a2c Remove unimplemented method declaration (#2804)
      bc62722b8 Handle overflow in wrap-opkill (#2801)
      9cd07272a More handle overflow in sroa (#2800)
      06407250a Instrument: Add support for Buffer Device Address extension (#2792)
      7b4e5bd5e Update remquo validation to match the OpenCL Extended Instruction Set Specification (#2791)
      dac9210dc Use ascii code based characters (#2796)
      ff872dc6b Change the way to include header (#2795)
      bbd80462f Fix validation of constant matrices (#2794)
      60043edfa Replace OpKill With function call. (#2790)
      f701237f2 Remove useless semi-colons (#2789)
      95386f9e4 Instrument: Fix version 2 output record write for tess eval shaders. (#2782)
      22ce39c8e Start SPIRV-Tools v2019.5
      d65513e92 Finalize SPIRV-Tools v2019.4
      4b64beb1a Add descriptor array scalar replacement (#2742)
      c26c2615f Update CHANGES
      29af42df1 Add SPV_EXT_physical_storage_buffer to opt whitelists (#2779)
      b029d3697 Handle RelaxedPrecision in SROA (#2788)
      370375d23 Add -fextra-semi to Clang builds (#2787)
      698b56a8f Add 'copy object' transformation (#2766)
      4f14b4c8c fuzz: change output extension and fix usage string (#2778)
      0b70972a2 Remove extra ';' after member function definition. (#2780)
      5ada98d0b Update WebGPU validation rules of OpAtomic*s (#2777)
      3726b500b Treat access chain indexes as signed in SROA (#2776)
      31590104e Add pass to inject code for robust-buffer-access semantics (#2771)
      4a28259cc Update OpMemoryBarriers rules for WebGPU (#2775)
      7621034aa Add opt test fixture method SinglePassRunAndFail (#2770)
      ac3d13105 Element type is const for analysis::Vector,Matrix,RuntimeArray (#2765)
      49797609b Protect against out-of-bounds references when folding OpCompositeExtract (#2774)
      7fd2365b0 Don't move debug or decorations when folding (#2772)
      7bafeda28 Update OpControlBarriers rules for WebGPU (#2769)
      
      git-subtree-dir: third_party/SPIRV-Tools
      git-subtree-split: 65e362b7ae2acb8aa5bd2ad516fb793961e673ee
    • Optimize non-solid polygon rasterization · 18c9ac49
      Nicolas Capens authored
      Instead of using a batch size of 1, divide the batch size by 3 so that
      we have enough room for 3x more primitives to render. Also use local
      Triangle data structures to copy the vertices for the extra primitives,
      instead of adding them to the input batch.
      
      Bug: b/139872671
      Change-Id: I1bc860d291b53fdd266b6c018ac0c47c876aaa09
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/35588Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
      Reviewed-by: 's avatarBen Clayton <bclayton@google.com>
      Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
      Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    • Implement non-solid polygon rasterization · 2210f804
      Ben Clayton authored
      Implements Vulkan's 'fillModeNonSolid' feature.
      
      Mostly a copy-and-paste of src/Renderer logic. It sets the batch size
      for non-solid triangles to 1 so their edges or vertices can get
      individually rasterized as lines or points.
      
      Bug: b/139872671
      Tests: dEQP-VK.rasterization.culling.*
      Change-Id: Ifbae8dad32e8b43159fee459c75d7e593fc08041
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/35031Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
      Reviewed-by: 's avatarBen Clayton <bclayton@google.com>
      Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
      Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
    • Don't use bitcast+float path for integer constant values · ac69da70
      Chris Forbes authored
      LLVM takes liberties with NaN float constants, which can arise in integer
      constant values.
      
      Bug b/140294254
      
      Test: dEQP-VK.spirv_assembly.type.vec3.u32.constant_composite_frag
      Change-Id: Ibfff77b9e0bacf81756bb50801615369dfc51ab6
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/35728
      Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
      Tested-by: 's avatarChris Forbes <chrisforbes@google.com>
      Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    • Regres: Update test lists @ 680d3761 · 6d684b4c
      SwiftShader Regression Bot authored
      Change-Id: Ie2c5c11c029ddd41944ef2def2560176ebd244b7
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/35729
      Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
      Reviewed-by: 's avatarChris Forbes <chrisforbes@google.com>
      Tested-by: 's avatarChris Forbes <chrisforbes@google.com>