1. 02 Jun, 2020 3 commits
  2. 01 Jun, 2020 2 commits
  3. 28 May, 2020 1 commit
  4. 26 May, 2020 3 commits
    • Update SPIR-V Tools to 55af3902f · 9e718f96
      Ben Clayton authored
      Changes:
          55af3902fc2 Fix function use (#3372)
          9cb2571a184 spirv-val: allow DebugInfoNone for DebugTypeComposite.Size (#3374)
          4386ef4234e Add validation support for ImageGatherBiasLodAMD (#3363)
          b0264b87ffb Fix validation failure on OpDecorationGroup (#3365)
          4410272bdda Remove deprecated interfaces from instrument passes (#3361)
          50b15578866 Preserve debug info in inline pass (#3349)
          4dbe18b0c86 Reject folding comparisons with unfoldable types. (#3370)
          55193b06e5e Improve build instructions for fuzzer (#3364)
          3c47dac2820 Add unrolling to performance passes (#3082)
          2b987c49a4e Handle OpConstantNull in ssa-rewrite (#3362)
          95df4c9643c Add in a bunch of missed files to the BUILD.gn (#3360)
          90930cb3115 Remove stale entries from BUILD.gn (#3358)
          18ba3d9a353 allow cross compiling for Windows Store, UWP, etc. (#3330)
          2f69ea849aa spirv-fuzz: Remove FuzzerPassAddUsefulConstructs (#3341)
          522561619a9 Add support for StorageBuffer (#3348)
          b75dbf82a69 Prevent Effcee install his things when build spirv-tools with testing enabled (#3256)
          85c7e7956bf Don't register edges twice in merge return (#3350)
          bd0a2da946c Revert "Revert "[spirv-opt] refactor inlining pass (#3328)" (#3342)" (#3345)
          31182763704 spirv-reduce: Remove unused struct members (#3329)
          a6b0e132ecc Add adjust branch weights transformation (#3336)
          d4fac3451b7 Revert "[spirv-opt] refactor inlining pass (#3328)" (#3342)
          233246bc9c5 [spirv-opt] refactor inlining pass (#3328)
          2992386ebea spirv-reduce: Remove unused uniforms and similar (#3321)
          a9f2a145e65 spirv-fuzz: Fix to fact manager (#3339)
          045a26e6e37 spirv-fuzz: Get rid of unnecessary template method (#3340)
          63fa9114a93 Do merge return if the return is not at the end of the function. (#3337)
          c8590c18bd0 Preserve debug info for wrap-opkill (#3331)
          d2b48621949 Validate ShaderCallKHR memory scope (#3332)
          2e1d208ed9d spirv-fuzz: Do not allow adding stores to read-only pointers (#3316)
          54fb17b2d30 reduce: increase default step limit (#3327)
          49842b88eec Generalize IsReadOnlyVariable() to apply to pointers (#3325)
          49ca250b44c Delete nullptr in function bb list immedietly (#3326)
          d0a87194f7b Set DebugScope for termination instructions (#3323)
          f278b467dfd spirv-fuzz: Do not outline regions that end with a loop header (#3312)
          23d68608b00 vscode: Handle '|' chains on BitEnum / ValueEnum (#3309)
          42268740c95 Add debug information analysis (#3305)
          eed48ae479d Add spvtools::opt::Operand::AsLiteralUint64 (#3320)
          94d6002dc53 spirv-fuzz: Pass on validator options during shrinking (#3317)
          88faf63ad3c spirv-fuzz: Clamp statically out-of-bounds accesses in code donation (#3315)
          b74199a22d4 spirv-fuzz: Fix memory management in the fact manager (#3313)
          d158ffe5405 spirv-fuzz: Do not replace the Sample argument in OpImageTexelPointer (#3311)
          5547553a0c7 Allow various validation options to be passed to spirv-opt (#3314)
          30ffe62e257 typo fix: in README.md exectuable->executable (#3306)
          67f4838659f spirv-fuzz: Make handling of synonym facts more efficient (#3301)
          61b7de3c39f Remove unreachable code. (#3304)
          ed96301c6c4 spirv-fuzz: Fix to outliner (#3302)
          c018fc6ae66 spirv-fuzz: Do not outline regions that produce pointer outputs (#3291)
          f460cca9dca spirv-fuzz: Handle OpRuntimeArray when replacing ids with synonyms (#3292)
          2f180468a71 spirv-fuzz: Handle image storage class in donation (#3290)
          f82d47003e7 spirv-fuzz: Respect rules for OpSampledImage (#3287)
          7ce2db1763b spirv-fuzz: Fix comment. (#3300)
          7d65bce0bbe Sampled images as read-only storage (#3295)
          2a2bdbd5d72 Remove implicit fallthrough (#3298)
          49566448944 Add tests for recently added command line option (#3297)
          ca5751590ed If SPIRV-Headers is in our tree, include it as subproject (#3299)
          e70d25f6fa5 Struct CFG analysus and single block loop (#3293)
          000040e707a Preserve debug info in eliminate-dead-functions (#3251)
          c531099eb34 Update acorn version (#3294)
          34be23373b9 Handle more cases in dead member elim (#3289)
          d0490ef080c Fix pch macro to ignore clang-cl (#3283)
          538512e8e89 spirv-fuzz: Improve the handling of equation facts (#3281)
          183e3242a36 spirv-fuzz: Handle more general SPIR-V in donation (#3280)
          4af38c49bfe spirv-fuzz: Improve support for compute shaders in donation (#3277)
          e95fbfb1f50 spirv-fuzz: Transformation to add OpConstantNull (#3273)
          5d491a7ed66 spirv-fuzz: Handle isomorphic types property in composite construction (#3262)
          bfd25ace084 spirv-fuzz: Limit adding of new variables to 'basic' types (#3257)
          f28cdeff16f spirv-fuzz: Only replace regular ids with synonyms (#3255)
          8d4261bc440 spirv-fuzz: Introduce TransformationContext (#3272)
          2fdea57d19d spirv-fuzz: Add validator options (#3254)
          af01d57b5e3 Update dominates to check for null nodes (#3271)
          f20c0d7971c Set wrapped kill basic block's parent (#3269)
          c37c94929bf Validate Buffer and BufferBlock apply only to struct types (#3259)
      
      Commands:
          ./third_party/update-spirvtools.sh
      
      Bug: b/123642959
      Change-Id: Id033a5049da5a8b7c7fbf5f1896a985abfbd4ad8
    • Squashed 'third_party/SPIRV-Tools/' changes from fd773eb50d6..55af3902fc2 · 38e46911
      Ben Clayton authored
      55af3902fc2 Fix function use (#3372)
      9cb2571a184 spirv-val: allow DebugInfoNone for DebugTypeComposite.Size (#3374)
      4386ef4234e Add validation support for ImageGatherBiasLodAMD (#3363)
      b0264b87ffb Fix validation failure on OpDecorationGroup (#3365)
      4410272bdda Remove deprecated interfaces from instrument passes (#3361)
      50b15578866 Preserve debug info in inline pass (#3349)
      4dbe18b0c86 Reject folding comparisons with unfoldable types. (#3370)
      55193b06e5e Improve build instructions for fuzzer (#3364)
      3c47dac2820 Add unrolling to performance passes (#3082)
      2b987c49a4e Handle OpConstantNull in ssa-rewrite (#3362)
      95df4c9643c Add in a bunch of missed files to the BUILD.gn (#3360)
      90930cb3115 Remove stale entries from BUILD.gn (#3358)
      18ba3d9a353 allow cross compiling for Windows Store, UWP, etc. (#3330)
      2f69ea849aa spirv-fuzz: Remove FuzzerPassAddUsefulConstructs (#3341)
      522561619a9 Add support for StorageBuffer (#3348)
      b75dbf82a69 Prevent Effcee install his things when build spirv-tools with testing enabled (#3256)
      85c7e7956bf Don't register edges twice in merge return (#3350)
      bd0a2da946c Revert "Revert "[spirv-opt] refactor inlining pass (#3328)" (#3342)" (#3345)
      31182763704 spirv-reduce: Remove unused struct members (#3329)
      a6b0e132ecc Add adjust branch weights transformation (#3336)
      d4fac3451b7 Revert "[spirv-opt] refactor inlining pass (#3328)" (#3342)
      233246bc9c5 [spirv-opt] refactor inlining pass (#3328)
      2992386ebea spirv-reduce: Remove unused uniforms and similar (#3321)
      a9f2a145e65 spirv-fuzz: Fix to fact manager (#3339)
      045a26e6e37 spirv-fuzz: Get rid of unnecessary template method (#3340)
      63fa9114a93 Do merge return if the return is not at the end of the function. (#3337)
      c8590c18bd0 Preserve debug info for wrap-opkill (#3331)
      d2b48621949 Validate ShaderCallKHR memory scope (#3332)
      2e1d208ed9d spirv-fuzz: Do not allow adding stores to read-only pointers (#3316)
      54fb17b2d30 reduce: increase default step limit (#3327)
      49842b88eec Generalize IsReadOnlyVariable() to apply to pointers (#3325)
      49ca250b44c Delete nullptr in function bb list immedietly (#3326)
      d0a87194f7b Set DebugScope for termination instructions (#3323)
      f278b467dfd spirv-fuzz: Do not outline regions that end with a loop header (#3312)
      23d68608b00 vscode: Handle '|' chains on BitEnum / ValueEnum (#3309)
      42268740c95 Add debug information analysis (#3305)
      eed48ae479d Add spvtools::opt::Operand::AsLiteralUint64 (#3320)
      94d6002dc53 spirv-fuzz: Pass on validator options during shrinking (#3317)
      88faf63ad3c spirv-fuzz: Clamp statically out-of-bounds accesses in code donation (#3315)
      b74199a22d4 spirv-fuzz: Fix memory management in the fact manager (#3313)
      d158ffe5405 spirv-fuzz: Do not replace the Sample argument in OpImageTexelPointer (#3311)
      5547553a0c7 Allow various validation options to be passed to spirv-opt (#3314)
      30ffe62e257 typo fix: in README.md exectuable->executable (#3306)
      67f4838659f spirv-fuzz: Make handling of synonym facts more efficient (#3301)
      61b7de3c39f Remove unreachable code. (#3304)
      ed96301c6c4 spirv-fuzz: Fix to outliner (#3302)
      c018fc6ae66 spirv-fuzz: Do not outline regions that produce pointer outputs (#3291)
      f460cca9dca spirv-fuzz: Handle OpRuntimeArray when replacing ids with synonyms (#3292)
      2f180468a71 spirv-fuzz: Handle image storage class in donation (#3290)
      f82d47003e7 spirv-fuzz: Respect rules for OpSampledImage (#3287)
      7ce2db1763b spirv-fuzz: Fix comment. (#3300)
      7d65bce0bbe Sampled images as read-only storage (#3295)
      2a2bdbd5d72 Remove implicit fallthrough (#3298)
      49566448944 Add tests for recently added command line option (#3297)
      ca5751590ed If SPIRV-Headers is in our tree, include it as subproject (#3299)
      e70d25f6fa5 Struct CFG analysus and single block loop (#3293)
      000040e707a Preserve debug info in eliminate-dead-functions (#3251)
      c531099eb34 Update acorn version (#3294)
      34be23373b9 Handle more cases in dead member elim (#3289)
      d0490ef080c Fix pch macro to ignore clang-cl (#3283)
      538512e8e89 spirv-fuzz: Improve the handling of equation facts (#3281)
      183e3242a36 spirv-fuzz: Handle more general SPIR-V in donation (#3280)
      4af38c49bfe spirv-fuzz: Improve support for compute shaders in donation (#3277)
      e95fbfb1f50 spirv-fuzz: Transformation to add OpConstantNull (#3273)
      5d491a7ed66 spirv-fuzz: Handle isomorphic types property in composite construction (#3262)
      bfd25ace084 spirv-fuzz: Limit adding of new variables to 'basic' types (#3257)
      f28cdeff16f spirv-fuzz: Only replace regular ids with synonyms (#3255)
      8d4261bc440 spirv-fuzz: Introduce TransformationContext (#3272)
      2fdea57d19d spirv-fuzz: Add validator options (#3254)
      af01d57b5e3 Update dominates to check for null nodes (#3271)
      f20c0d7971c Set wrapped kill basic block's parent (#3269)
      c37c94929bf Validate Buffer and BufferBlock apply only to struct types (#3259)
      
      git-subtree-dir: third_party/SPIRV-Tools
      git-subtree-split: 55af3902fc24db889b0ef8010a83efca04a6352c
    • Document helper invocations being considered active · 79dcb2a5
      Nicolas Capens authored
      See https://swiftshader-review.googlesource.com/c/SwiftShader/+/42088/7#message-18bed01232babd6cf5b5770b138d9034073fec95
      for rationale.
      
      Bug: b/151137030
      Change-Id: Ieef8636734be1dc19ced8f572daea4990231106b
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/45288
      Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
      Kokoro-Result: kokoro <noreply+kokoro@google.com>
      Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
      Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
  5. 25 May, 2020 4 commits
  6. 20 May, 2020 1 commit
  7. 16 May, 2020 6 commits
  8. 15 May, 2020 1 commit
  9. 14 May, 2020 1 commit
  10. 13 May, 2020 3 commits
  11. 11 May, 2020 1 commit
  12. 08 May, 2020 1 commit
  13. 07 May, 2020 3 commits
  14. 06 May, 2020 4 commits
  15. 05 May, 2020 3 commits
  16. 04 May, 2020 1 commit
    • Remove typeinfo from GLES exported symbols · c4bbd378
      Nicolas Capens authored
      This typeinfo was added for UBSan failures reported in crbug.com/737384,
      but it didn't address other 'Incorrect-function-pointer-type' failures
      for crbug.com/746914. We've suppressed sanitization for these functions
      with the NO_SANITIZE_FUNCTION macro, refactored interfaces used across
      library boundaries into purely abstract ones for crbug.com/732667, and
      use '-mllvm -asan-use-private-alias=1' to address b/128551743.
      
      It's unclear whether this typeinfo still serves ay purpose We shouldn't
      have to export typeinfo for objects used only inside the shared library,
      to avoid ODR violations.
      
      Remove it entirely for now. If this causes a regression and we still
      have to export any typeinfo, we should do so more selectively. For
      example to only export typeinfo for objects in the egl namespace:
      _ZTS*egl*;
      _ZTI*egl*;
      Alternatively, or in addition, we can try using
      '-mllvm -asan-use-private-alias=1' for more build systems.
      
      Bug: b/155441530
      Change-Id: Ia966c40dfe45817f356d11725910afef1bb94d6e
      Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/44688
      Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
      Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
      Kokoro-Result: kokoro <noreply+kokoro@google.com>
      Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
      Reviewed-by: 's avatarAntonio Maiorano <amaiorano@google.com>
  17. 02 May, 2020 2 commits