Commit Graph

2523 Commits

Author SHA1 Message Date
Ryan Harrison f329c78b6c Rolling 5 dependencies
Roll third_party/SPIRV-Tools/ 323a81fc5..1b3441036 (9 commits)

323a81fc5e..1b3441036a

$ git log 323a81fc5..1b3441036 --date=short --no-merges --format='%ad %ae %s'
2020-01-24 syoussefi Fix chromium build (#3152)
2020-01-24 dneto Clarify mapping of target env to SPIR-V version (#3150)
2020-01-24 greg Use dummy switch instead of dummy loop in MergeReturn pass. (#3151)
2020-01-23 alanbaker Fix structured exit validation (#3141)
2020-01-23 dneto Add spvParseVulkanEnv (#3142)
2020-01-23 jaebaek Handle conflict between debug info and existing validation rule (#3104)
2020-01-23 syoussefi Use spirv-headers' BUILD.gn (#3148)
2020-01-23 syoussefi Roll external/spirv-headers/ af64a9e82..dc77030ac (4 commits) (#3147)
2020-01-21 afdx spirv-fuzz: Refactoring and type-related fixes (#3144)

Roll third_party/glslang/ b0ada8035..07a55839e (15 commits)

b0ada80356..07a55839ee

$ git log b0ada8035..07a55839e --date=short --no-merges --format='%ad %ae %s'
2020-01-27 rharrison Use correct enum type in case statement
2020-01-27 cepheus Build: Fix more build warnings caused by PR #2038.
2020-01-26 cepheus Build warning: Fix #2062, missing enum value in a switch.
2020-01-08 sk Public: replaced tabs with spaces
2020-01-08 sk CInterface: replaced tabs with spaces
2019-12-30 sk CInterface: added static asserts to compare C/C++ enums
2019-12-30 sk Added LAST_ELEMENT_MARKER for every enum used in the C interface
2019-12-26 sk CInterface: replaced SH_ prefix with GLSLANG_
2019-12-25 sk CInterface: added glslang_program_SPIRV_get_ptr()
2019-12-25 sk CInterface: added files to CMakeLists.txt
2019-12-25 sk CInterface: added _BIT suffix to glslang_messages_t and glslang_reflection_options_t, fixed const-correctness
2019-12-25 sk CInterface: reformatted according to .clang-format rules
2019-12-24 sk Added original glslang_c_interface implementation by Viktor Latypov
2019-12-24 laddoc Add Tess machine dependent built-in variables initialization for GLES 3.2
2019-10-18 timo.suoranta Fixes for gcc 9 / -Werror=deprecated-copy

Roll third_party/shaderc/ a4f9acedf..0681dd61d (2 commits)

a4f9acedf3..0681dd61d3

$ git log a4f9acedf..0681dd61d --date=short --no-merges --format='%ad %ae %s'
2020-01-27 rharrison Remove deprecated APIs (#974)
2020-01-24 dneto Handle new Glslang profile enum in switch (#973)

Roll third_party/spirv-cross/ f9818f080..68bf0f824 (6 commits)

f9818f0804..68bf0f824c

$ git log f9818f080..68bf0f824 --date=short --no-merges --format='%ad %ae %s'
2020-01-27 post Compile fix on older compilers.
2020-01-27 post GLSL: Support GL_ARB_enchanced_layouts for XFB.
2020-01-25 cdavis MSL: Move inline uniform blocks to the end of the argument buffer.
2019-12-16 cdavis MSL: Support inline uniform blocks in argument buffers.
2020-01-23 post Make SmallVector noexcept.
2020-01-22 42098783+barath121 Typo at line 324

Roll third_party/spirv-headers/ 204cd131c..dc77030ac (2 commits)

204cd131c4..dc77030acc

$ git log 204cd131c..dc77030ac --date=short --no-merges --format='%ad %ae %s'
2020-01-20 dneto Fix the license to match LICENSE
2020-01-20 syoussefi Add BUILD.gn

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: I696c1facf47a03e03e09c72c4d44449a37c1b971
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15480
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2020-01-27 19:55:23 +00:00
Ryan Harrison 1d036f7766 Removing deprecated spvc API usages
Roll third_party/shaderc/ c6a2ef12d..a4f9acedf (5 commits)

c6a2ef12df..a4f9acedf3

$ git log c6a2ef12d..a4f9acedf --date=short --no-merges --format='%ad %ae %s'
2020-01-23 rharrison Big cleanup to normalize API behaviour (#967)
2020-01-22 rharrison Start v2020.0 (#970)
2020-01-22 rharrison Fix the version string (#971)
2020-01-22 rharrison Finalize v2019.1 (#969)
2020-01-20 rharrison Rolling 3 dependencies and updating expectations (#966)

Created with:
  roll-dep third_party/shaderc

BUG=dawn:324

Change-Id: I3c3900dcccc317054f035e21a6863f068ce417c9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15421
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2020-01-24 16:16:59 +00:00
Corentin Wallez a5a6e4f5bb Roll third_party/glfw/ 2de2589f9..d973acc12 (366 commits)
2de2589f91..d973acc123

$ git log 2de2589f9..d973acc12 --date=short --no-merges --format='%ad %ae %s'
2020-01-19 elmindreda Update OpenGL bits of build documentation slightly
2020-01-16 elmindreda Remove AppVeyor skip commits setting
2020-01-16 elmindreda Update changelog and add credit
2018-08-21 kovid X11: Fix queries crashing if monitor disconnected
2020-01-16 elmindreda Add credit
2020-01-14 justcrunkle Fix docs install condition
2020-01-15 elmindreda Win32: Add matching comment
2020-01-15 elmindreda Win32: Fix scancode when key message only had VK
2020-01-15 elmindreda Check scancode before use in glfwGetKeyName
2020-01-15 elmindreda Win32: Use non-async key state for modifier hack
2020-01-15 elmindreda Win32: Fix no Super key release event after Win+V
2020-01-16 elmindreda Cocoa: Add fully dynamic loading of Vulkan loader
2020-01-16 elmindreda Cocoa: Select Vulkan surface extension at runtime
2020-01-06 44054076+ByunghoonKim Cocoa: Add support for VK_EXT_metal_surface
2020-01-12 elmindreda X11: Fix parent window handle initialization
2020-01-05 elmindreda X11: Fix BadMatch focusing a window on non-EWMH WM
2020-01-01 elmindreda X11: Fix no window position events during resize
2020-01-01 elmindreda Update changelog
2020-01-01 elmindreda Update changelog and add credit
2019-12-26 elmindreda Fix Threads package not located by our config file
2019-12-25 elmindreda Set macOS deployment target in Travis CI build
2019-12-22 elmindreda X11: Fix IC event mask not being added to our window
2019-12-22 elmindreda X11: Cleanup
2019-10-06 luflosi Use the correct type in a for loop
2019-12-25 elmindreda Cocoa: Replace display link with IOKit query
2019-11-10 elmindreda NSGL: Simulate vsync for occluded windows
2019-11-07 elmindreda NSGL: Remove problematic swap interval workaround
2019-12-19 elmindreda Cocoa: Only create per-monitor display link once
2019-12-20 elmindreda Cocoa: Fix undeclared selector warnings
2019-12-17 elmindreda X11: Cleanup
2019-12-16 elmindreda X11: Cleanup
2019-12-16 elmindreda X11: Fix updating GLFW_FLOATING on a hidden window
2019-12-17 elmindreda X11: Fix invalid read when clearing GLFW_FLOATING
2019-12-16 elmindreda X11: Fix missing checks for EWMH attention atoms
2019-12-16 elmindreda X11: Fix maximization of hidden windows
2019-12-15 elmindreda Enable strict C99 for non-VS compilers
2019-12-15 elmindreda Win32: Add missing include for wcscmp
2019-12-15 elmindreda Win32: Enable Unicode mode for all compilers
2019-12-15 elmindreda Cocoa: Remove stale GCC workaround
2019-12-15 elmindreda Gather CMake setup of configuration header
2019-12-15 elmindreda Replace CMake threads variable with modern target
2019-12-15 elmindreda Replace ad-hoc CMake code with DEFINE_SYMBOL
2019-12-15 elmindreda Fix use of CMake 3.13 command target_link_options
2019-12-15 elmindreda Replace CMake list variables with target_sources
2019-12-15 elmindreda Fix POSIX conformance issues for clock_gettime
2019-12-11 elmindreda Formatting
2019-12-10 elmindreda Cocoa: Fix duplicate conversion of title string
2019-12-11 elmindreda Win32: Add VERSIONINFO resource to GLFW DLL
2019-12-10 elmindreda Fix typo
2019-08-28 luflosi Fix typo
(...)
2018-11-18 aloucks Win32: Disable non-client painting if undecorated
2018-12-14 vallentinsource Fix typos
2018-12-17 elmindreda Fix glfwSetGamma generating ramps of invalid sizes
2018-12-19 elmindreda Fix glfwGetGammaRamp error handling
2018-12-26 elmindreda Cleanup
2018-12-26 elmindreda Add credit
2018-11-24 amonakov Wayland: Remove gamma-related TODOs
2018-12-17 elmindreda Fix assertions for glfwSetGamma value
2018-12-18 elmindreda Win32: Fix build on older versions of Visual C++
2018-12-13 elmindreda Cleanup
2018-09-13 boilard Documentation work
2018-12-13 elmindreda Win32: Fix joystick element info memory leak
2018-12-25 elmindreda Remove deprecated event from events test
2018-12-25 elmindreda Documentation work
2018-12-25 elmindreda Cleanup
2018-11-04 onesadcookie Cocoa: Fix half of all key events for Caps Lock
2018-12-25 elmindreda Add credit
2018-11-24 andrewpbelt Cocoa: Accept focusing mouse click as input
2018-12-24 elmindreda Cocoa: Move to modern Objective-C literals
2018-12-24 elmindreda Cocoa: Add NSApplicationDelegate protocol
2018-12-24 elmindreda Cocoa: Remove subclassing of NSApplication
2018-10-30 eb Use GNUInstallDirs for install destinations
2018-10-30 eb Simplify check for CMake policy CMP0054
2018-11-27 elmindreda Remove trailing whitespace
2018-11-27 elmindreda Cocoa: Remove superfluous compatibility macro
2018-11-19 elmindreda Cocoa: Use NSURLs for drag and drop
2018-11-11 elmindreda Fix Markdown table heads
2018-11-05 elmindreda Add tutorial to Doxygen menu
2018-11-05 elmindreda Documentation work
2018-11-05 elmindreda Use Doxygen layout file
2018-11-05 elmindreda Fix newlines in Doxygen aliases
2018-11-05 elmindreda Revert accidental Nuklear edit
2018-11-04 elmindreda Fix CSS for Doxygen Markdown tables
2018-11-04 elmindreda Use HTTPS when possible
2018-11-03 linkmauve x11: Add a mention of #1366 in the ChangeLog.
2018-10-26 asmadeus x11 window: update cursor position on enter event
2018-11-03 vallentinsource Updated URLs
2018-11-02 vallentinsource Use HTTPS when possible
2018-11-02 vallentinsource Fixed repeated words
2018-10-13 cycl0ps X11: Fix missing check for NET_WM_STATE
2018-10-26 elmindreda Cocoa: Fix OpenGL rendering not being displayed
2018-10-26 elmindreda Cocoa: Fix some macOS 10.14 deprecation warnings
2018-10-22 4436784+tnixeu Fix guide example callback name mismatch
2018-10-24 elmindreda Cocoa: Cleanup
2018-10-22 elmindreda Allow exposing only native context APIs
2018-10-10 linkmauve Documentation work
2018-10-10 linkmauve Wayland: Implement clipboard copy
2018-10-10 linkmauve Wayland: Implement clipboard paste
2018-10-10 linkmauve Wayland: Add boilerplate for clipboard handling
2014-09-23 ricardo.vieira wayland: save serial from all input sources

Created with:
  roll-dep third_party/glfw

Bug: dawn:269

Change-Id: Ie94907bb948740449c441279cd94cdf808916ceb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15380
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2020-01-23 15:10:58 +00:00
Ryan Harrison 0fee6ccc2e Rolling 2 dependencies
Roll third_party/glslang/ 3ed344dd7..b0ada8035 (1 commit)

3ed344dd78..b0ada80356

$ git log 3ed344dd7..b0ada8035 --date=short --no-merges --format='%ad %ae %s'
2020-01-17 cepheus HLSL: Fix #1974: ignore input primitives on non-entry-point functions.

Roll third_party/shaderc/ f53792645..c6a2ef12d (1 commit)

f53792645f..c6a2ef12df

$ git log f53792645..c6a2ef12d --date=short --no-merges --format='%ad %ae %s'
2020-01-17 rharrison Change call in shaderc_spvc_needs_buffer_size_buffer to be correct (#964)

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: I64dd2b710241452f568952e93545b24936202c11
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15300
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2020-01-20 19:50:14 +00:00
Ryan Harrison f70786126c Rolling 4 dependencies for Vk1.2 support integration
Roll third_party/SPIRV-Tools/ f8d7df760..323a81fc5 (2 commits)

f8d7df760c..323a81fc5e

$ git log f8d7df760..323a81fc5 --date=short --no-merges --format='%ad %ae %s'
2019-09-04 alanbaker Validate Vulkan 1.2 capabilities
2019-08-28 dneto Add basic support for Vulkan 1.2: SPV_ENV_VULKAN_1_2

Roll third_party/glslang/ d203754bc..3ed344dd7 (4 commits)

d203754bc1..3ed344dd78

$ git log d203754bc..3ed344dd7 --date=short --no-merges --format='%ad %ae %s'
2020-01-16 cepheus Fix #2059, and also attempt to skip test bots [skip ci]
2019-12-24 laddoc Add Error check flag in io mapper
2020-01-15 cepheus Update to latest SPIRV-Tools, supporting Vulkan 1.2.
2020-01-15 cepheus SPV/Vulkan: Add support for Vulkan 1.2, which defaults to SPIR-V 1.5.

Roll third_party/shaderc/ df0e683b5..f53792645 (2 commits)

df0e683b58..f53792645f

$ git log df0e683b5..f53792645 --date=short --no-merges --format='%ad %ae %s'
2020-01-15 rharrison Use the correct comparison when checking for not MSL (#960)
2020-01-15 dneto Support Vulkan 1.2 (#958)

Roll third_party/spirv-cross/ 172e39f03..f9818f080 (7 commits)

172e39f039..f9818f0804

$ git log 172e39f03..f9818f080 --date=short --no-merges --format='%ad %ae %s'
2020-01-16 post Update license headers to 2020.
2020-01-16 post Run format_all.sh.
2020-01-16 post MSL: Add support for force-activating IAB resources.
2020-01-16 post Deal with illegal names in types as well.
2020-01-15 post Reflection: Add array stride/matrix stride reflection.
2020-01-15 post Reflection: Emit reflection information for array size literalness.
2020-01-15 post GLSL: Implement geometry shader passthrough extension.

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: Icf361e327598702ecfc0a4cdd3014d0060f2c083
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15200
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2020-01-16 17:21:01 +00:00
Ryan Harrison 5dc07d1b1b Rolling 2 dependencies
Roll third_party/SPIRV-Tools/ 18b3b9456..f8d7df760 (2 commits)

18b3b94567..f8d7df760c

$ git log 18b3b9456..f8d7df760 --date=short --no-merges --format='%ad %ae %s'
2020-01-14 jaebaek Fix OpLine bug of merge-blocks pass (#3130)
2020-01-13 afdx spirv-fuzz: add dead blocks (#3135)

Roll third_party/shaderc/ dc2172c08..df0e683b5 (4 commits)

dc2172c083..df0e683b58

$ git log dc2172c08..df0e683b5 --date=short --no-merges --format='%ad %ae %s'
2020-01-15 rharrison Fix incorrect casing on flags in docs (#957)
2020-01-14 rharrison Convert get_shader_resources to return ptr instead of ref (#955)
2020-01-14 rharrison Convert spvc messages internal struct to be a vector (#952)
2020-01-13 rharrison Rolling 5 dependencies (#953)

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: Ib97af2147dd6c17f9e71ff1c3cf8200e4b353fdc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15160
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2020-01-15 16:18:32 +00:00
Ryan Harrison e5cb8f2eff Rolling 3 dependencies
Roll third_party/SPIRV-Tools/ fb2e81981..18b3b9456 (1 commit)

fb2e819819..18b3b94567

$ git log fb2e81981..18b3b9456 --date=short --no-merges --format='%ad %ae %s'
2020-01-10 33791085+aqnuep Remove names and decorations of imported symbols (#3081)

Roll third_party/glslang/ 518136706..d203754bc (1 commit)

5181367062..d203754bc1

$ git log 518136706..d203754bc --date=short --no-merges --format='%ad %ae %s'
2020-01-03 lryer Fix glslang can't link multiple AST in a single stage

Roll third_party/shaderc/ 0b9a2992c..dc2172c08 (3 commits)

0b9a2992c7..dc2172c083

$ git log 0b9a2992c..dc2172c08 --date=short --no-merges --format='%ad %ae %s'
2020-01-10 rharrison Implement Reflection API needed by Dawn (#950)
2020-01-10 rharrison Add reference to Go bindings in README.md (#949)
2020-01-10 dneto Fix spelling of -finvert-y in doc (#947)

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: Idca26abcb9612ddda847250333418a408477e7b3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/15041
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2020-01-13 17:16:51 +00:00
Ryan Harrison 1dbb528629 Rolling 4 dependencies
Roll third_party/SPIRV-Tools/ 96354f504..fb2e81981 (17 commits)

96354f5047..fb2e819819

$ git log 96354f504..fb2e81981 --date=short --no-merges --format='%ad %ae %s'
2020-01-08 dneto Fix GN build for OpenCL.DebugInfo.100 update (#3134)
2020-01-08 bclayton Fix bad parameter names in error message (#3129)
2020-01-07 alanbaker Revert PR #3093 (#3131)
2020-01-07 alanbaker Disallow forward references in arrays (#3093)
2020-01-07 afdx spirv-fuzz: Add fuzzer pass to perform module donation (#3117)
2020-01-06 dneto GetOperandConstants operand can be const (#3126)
2019-12-27 dneto Avoid pessimizing std::move (#3124)
2019-12-27 kburjack Fix typo in validation message (#3122)
2019-12-27 greg Change default version for CreatInstBindlessCheckPass to 2 (#3119)
2019-12-20 greg Fix convert-relax-to-half invalid code (#3099) (#3106)
2019-12-19 dneto Support OpenCL.DebugInfo.100 extended instruction set (#3080)
2019-12-19 afdx spirv-fuzz: Always add new globals to entry point interfaces (#3113)
2019-12-19 afdx spirv-fuzz: Transformation to add a new function to a module (#3114)
2019-12-19 afdx spirv-fuzz: Avoid passing access chains as parameters (#3112)
2019-12-18 dneto Add support for SPV_KHR_non_semantic_info (#3110)
2019-12-16 afdx spirv-fuzz: Transformations to add types, constants and variables (#3101)
2019-12-16 greg Make Instrumentation format version 2 the default (Step 1) (#3096)

Roll third_party/glslang/ ebf634bca..518136706 (13 commits)

ebf634bcaa..5181367062

$ git log ebf634bca..518136706 --date=short --no-merges --format='%ad %ae %s'
2020-01-07 cepheus Fix #1829: Add "--" command-line options for macro def/undef.
2020-01-08 laddoc Move symbol builtin check to grammar stage
2020-01-06 lryer Add missing extension defination
2020-01-06 cepheus Bump revision
2020-01-06 laddoc Add builtin constants
2019-11-26 laddoc Add support for ARB_gpu_shader_fp64
2019-12-26 cepheus HLSL: Fix #2037: Integer dot used incorrect input for adds.
2019-12-25 laddoc atomic counter offset should align to 4
2019-12-25 laddoc Modify atomic_uint binding check
2019-11-26 laddoc Add support for ARB_uniform_buffer_object
2019-11-26 laddoc Add support for ARB_texture_multisample
2019-11-26 laddoc Add support for ARB_sample_shading
2019-12-20 cepheus Command-line: Give better error messages. From #1829.

Roll third_party/shaderc/ 6d3e0ee67..0b9a2992c (3 commits)

6d3e0ee67f..0b9a2992c7

$ git log 6d3e0ee67..0b9a2992c --date=short --no-merges --format='%ad %ae %s'
2020-01-07 rharrison Rolling 5 dependencies and updating expectations (#946)
2019-12-18 rharrison Adding in missing APIs for MSL support in Dawn (#943)
2019-12-16 rharrison Rolling 4 dependencies (#942)

Roll third_party/spirv-cross/ f912c3289..172e39f03 (20 commits)

f912c32898..172e39f039

$ git log f912c3289..172e39f03 --date=short --no-merges --format='%ad %ae %s'
2020-01-09 post HLSL: Add a resource remapping API similar to MSL.
2020-01-09 post MSL: Deal with sign on wave min/max.
2020-01-09 post HLSL: Deal with casting for WaveActiveMin/Max.
2020-01-09 post GLSL: Deal with sign in subgroup Min/Max operations.
2020-01-08 post Run format_all.sh.
2020-01-08 post HLSL: Fix bug when reading and writing structs from SSBO.
2020-01-08 post HLSL: Implement stores for complex composites in ByteAddressBuffers.
2020-01-08 post HLSL: Support loading complex composites from ByteAddressBuffer.
2020-01-08 post Run format_all.sh.
2020-01-07 post MSL: Deal with padded fragment output + Component decoration.
2020-01-07 post MSL: Explicitly don't support component packing for tessellation.
2020-01-07 post MSL: Don't set OrigID when emitting component packed vectors.
2020-01-07 post MSL: Deal with packing vectors for vertex input/fragment output.
2020-01-07 post MSL: Add trivial tests for Component decoration.
2020-01-06 post Fix Clang warnings.
2020-01-06 post Roll custom versions of isalpha/isalnum.
2020-01-06 post Add test shader for OpCopyLogical with packing/unpacking.
2020-01-06 post Go through access chain path for OpCopyLogical.
2020-01-06 post Basic implementation of OpCopyLogical.
2019-12-21 dm86.jang Add debug prefix on Windows

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

BUG=1037829

Change-Id: I0dc87160c607e615be6e6f2f6dd4a892b010de51
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14943
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2020-01-09 16:09:37 +00:00
Austin Eng 2cb76ab598 perf_tests: Manually serialize JSON and remove dependency on jsoncpp
jsoncpp causes some flaky failures because of inconsistencies in nested
DEPS. We barely use it for JSON serialization so the simplest solution
is to just manually write the serialization for perf test tracing data.

Bug: dawn:208
Change-Id: Ie5e4b5436e2c9e32e6817d64c6e95c774cb8751f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14720
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Austin Eng <enga@chromium.org>
2019-12-20 19:39:10 +00:00
Ryan Harrison 1bbbe8f52d Rolling 3 dependencies
Roll third_party/SPIRV-Tools/ 0a2b38d08..96354f504 (5 commits)

0a2b38d082..96354f5047

$ git log 0a2b38d08..96354f504 --date=short --no-merges --format='%ad %ae %s'
2019-12-12 afdx spirv-fuzz: Fuzzer pass to merge blocks (#3097)
2019-12-11 stevenperron Start SPIRV-Tools v2020.1
2019-12-11 stevenperron Finalize SPIRV-Tools v2019.5
2019-12-11 stevenperron Update CHANGES
2019-12-10 stevenperron Don't crash when folding construct of empty struct (#3092)

Roll third_party/glslang/ 6c479796f..ebf634bca (1 commit)

6c479796f6..ebf634bcaa

$ git log 6c479796f..ebf634bca --date=short --no-merges --format='%ad %ae %s'
2019-12-12 greg Update spriv-tools known good

Roll third_party/shaderc/ eec373d9e..6d3e0ee67 (6 commits)

eec373d9e7..6d3e0ee67f

$ git log eec373d9e..6d3e0ee67 --date=short --no-merges --format='%ad %ae %s'
2019-12-16 rharrison Replace callback interface with data one for combined image samplers (#938)
2019-12-16 rharrison Convert enum from BLOCK_STYLE to snake_style (#940)
2019-12-12 rharrison Implement a C++ only version for ForEachCombinedImageSamplers (#936)
2019-12-11 9856269+sarahM0 Add missing APIs for GLSL in Dawn (#934)
2019-12-11 dneto Don't assume locations of spirv-tools, effcee, and RE2 are located (#931)
2019-12-10 rharrison Rolling 5 dependencies (#933)

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: I2451c6fd80acbfde66cceaeda20d26c2a4c20804
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14600
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-12-16 20:04:07 +00:00
Ryan Harrison f15fc26d5b Rolling 4 dependencies
Roll third_party/SPIRV-Tools/ e82a42860..0a2b38d08 (2 commits)

e82a428605..0a2b38d082

$ git log e82a42860..0a2b38d08 --date=short --no-merges --format='%ad %ae %s'
2019-12-10 afdx spirv-fuzz: function outlining fuzzer pass (#3078)
2019-12-06 afdx spirv-fuzz: Use validator to check break/continue dominance conditions (#3089)

Roll third_party/glslang/ 0de87ee9a..6c479796f (4 commits)

0de87ee9a5..6c479796f6

$ git log 0de87ee9a..6c479796f --date=short --no-merges --format='%ad %ae %s'
2019-12-09 cepheus Fix #2020: PR #1977 broke HLSL member consistency, this finishes it...
2019-12-09 cepheus Fix: #2014: Don't do "extension-on && version >= ..." keyword checks.
2019-12-09 cepheus Fix #2007: Fix a couple relative header paths in header files.
2019-12-09 cepheus Fix #1993: Fully exclude ftransform() from SPIR-V semantics.

Roll third_party/shaderc/ f9278b9cb..eec373d9e (3 commits)

f9278b9cb6..eec373d9e7

$ git log f9278b9cb..eec373d9e --date=short --no-merges --format='%ad %ae %s'
2019-12-05 dneto Apply Python linter advice (#928)
2019-12-05 dneto Apply clang-tidy advice (#930)
2019-12-05 rharrison Rolling 4 dependencies & updating expectations (#929)

Roll third_party/spirv-cross/ 15b860eb1..f912c3289 (2 commits)

15b860eb1c..f912c32898

$ git log 15b860eb1..f912c3289 --date=short --no-merges --format='%ad %ae %s'
2019-12-10 post GLSL: Fix array of input patch variables.
2019-12-09 post GLSL: Fix EmitStreamVertex/Primitive.

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: Iebc301000e6893fd124e4121baf8e639717e981a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14500
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-12-10 16:40:57 +00:00
Ryan Harrison 4ff9eaf1b7 Rolling 4 dependencies
Roll third_party/SPIRV-Tools/ 85f3e93d1..e82a42860 (13 commits)

85f3e93d13..e82a428605

$ git log 85f3e93d1..e82a42860 --date=short --no-merges --format='%ad %ae %s'
2019-12-03 dneto WebGPU: Array size at most max signed int + 1 (#3077)
2019-12-03 9856269+sarahM0 Permit the debug instructions in WebGPU SPIR-V - remove from the optimizer (#3083)
2019-12-03 dneto graphics robust access: use signed clamp (#3073)
2019-12-02 stevenperron Folding: perform add and sub on mismatched integer types (#3084)
2019-11-29 afdx spirv-fuzz: Fix invalid tests (#3079)
2019-11-27 alanbaker Validate nested constructs (#3068)
2019-11-27 afdx spirv-fuzz: Improve debugging facilities (#3074)
2019-11-27 stevenperron Handle unreachable block when computing register pressure (#3070)
2019-11-27 greg Improve RegisterSizePasses (#3059)
2019-11-26 headlessclayton utils/vscode: Add install.bat (#3071)
2019-11-26 52076061+digit-google build: cmake: Add support for Fuchsia. (#3062)
2019-11-26 dneto Add test with explicit example of stripping reflection info (#3064)
2019-11-26 9856269+sarahM0 Permit the debug instructions in WebGPU SPIR-V (#3063)

Roll third_party/glslang/ 38b4db48f..0de87ee9a (6 commits)

38b4db48f9..0de87ee9a5

$ git log 38b4db48f..0de87ee9a --date=short --no-merges --format='%ad %ae %s'
2019-12-04 rnk Remove glslang::pool_allocator::setAllocator
2019-01-21 ian.d.romanick INTEL_shader_integer_functions2: Add SPIR-V generation
2018-09-20 ian.d.romanick INTEL_shader_integer_functions2: Add compiler front-end support
2018-09-20 ian.d.romanick INTEL_shader_integer_functions2: Add basic extension tracking
2019-12-02 ian.d.romanick Update README.md to include other test requirements
2019-11-27 malcolm.bechard Fix #1981

Roll third_party/shaderc/ efedd6739..f9278b9cb (4 commits)

efedd67396..f9278b9cb6

$ git log efedd6739..f9278b9cb --date=short --no-merges --format='%ad %ae %s'
2019-12-05 rharrison Change from old status type in the API (#927)
2019-12-04 rharrison Remove unused variable from C++ API (#926)
2019-12-04 9856269+sarahM0 spvc: Add missing APIs for HLSL support in Dawn - set_decoration (#924)
2019-12-03 rharrison Convert spvc return codes to their own enum (#923)

Roll third_party/spirv-cross/ fd5aa3ad5..15b860eb1 (15 commits)

fd5aa3ad51..15b860eb1c

$ git log fd5aa3ad5..15b860eb1 --date=short --no-merges --format='%ad %ae %s'
2019-12-04 post Remove obsolete use of AtomicCounterMemoryMask.
2019-12-04 post Don't emit memoryBarrierShared() in workgroup control barriers.
2019-12-03 dsinclair Update graphics robust access results
2019-12-03 post Fix MSVC warnings when building without exceptions.
2019-12-03 dsinclair Share test shader script
2019-12-03 post Update update_test_shaders.sh as well.
2019-12-02 dsinclair Roll SPIRV-Tools, SPIRV-Headers and GLSLang
2019-12-02 post Fix uninitialized memory issue.
2019-12-02 post MSL: Support ClipDistance as an input stage variable.
2019-11-28 post Fix sign handling for S/UToF.
2019-11-28 post MSL: Fix automatic binding allocation for image atomic buffers.
2019-11-27 agaule Added --msl-decoration-binding command line argument to enable binding decoration for Metal.
2019-11-26 sarahmashay Add licensing header to test_shaders.py
2019-11-26 post Mark loop headers as complex as early as possible.
2019-11-25 bill.hollings Expose as public Compiler::update_active_builtins() and has_active_builtin().

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: I48bf11c85a723473d6d91eb40d1fa42e9b025e1a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14280
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-12-05 18:04:22 +00:00
Ryan Harrison be5c135672 Refactor code to have rudimentary support for using SPVC
This is the first step for having a fully operational SPVC usage
path. This version of SPVC integration uses SPVC for setting up the
options to the compiler, but a lot of the actual interaction with
spirv-cross is done in Dawn, just via SPVC's compiler object.

Future CLs will migrate more of the spirv-cross interaction to using
the SPVC API, eventually removing the need for Dawn to know about
spirv-cross.

BUG=dawn:288

Change-Id: I68e0773f910d7fe967235b6987b3debe1d13883f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14143
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
2019-12-03 20:25:13 +00:00
Ryan Harrison 22e73a5b28 Use spvc's rules for spirv-cross
Switch over to using the rule for building spirv-cross from spvc. This
allows GN to avoid double symbol issues in future patches.

Roll third_party/shaderc/ 1d6155d86..30f0559dd (2 commits)

1d6155d867..30f0559dd2

$ git log 1d6155d86..30f0559dd --date=short --no-merges --format='%ad %ae %s'
2019-11-27 rharrison Remove spvc's dependency on shaderc's util library (#914)
2019-11-27 rharrison Clean up how include dirs are propegated for spirv_cross (#912)

Created with:
  roll-dep third_party/shaderc

BUG=dawn:281

Change-Id: I49cf237dcab884e84180f83cbbb21acfa549fe61
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14121
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-11-28 17:14:55 +00:00
Ryan Harrison 00b1e38f3b Re-enable spirv-cross fuzzers
Roll third_party/shaderc/ 24536bdd3..1d6155d86 (1 commit)

24536bdd3c..1d6155d867

$ git log 24536bdd3..1d6155d86 --date=short --no-merges --format='%ad %ae %s'
2019-11-27 rharrison Moving spirv-cross dep from Dawn into shaderc (#911)

Created with:
  roll-dep third_party/shaderc

BUG=dawn:285

Change-Id: I47d202166f9e34c88e7aad75d6a3c8aa9a7d6499
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14120
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-11-27 20:56:14 +00:00
Ryan Harrison 2559fc0b84 Removing for_fuzzers target
Also update shaderc override to be the correct directory

BUG=dawn:285

Change-Id: I021755bbc8f50daa65b6964f3e42d395b51bb94a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14080
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-11-27 15:07:53 +00:00
Corentin Wallez 74cebd6879 Allow using swiftshader with the Vulkan backend
This adds swiftshader as a dependency of Dawn, and when it is present
dawn_use_swiftshader=true will force usage of it. (due to a Vulkan
loader limitation we can't have both regular drivers and swiftshader in
the same VkInstance).

BUG=dawn:283

Change-Id: Ib94f4dcca652eb380e994f007cdcfb145b1a5102
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13440
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2019-11-26 18:21:51 +00:00
Ryan Harrison e9356045a4 Rolling 3 dependencies
Roll third_party/SPIRV-Tools/ 2ee9aaa28..85f3e93d1 (2 commits)

2ee9aaa288..85f3e93d13

$ git log 2ee9aaa28..85f3e93d1 --date=short --no-merges --format='%ad %ae %s'
2019-11-22 mattst88 Respect CMAKE_INSTALL_LIBDIR in installed CMake files (#3054)
2019-11-20 rharrison Add missing dealloc (#3061)

Roll third_party/glslang/ f4d466852..38b4db48f (6 commits)

f4d4668529..38b4db48f9

$ git log f4d466852..38b4db48f --date=short --no-merges --format='%ad %ae %s'
2019-11-23 cepheus Fix #1983: __ is okay starting with ES 300, rather than 310.
2019-11-22 cepheus Fix #1987: Use large enough built-in buffer to hold vec4 of maxint-64.
2019-11-21 dsinclair Check for ENABLE_SPVREMAPPER flag in CMakeList files.
2019-11-18 Arfrever Respect CMAKE_INSTALL_LIBDIR in installed CMake files
2019-11-14 andreas.floejt Add a test for 8- and 16-bit construction.
2019-11-11 andreas.floejt Fix construction issue for 8 and 16 bit types.

Roll third_party/shaderc/ c7f5cfd07..da52fae11 (6 commits)

c7f5cfd07f..da52fae116

$ git log c7f5cfd07..da52fae11 --date=short --no-merges --format='%ad %ae %s'
2019-11-21 rharrison Revert "Convert to using standard spirv_cross deps in BUILD.gn (#902)" (#905)
2019-11-21 9856269+sarahM0 Add spvc parser support for OpTypeForwardPointer, OpTypeAccelerationStructureNV (#903)
2019-11-21 rharrison Convert to using standard spirv_cross deps in BUILD.gn (#902)
2019-11-21 rharrison Convert spvc parser flag from build time to runtime (#901)
2019-11-21 9856269+sarahM0 Add spvc parser support for OpGroupDecorate, OpGroupMemberGecorate, OpDecorateStringGOOGLE, and OpMemberDecorateStringGOOGLE (#899)
2019-11-20 9856269+sarahM0 Add spvc parser support for OpUndef, OpString, OpMemberDecorate, OpDecorationGroup, OpLine, and OpNoLine (#898)

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: I89de33e4bcee1d73e8ee91fcbe8984939fa8fe3e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14034
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-11-25 18:39:00 +00:00
Ryan Harrison 48bf745b96 Revert "Convert spvc build flag to a runtime toggle"
This reverts commit 1954436fe2.

Reason for revert:
The shaderc side of this multi-patch brings in a dependency on glslang, which uses a static initializer, which chromium doesn't like.

Original change's description:
> Convert spvc build flag to a runtime toggle
> 
> Also moves some of the spirv_cross code into the main library that was
> feature guarded, since spvc requires it.
> 
> BUG=dawn:281
> 
> Change-Id: I482d1d5a5c851956d3815bad90665c52a1ea15bb
> Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13860
> Reviewed-by: Corentin Wallez <cwallez@chromium.org>

TBR=cwallez@chromium.org,kainino@chromium.org,enga@chromium.org,rharrison@chromium.org

Change-Id: Ia9a025fb4440c96874d1b45776a9f97023ca591d
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: dawn:281
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13941
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-11-21 20:31:05 +00:00
Ryan Harrison 1954436fe2 Convert spvc build flag to a runtime toggle
Also moves some of the spirv_cross code into the main library that was
feature guarded, since spvc requires it.

BUG=dawn:281

Change-Id: I482d1d5a5c851956d3815bad90665c52a1ea15bb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13860
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2019-11-21 18:08:15 +00:00
Ryan Harrison 39695fd41d Rolling 4 dependencies
Roll third_party/SPIRV-Tools/ 12e54dae1..2ee9aaa28 (11 commits)

12e54dae16..2ee9aaa288

$ git log 12e54dae1..2ee9aaa28 --date=short --no-merges --format='%ad %ae %s'
2019-11-19 rharrison Initialize binary for use as guard later (#3058)
2019-11-19 stevenperron Handle OpPhi with no in operands in value numbering (#3056)
2019-11-19 stevenperron Kill the id-to-func map after wrap-opkill (#3055)
2019-11-18 rharrison Convert stderr and stdout in status to strings on assignment (#3049)
2019-11-14 dneto Update README (#3047)
2019-11-14 pierremoreau Update README (#3048)
2019-11-13 dneto Avoid uninit warning in GCC (#3044)
2019-10-23 bclayton utils/vscode: Add SPIR-V language server support
2019-11-11 bclayton utils/vscode: Add go language server packages.
2019-11-12 alanbaker Fix operand access of composite in upgrade memory model (#3021)
2019-11-12 alanbaker Validate array stride does not cause overlap (#3028)

Roll third_party/glslang/ 37dcb8945..f4d466852 (1 commit)

37dcb89457..f4d4668529

$ git log 37dcb8945..f4d466852 --date=short --no-merges --format='%ad %ae %s'
2019-11-14 cepheus HLSL: Fix #1976: Don't let ENABLE_HLSL change struct/class layout.

Roll third_party/shaderc/ 0865050e5..c7f5cfd07 (11 commits)

0865050e54..c7f5cfd07f

$ git log 0865050e5..c7f5cfd07 --date=short --no-merges --format='%ad %ae %s'
2019-11-20 rharrison Rolling 4 dependencies (#897)
2019-11-19 rharrison Migrate away from nosetest to unittest (#896)
2019-11-18 9856269+sarahM0 Add spvc parser support for control flow instructions (#894)
2019-11-15 dneto Android.mk: Avoid polluting NDK build's test tree. (#888)
2019-11-15 rharrison Add access to MSL options needed by Dawn (#893)
2019-11-14 9856269+sarahM0 Add spvc parser support for all OpConstant.* and OpSpecConstant.* (#886)
2019-11-13 dneto Android.mk: Fix detection of spirv-headers directory (#887)
2019-11-13 9856269+sarahM0 Add spvc parser support and unit tests for: OpTypeMatrix, OpTypeRuntimeArray, OpTypeImage, OpTypeSampler, OpTypeSampledImage (#885)
2019-11-13 rharrison Remove the deprectated all-in-one generation API (#883)
2019-11-13 rharrison Expose spirv_cross compiler to ease integration into Dawn (#884)
2019-11-13 9856269+sarahM0 Add spvc parser support and unit tests for: OpTypeBool, OpTypeFloat, … (#881)

Roll third_party/spirv-headers/ af64a9e82..204cd131c (2 commits)

af64a9e826..204cd131c4

$ git log af64a9e82..204cd131c --date=short --no-merges --format='%ad %ae %s'
2019-11-20 Tobias.Hector Off-by-one errors
2019-11-20 Tobias.Hector Reserve a new block of 64 opcodes

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: Id1417493410e35b951d1d4623576b11fa2baab2b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13840
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-11-20 15:43:21 +00:00
Ryan Harrison 9e7107eb96 Migrate Dawn fuzzers to using new SPVC split API
Roll third_party/shaderc/ c9d5be6b0..0865050e5 (3 commits)

c9d5be6b01..0865050e54

$ git log c9d5be6b0..0865050e5 --date=short --no-merges --format='%ad %ae %s'
2019-11-12 rharrison Split spvc shader generation into initialize and compile phases (#882)
2019-11-12 9856269+sarahM0 opName - opStruct (#880)
2019-11-12 rharrison Rolling 5 dependencies and updating expectations (#879)

Created with:
  roll-dep third_party/shaderc

Change-Id: Iea431b36973ac1fbfe68f1353e538ca4ca5ca910
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13423
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-11-13 15:37:47 +00:00
Ryan Harrison eac7382eb2 Rolling 4 dependencies
Roll third_party/SPIRV-Tools/ 3724cfbea..12e54dae1 (10 commits)

3724cfbea8..12e54dae16

$ git log 3724cfbea..12e54dae1 --date=short --no-merges --format='%ad %ae %s'
2019-11-11 ehsannas Update Offset to ConstOffset bitmask if operand is constant. (#3024)
2019-11-08 dneto Try to fix go linter: exported constant comment (#3026)
2019-11-08 afdx spirv-fuzz: Eliminate spurious semicolons (#3025)
2019-11-07 afdx spirv-fuzz: simplify transformation for replacing an id with a synonym (#3020)
2019-11-07 alanbaker Re-enable OpReadClockKHR validation (#3013)
2019-11-07 dneto Python 3: remove deprecated U qualifier on 'open' (#3019)
2019-11-07 paulthomson Remove semicolon (#3022)
2019-11-06 afdx spirv-fuzz: vector shuffle transformation (#3015)
2019-11-06 afdx Add basic documentation about spirv-fuzz (#3016)
2019-11-05 dneto Fix Go lint issues: comment exported symbols (#3014)

Roll third_party/glslang/ 5d0e01d9e..37dcb8945 (5 commits)

5d0e01d9e7..37dcb89457

$ git log 5d0e01d9e..37dcb8945 --date=short --no-merges --format='%ad %ae %s'
2019-11-12 cepheus HLSL: Fix #1960: fmod() was not converting int args to float.
2019-11-07 dneto SPIR-V postprocessing: WEB case only needs CFG mods
2019-11-06 kainino Fix compileGLSLZeroCopy accidental minification
2019-11-06 dsinclair Add deprecation for SPIRV/ install folder location.
2019-11-05 cepheus Fix #1959 by reverting 7b0e236 to put files in two places.

Roll third_party/shaderc/ f4cf10c66..c9d5be6b0 (2 commits)

f4cf10c66f..c9d5be6b01

$ git log f4cf10c66..c9d5be6b0 --date=short --no-merges --format='%ad %ae %s'
2019-11-11 rharrison Remove deprecated items from result/message refactoring (#878)
2019-11-11 9856269+sarahM0 Add spvc parser support and unit tests for OpVariable, OpDecorate, OpExtInstImport, … … (#873)

Roll third_party/spirv-cross/ 24f209eb9..fd5aa3ad5 (12 commits)

24f209eb93..fd5aa3ad51

$ git log 24f209eb9..fd5aa3ad5 --date=short --no-merges --format='%ad %ae %s'
2019-11-12 post CMake: Clarify some warning messages.
2019-11-12 post HLSL: Add CLI support for --hlsl-auto-binding.
2019-11-11 post HLSL: Add support to remove register() bindings.
2019-11-07 post MSL: Remove dubious workaround code in unpack_expression.
2019-11-07 post MSL: Fix unpack_expression from column of padded matrix.
2019-11-06 post HLSL: Report more explicitly which member failed validation.
2019-11-06 post HLSL: Report which cbuffer failed validation.
2019-11-06 post Move .invalid. test shaders to the more appropriate subfolders.
2019-11-05 dsinclair Move all .invalid shaders into no-opt folders.
2019-11-05 dsinclair Remove old reference shaders
2019-11-05 dsinclair Only run spirv-opt if the spirv is valid.
2019-11-05 dsinclair Roll GLSLang and SPIRV-Tools

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: I7b57223fabdd62adcdfd17756c866e9dfa23b374
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13421
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-11-12 16:37:21 +00:00
Ryan Harrison 59b2987b20 Another spvc API migration
Subtle change to how results are handled requiring another change.

Rolling DEPS ahead to pick up change.

Roll third_party/shaderc/ 76ee91e12..f4cf10c66 (4 commits)

76ee91e126..f4cf10c66f

$ git log 76ee91e12..f4cf10c66 --date=short --no-merges --format='%ad %ae %s'
2019-11-11 rharrison Correct Unicode issue with add_copyright.py (#876)
2019-11-08 rharrison Another major API rework (#871)
2019-11-07 rharrison Remove deprecated API elements (#870)
2019-11-07 9856269+sarahM0 Add support and unit test for OpTypeInt, OpTypePointer and OpConstant (#872)

Created with:
  roll-dep third_party/shaderc

Change-Id: Ic461c3ec135d2c73ebadede62fb34c90e7961eda
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13380
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2019-11-11 18:39:08 +00:00
Ryan Harrison c3284fa40e Migrate away from using recently deprecated APIs
Due to a renaming/refactoring of the spvc API Dawn is currently using
a deprecated class name. Fixing this, so the deprecated APIs can be
removed.

Also including the roll to pick up the API changes.

Roll third_party/shaderc/ 0a260d789..76ee91e12 (7 commits)

0a260d789f..76ee91e126

$ git log 0a260d789..76ee91e12 --date=short --no-merges --format='%ad %ae %s'
2019-11-06 9856269+sarahM0 Fix spvc test machanism and adds unit tests for OpSource (#868)
2019-11-06 rharrison Move spirv_cross state out of result and rename opaque state handle (#865)
2019-11-05 9856269+sarahM0 Add unit test for spvcir parser (#866)
2019-11-04 rharrison Rolling 5 dependencies (#862)
2019-11-04 9856269+sarahM0  Add --emit-line-drective option (#861)
2019-11-01 9856269+sarahM0 Add spvcir unit test - OpCapability (#857)
2019-11-01 rharrison Add flag for updating invalid expecations and rewrite end logic (#856)

Created with:
  roll-dep third_party/shaderc

Change-Id: I81649618da6753657ef5a7533785559c2a13c416
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13180
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2019-11-07 17:02:57 +00:00
Li, Hao 0e1bef3251 Add Vulkan validation layers on Windows
Deploy self-built Vulkan validation layers instead of system installed
one. And it will reuse third_party/angle's Vulkan validation layers if
building with chromium.

Bug: dawn:150
Change-Id: I94e26f7a152fb2a1c39bcb102d60024f4d65eee6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11120
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2019-11-07 12:13:27 +00:00
Ryan Harrison f8045a095c Rolling 4 dependencies
Roll third_party/SPIRV-Tools/ 618ee5094..3724cfbea (7 commits)

618ee50942..3724cfbea8

$ git log 618ee5094..3724cfbea --date=short --no-merges --format='%ad %ae %s'
2019-11-05 afdx spirv-fuzz: better computation of data synonym facts (#3010)
2019-11-05 afdx spirv-fuzz: make equivalence classes deterministic (#3011)
2019-11-04 jmadill Add missing headers to GN. (#3009)
2019-11-04 chris Correct "environment" typo (#3007)
2019-11-01 afdx spirv-fuzz: improvements to representation of data synonym facts (#3006)
2019-11-01 stevenperron Add iOS as a supported platform (#3001)
2019-11-01 rharrison Reset pointers before iterating in fuzzer to avoid double free (#3003)

Roll third_party/glslang/ b131630e7..5d0e01d9e (8 commits)

b131630e7c..5d0e01d9e7

$ git log b131630e7..5d0e01d9e --date=short --no-merges --format='%ad %ae %s'
2019-11-04 rharrison Remove std::move that is breaking chromium roll
2019-11-03 cepheus Tests: Add more test results for the previous generator version bump.
2019-11-02 cepheus Bump up the generator version, which is exposed in SPV test results.
2019-11-03 sk Fix warning: size_t->int implicit cast
2019-11-02 jmadill Add a couple missing headers to the GN build.
2019-11-01 cepheus Bump version.
2019-10-21 dneto SPIR-V: Aggressively prune unreachable merge, continue target
2019-10-25 sk Add option ENABLE_CTEST to skip testing

Roll third_party/shaderc/ 0a260d789..f16e79385 (4 commits)

0a260d789f..f16e793858

$ git log 0a260d789..f16e79385 --date=short --no-merges --format='%ad %ae %s'
2019-11-04 rharrison Rolling 5 dependencies (#862)
2019-11-04 9856269+sarahM0  Add --emit-line-drective option (#861)
2019-11-01 9856269+sarahM0 Add spvcir unit test - OpCapability (#857)
2019-11-01 rharrison Add flag for updating invalid expecations and rewrite end logic (#856)

Roll third_party/spirv-cross/ d253f41e1..24f209eb9 (4 commits)

d253f41e17..24f209eb93

$ git log d253f41e1..24f209eb9 --date=short --no-merges --format='%ad %ae %s'
2019-11-04 post Add spvc_type_get_base_type_id.
2019-11-04 post C API: Add missing boolean options.
2019-11-04 post GLSL: Fix issue with array-of-array inputs in tess.
2019-11-01 dmalyshau Avoid including stdexcept in no-exception environment

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: I6109f6d6c0602d39d459bb3f4983ee2c88a6fcb9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13081
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-11-05 20:34:35 +00:00
Le Quyen dbf9f7c39c Fix conflicts between ANGLE & Dawn's spirv-cross build config
Recently, BUILD.gn has been added to spirv-cross repo:
https://github.com/KhronosGroup/SPIRV-Cross/blob/master/gn/BUILD.gn

However, it is incomplete, currently only inlcudes small config needed
by ANGLE's metal backend.

When building ANGLE and Dawn together with chromium, errors were thrown:
ERROR at //third_party/spirv-cross/spirv-cross/spirv_common.hpp:21:11: Include not allowed.
#include "spirv_cross_containers.hpp"
          ^-------------------------
It is not in any dependency of
  //third_party/dawn/third_party:spirv_cross
The include file is in the target(s):
  //third_party/spirv-cross/spirv-cross/gn:spirv_cross_sources
which should somehow be reachable.
___________________
ERROR at //third_party/spirv-cross/spirv-cross/spirv_common.hpp:22:11: Include not allowed.
#include "spirv_cross_error_handling.hpp"
          ^-----------------------------
It is not in any dependency of
  //third_party/dawn/third_party:spirv_cross

Bug: angleproject:2634
Change-Id: Idb328643db0b765ab228ee7d59d7996b6e6073e4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/13020
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2019-11-05 09:36:15 +00:00
Ryan Harrison cdc22769d4 Rolling 4 dependencies
Roll third_party/SPIRV-Tools/ e8c3f9b0b..618ee5094 (15 commits)

e8c3f9b0b4..618ee50942

$ git log e8c3f9b0b..618ee5094 --date=short --no-merges --format='%ad %ae %s'
2019-10-30 dneto Fix some clang-tidy issues in graphics_robust_access_pass (#2998)
2019-10-30 stevenperron Add description of wrap-opkill. (#3000)
2019-10-30 kubak [opt] Do not compare optimized binary with an invalidated buffer (#2999)
2019-10-29 bclayton utils/vscode: Change assembly file ext to .spvasm (#2995)
2019-10-28 bclayton utils: Add a vscode extension for SPIR-V disassembly files (#2987)
2019-10-28 greg Add two new simplifications. (#2984)
2019-10-28 afdx spirv-fuzz: Transformation to extract from a composite object (#2991)
2019-10-27 afdx spirv-fuzz: rename class, and fix bug related to dominance (#2990)
2019-10-25 afdx spirv-fuzz: Rework management of data synonyms (#2989)
2019-10-25 afdx spirv-fuzz: add class to represent equivalence relation (#2988)
2019-10-23 stevenperron Update DEPS (#2986)
2019-10-22 afdx spirv-fuzz: fuzzer pass to adjust memory access operands (#2968)
2019-10-22 greg Instrument: Add missing def-use analysis. (#2985)
2019-10-22 afdx spirv-fuzz: add missing functionality for matrix composites (#2974)
2019-10-21 stevenperron Update CHANGES

Roll third_party/glslang/ 834ee546f..b131630e7 (16 commits)

834ee546f9..b131630e7c

$ git log 834ee546f..b131630e7 --date=short --no-merges --format='%ad %ae %s'
2019-10-24 greg Update spirv-tools known good.
2019-10-23 ehsannas Make  buildbot licenses consistent with the rest of the code
2019-10-23 52076061+digit-google BUILD.gn: Fix fuchsia build (#1944)
2019-10-21 cepheus Web: Reclaim more space and make all work w/wo GLSLANG_WEB.
2019-10-18 cepheus Web: Add basic atomics for SSBOs.
2019-10-17 cepheus Web: Add SSBOs and a few other missing compute features.
2019-10-10 cepheus Web: Add compute stage.
2019-10-08 cepheus Web: Add separate texture/sampler, exclude *CubeArray*.
2019-10-22 47668180+tsuoranta Enable generation of compile_commands.json (#1938)
2019-10-21 dexcelstraun7 Fix the exports of glslang-default-resource-limits (#1942)
2019-10-18 ehsannas Run tests on Windows too.
2019-10-18 ehsannas Fix build scripts.
2019-10-18 ehsannas More cleanups for Windows.
2019-10-17 ehsannas Add Kokoro bots for building using Bazel.
2019-10-17 ehsannas Make it work on Windows.
2019-10-16 ehsannas Add Bazel build configuration files.

Roll third_party/shaderc/ c4835b852..0a260d789 (5 commits)

c4835b8523..0a260d789f

$ git log c4835b852..0a260d789 --date=short --no-merges --format='%ad %ae %s'
2019-10-30 rharrison Refactor file reading code into common utility method (#852)
2019-10-30 rharrison Rolling 5 dependencies & expectation files (#849)
2019-10-22 dneto Android.mk: Install all necessary headers (#846)
2019-10-22 9856269+sarahM0 spvc: add spvc parsing option to msl, glsl and vulkan compilers (#845)
2019-10-21 rharrison Rolling 4 dependencies, small script fix and updating expectation files (#844)

Roll third_party/spirv-cross/ ff1897ae0..00189b19a (90 commits)

ff1897ae0e..00189b19a5

$ git log ff1897ae0..00189b19a --date=short --no-merges --format='%ad %ae %s'
2019-10-29 post MSL: Add missing reference output.
2019-10-29 post Fix broken access tracking for OpFunctionCall results.
2019-10-28 post MSL: Avoid some fallthrough warnings.
2019-10-28 post Run format_all.sh.
2019-10-28 post MSL: Remove hacky workaround for patch constant passing.
2019-10-28 post MSL: Remove workaround for passing constant arrays to functions.
2019-10-28 post Remove another dead reference file.
2019-10-28 post Remove some more dead reference files.
2019-10-28 post Remove another dead reference file.
2019-10-28 post Remove dead reference file.
2019-10-28 post Hack some constants in UE4 tests.
2019-10-28 post MSL: Ensure stable output for access chain CFG workarounds.
2019-10-26 post MSL: Fix integer cast.
2019-10-26 post MSL: Declare arrays with proper type wrapper.
2019-10-26 post MSL: Deal with chained access chains for tessellation IO variables.
2019-10-26 post MSL: Declare struct type explicitly.
2019-10-26 post MSL: Fix array of array declaration.
2019-10-25 post MSL: Rewrite tessellation_access_chain.
2019-10-25 post MSL: Slight cleanup in emit_tessellation_access_chain.
2019-10-25 post MSL: Do not declare variables which will not be unflattened.
2019-10-25 post MSL: Report tess input array failures more accurately.
2019-10-25 post MSL: Revert hack with kBufferSizeBufferBinding
2019-10-25 post MSL: Remove stale code for TextureSwizzle.
2019-10-24 post GLSL: Minor nit, check flushed_phi_variables with count().
2019-10-24 post Clean up call to builtin_translates_to_nonarray.
2019-10-24 post Implement constant empty struct correctly on all backends.
2019-10-24 post MSL: Rewrite propagated depth comparison state handling.
2019-10-24 post MSL: Do read-only lookups of access_chain_children.
2019-10-24 post MSL: Remove stray allow_id_rewrite().
2019-10-24 post MSL: Do not declare array of UBO/SSBO as spvUnsafeArray<T>.
2019-10-24 bill.hollings MSL: Support option for treating 1D textures as 2D textures of height 1.
2019-10-24 bill.hollings MSL: Support option for treating 1D textures as 2D textures of height 1.
2019-10-24 post MSL: Enable proper value types for return and value-passing of arrays.
2019-10-24 post MSL: Be a little clearer how needs_base_vertex_idx is implemented.
2019-10-24 post MSL: Remove some dead code w.r.t. vertex/instance_idx.
2019-10-24 post MSL: Do not generate UnsafeArray<> for any array inside buffer objects.
2019-10-24 post MSL: Simplify framebuffer fetch implementation.
2019-10-24 post MSL: Fall back to GLSL path for non-invariant matrix multiply as well.
2019-10-24 post MSL: Fall back to GLSL path for non-invariant FP implementation.
2019-10-24 post MSL: Minor cleanups for texture atomic emulation.
2019-10-24 post MSL: Cleanup decoration forwarding for SampleMask.
2019-10-24 post MSL: Do not declare complex composite array in main for non-inlined.
2019-10-24 post Fix formatting in main.cpp.
2019-10-24 post Add new UE4 folders to CMake testing as well.
2019-10-23 lukas.hermanns Moved all UE4 test shaders into 'shaders-ue4/' folder.
2019-10-23 lukas.hermanns Removed 'argument_buffer_offset' and fixed packed matrix Metal output.
2019-10-22 lukas.hermanns Simplified overriding of 'access_chain_internal' function in CompilerMSL.
2019-10-21 lukas.hermanns Removed bounds checks in favor of SPIRV-Tools pass '--graphics-robust-access'
2019-10-09 lukas.hermanns Disabled spvUnsafeArray<> type for packed vectors and added test cases for those arrays.
2019-10-09 lukas.hermanns Added '--msl-invariant-float-math' option and new test case for it.
2019-09-27 lukas.hermanns Further updates for pull request #1162; also added two test cases for spvCubemapTo2DArrayFace function and added '--msl-framebuffer-fetch'/ '--msl-emulate-cube-array' compiler options.
2019-09-24 lukas.hermanns Update for pull request #1162 rev. 1
2019-09-23 lukas.hermanns Updates for pull request #1162
2019-09-19 lukas.hermanns Fixed false-positive optimization of builtin variables (may happen when 'spvOut' is emitted).
2019-09-18 lukas.hermanns Updated test shaders.
2019-09-18 lukas.hermanns Rearranged all 'UE Change' comments to match to project's coding style.
2019-09-17 lukas.hermanns Removed reference specifiers in 'spvFMul*' functions to avoid address specifiers.
2019-09-17 lukas.hermanns Updated reference Metal shaders.
2019-09-17 lukas.hermanns Avoid emitting 'spvUnsafeArray<>', 'spvFMul*', and 'spvFAdd' custom functions if they are not needed.
2019-09-17 lukas.hermanns Further adjustments to make Metal backend work again in UE4 on Mac.
2019-09-16 lukas.hermanns Renamed new test shaders to fit the naming convention in SPIRV-Cross.
2019-09-13 lukas.hermanns Added a new 'emulate_cube_array' option to SPIRV-Cross to cope with translating TextureCubeArray into texture2d_array for iOS where this type is not available. (Original Author: Mark Satterthwaite)
2019-09-13 lukas.hermanns Removed all '.DS_Store' files.
2019-09-13 lukas.hermanns Adjustments after rebase of ue4_dev branch.
2019-08-26 mark.satterthwaite OpImageTexelPointer needs to use an int coordinate type for GLSL, but not for MSL.
2019-08-26 mark.satterthwaite Remove obsolete memory barrier scope specification from Metal output, this API has been removed.
2019-08-14 mark.satterthwaite Add an option to SPIRV-Cross to enforce invariant floating point math to prevent different depth calculation between prepass & basepass when running on Metal 2.0 and earlier.
2019-08-14 mark.satterthwaite More fixes to handling packing & access elements in an array. Made in two parts. 1. Don't allow AccessChain operations to add duplicated swizzles when accessing packed arrays. 2. Only pack arrays when there is the proper amount of space between members in a struct, otherwise it will definitely be wrong.
2019-08-14 mark.satterthwaite Update the Metal shaders to account for changes in the shader compilation.
2019-08-14 mark.satterthwaite Fix texture swizzling.
2019-08-14 mark.satterthwaite The result of an AccessChain intrinsic in SPIRV can be referenced by multiple blocks but when they are loops that can result in compilation problems because the source variables might not be declared early enough. This forces us to hoist those variables high enough to make it work.
2019-08-14 mark.satterthwaite There are occasions where phi-variable copies are introduced for original variables which are fully declared, which coud result in the phi-variable never being declared and the shader not compiling, so declare the phi-variables when this happens. Change made in two parts.  1. Ensure that we declare phi-variable copies even if the original declaration isn't deferred. 2. Only flush phi variables once, avoids duplicate definitions.
2019-08-14 mark.satterthwaite When converting from HLSL the dxc SPIRV output often contains variables that are written through (e.g. a = b = c;) which seems to break the tracking of expressions in SPIRV-Cross, so don't reset everything once configured.
2019-08-14 mark.satterthwaite Provide the Metal bindings as part of the options structure as that is more convenient.
2019-08-14 mark.satterthwaite Slight modifications to IAB support for Metal output, so that the caller can specify an offset for the IAB start index, as for HLSL shaders UAVs need to occupy slots 0-7. The runtime support for SSBO robustness is also much simpler if the buffer size block is at index 0. Change made in two parts. 1. Allow the caller to specify the Metal translation should use argument buffers. 2. Move this to the front of IABs for convenience of the runtime.
2019-08-14 mark.satterthwaite Metal doesn't automatically enforce robust access to buffers unlike other APIs, so for storage-buffers, which become raw T* buffers in Metal, we need to fetch the buffer size and clamp the access to a valid index within the buffer ourselves. This is essential for shaders converted from HLSL which expects all resource access to be robust, though this implementation is technically different to the HLSL specification of return-0 for OOB reads, ignore OOB writes.
2019-08-14 mark.satterthwaite HLSL makes position calculations invariant by default to eliminate problems with depth-precision, Apple added a similar qualifier for Metal 2.1 that can and should be used in Vertex & Domain/TessEval shaders for the same effect.
2019-08-14 mark.satterthwaite When compiling from HLSL which pads and aligns float[]/float2[] within structures to float4[] we need to unpack the original type in Metal from the float4.
2019-08-14 mark.satterthwaite Fix conversion of the SampleMask intrinsic from SPIRV, where it is an array to Metal where it isn't.
2019-08-14 mark.satterthwaite Fixes to the generation of Metal tessellation shaders from SPIRV so that it works correctly in more complicated cases.     First, when generating from HLSL before invoking the code that comes from the HLSL patch-function a control-flow and full memory-barrier are required to ensure that all the temporary values in thread-local storage for the patch are available.     Second, the inputs to control and evaluation shaders must be properly forwarded from the global variables in SPIRV to the member variables in the relevant input structure.     Finally when arrays of interpolators are used for input or output we need to add an extra level of array indirection because Metal works at a different granularity than SPIRV.
2019-08-14 mark.satterthwaite Work-around HLSL using zero-based InstanceID and VertexID variables, but SPIRV, like Metal, includes BaseInstance & BaseVertex. Until this can be fixed in DXC, which is really the proper place to solve this, we can decrement InstanceID & VertexID when the source is HLSL. Made in two parts. 1. Handle HLSL-style 0-based vertex/instance index. 2. We zero-base the InstanceID & VertexID variables for HLSL emulation elsewhere, so don't do it twice.
2019-08-14 mark.satterthwaite On iOS sub-passes can be implemented using the frame-buffer fetch API which is much more efficient than binding the textures. Change was made in three parts. 1. Use Metal's native frame-buffer fetch API for subpass inputs. 2. Make sure that frame-buffer-fetch is only available on iOS. 3. Default to using Metal's native frame-buffer fetch for subpass inputs on iOS.
2019-08-14 mark.satterthwaite SPIRV doesn't distinguish depth textures from regular textures, but Metal does, so if we've ever seen a depth comparison operation we must ensure that the texture is specified as a depth-texture.
2019-08-14 mark.satterthwaite Emulate texture atomics in Metal by binding the underlying buffer that backs the resource to a separate binding point and using that for Metal's atomic operations. This will work with texture_buffer and texture2d created from an MTLBuffer, so is perfect for emulating HLSL atomics on RWBuffer and sufficient, but not ideal, for RWTexture2D with some restrictions (limited format support and can't be used for render-targets).
2019-08-14 mark.satterthwaite Support Metal 2.1's texture_buffer type which is the equivalent to HLSL's Buffer/RWBuffer, so doesn't require modifying buffer sizes to match alignments.
2019-08-13 mark.satterthwaite In order to use Metal shader libraries properly you have to ensure that you have no duplicated global symbol names for different entities, otherwise 'metallib' won't be able to combine multiple shaders into a single library. This is broken into two parts. 1. Constant arrays of non-primitive types (i.e. matrices) won't link properly into Metal libraries. 2. Metal helper functions must be static force-inline otherwise they will cause problems when linked together in a single Metallib.
2019-08-13 mark.satterthwaite Rework the way arrays are handled in Metal to remove the array copies as they are unnecessary from Metal 1.2. There were cases where copies were not being inserted and others appeared unncessary, using the template type should allow the 'metal' compiler to do the best possible optimisation. The changes are broken into three stages. 1. Allow Metal to use the array<T> template to make arrays a value type. 2. Force the use of C style array declaration for some cases which cannot be wrapped with a template. 3. Threadgroup arrays can't have a wrapper type. 4. Tweak the code to use unsafe_array in a few more places so that we can handle passing arrays of resources into the shader and then through shaders into sub-functions. 5. Handle packed matrix types inside arrays within structs. 6. Make sure that builtin arguments still retain their array qualifiers when used in leaf functions. 7. Fix declaration of array-of-array constants for Metal so we can use the array<T> template.
2019-08-13 mark.satterthwaite UE4 shader reference for those shaders that will compile without the changes.
2019-08-13 mark.satterthwaite Port the UE4 spirv shaders to ASM shaders that can be used in the test-rig - this will help show why the changes are required.
2019-08-13 mark.satterthwaite  Many interesting test cases for SPIRV-Cross taken from compiling UE4 shaders. These highlight the reasons for the various changes we've made.

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: I2a8721a29f71e50b617792cb5c898452617ed362
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12940
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-10-31 17:33:42 +00:00
Ryan Harrison 16f1068025 Rolling 3 dependencies
Roll third_party/SPIRV-Tools/ e3da3143b..e8c3f9b0b (4 commits)

e3da3143b2..e8c3f9b0b4

$ git log e3da3143b..e8c3f9b0b --date=short --no-merges --format='%ad %ae %s'
2019-10-18 chris Ensure timestamp does not vary with timezone. (#2982)
2019-10-18 stevenperron Keep NOPs when comparing with original binary (#2931)
2019-10-18 alanbaker Check that derivatives operate on 32-bit values (#2983)
2019-10-17 rharrison Check text->str before destroying (#2981)

Roll third_party/shaderc/ 65adcb504..c4835b852 (5 commits)

65adcb504d..c4835b8523

$ git log 65adcb504..c4835b852 --date=short --no-merges --format='%ad %ae %s'
2019-10-19 9856269+sarahM0 spvc: add known_spvc_failures  (#842)
2019-10-18 dneto Remove utils/build.py (#841)
2019-10-17 9856269+sarahM0 spvc parser for a trivial shader (#839)
2019-10-17 rharrison Rolling 5 dependencies and update known_failures & known_invalids (#840)
2019-10-17 dsinclair The glslang-testsuite is moved into glslang. (#838)

Roll third_party/spirv-cross/ a92668bc1..ff1897ae0 (1 commit)

a92668bc11..ff1897ae0e

$ git log a92668bc1..ff1897ae0 --date=short --no-merges --format='%ad %ae %s'
2019-10-21 post CFG: Compute actual immediate dominators.

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: Iceebd0f8d8bb83e60bf94a3dc01570358c563804
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12560
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-10-21 18:29:00 +00:00
Ryan Harrison 63f98f6e19 Rolling 4 dependencies
Roll third_party/SPIRV-Tools/ 253806adc..e3da3143b (14 commits)

253806adc4..e3da3143b2

$ git log 253806adc..e3da3143b --date=short --no-merges --format='%ad %ae %s'
2019-10-17 kubak Disallow use of OpCompositeExtract/OpCompositeInsert with no indices (#2980)
2019-10-17 rharrison Add fuzzer for spirv-dis call path (#2977)
2019-10-17 rharrison Check binary->code existence before destroying (#2979)
2019-10-17 akb825 Improved CMake install step. (#2963)
2019-10-16 kubak Support constant-folding UConvert and SConvert (#2960)
2019-10-16 rharrison Add fuzzer for spirv-as call path (#2976)
2019-10-15 afdx spirv-fuzz: Refactor 'copy object' and 'construct composite' transformations (#2966)
2019-10-15 dneto Update SPIR-V binary header test for SPIR-V 1.5 (#2967)
2019-10-14 afdx spirv-fuzz: Refactor 'split blocks' to identify instructions differently (#2961)
2019-10-11 alanbaker Validate that selections are structured (#2962)
2019-10-11 afdx spirv-fuzz: Rework id descriptors (#2959)
2019-10-11 afdx spirv-fuzz: Add fuzzer pass to add NoContraction decorations (#2950)
2019-10-11 afdx spirv-fuzz: Add fuzzer pass to change function controls (#2951)
2019-10-10 paulthomson reduce: add large tests and fix (#2947)

Roll third_party/glslang/ 4b97a1108..834ee546f (23 commits)

4b97a11081..834ee546f9

$ git log 4b97a1108..834ee546f --date=short --no-merges --format='%ad %ae %s'
2019-10-17 jbolz Only apply volatile semantics to atomics when using Vulkan Memory Model
2019-10-16 dsinclair Use commandline options instead of ENV variables
2019-10-16 rharrison Keep code style improvements
2019-10-16 dsinclair Indenting
2019-10-15 dsinclair Update CMakeLists.txt
2019-10-15 dsinclair Move TARGETDIR as well
2019-10-15 dsinclair Make runtests configurable.
2019-10-15 rharrison Fix config issues and revert previous fixes for semi-colon issues
2019-10-16 swda.durl Added an option to make pch enabled in Cmake
2019-10-15 wahlster find Python and add External subdir only if BUILD_EXTERNAL option was set (on by default) and /External dir exists
2019-10-14 cepheus GLSL/SPV: Pre SPIR-V 1.5, subgroupQuadBroadcast index must be constant
2019-10-12 geothrock remove redundant check
2019-10-12 Xottab-DUTY Fixed typo in README.md
2019-10-11 rharrison Forgot that GCC doesn't recognize this flag
2019-10-11 rharrison Remove unnecessary semi-colons and add warning about them
2019-10-10 cepheus Fix #1924: Promote SPV_EXT_physical_storage_buffer to KHR when required.
2019-10-10 greg Update spirv-tools known good.
2019-10-10 cepheus Fix #1924: Emit SPV_EXT_physical_storage_buffer, not the KHR form.
2019-09-04 lryer Fix code style issue and remove setXfbBufferStride new paramte
2019-09-02 lryer Adjusting code interface
2019-08-25 geothrock Add support for GL_ARB_explicit_uniform_location
2019-08-06 james.rumble Handle install vs build include directories
2019-08-06 james.rumble Export glslang targets on installation

Roll third_party/spirv-cross/ e5d3a6655..a92668bc1 (8 commits)

e5d3a6655e..a92668bc11

$ git log e5d3a6655..a92668bc1 --date=short --no-merges --format='%ad %ae %s'
2019-10-17 post Fix OpVectorExtractDynamic with spec constant op index.
2019-10-16 post Travis: Update PATH for Python3 on Windows.
2019-10-14 post MSL: Add opt-in support for huge IABs.
2019-10-14 post HLSL: Fix unrolled S/G LE/LT/GE/GT opcodes.
2019-10-14 post GLSL: Deal correctly with bitwidth on integer compares.
2019-10-14 post HLSL: Partially implement Unordered compare.
2019-10-14 post GLSL: Support unordered floating point compare.
2019-10-11 post MSL: Fix regression with OpCompositeConstruct from std140 float[].

Roll third_party/spirv-headers/ b252a5095..af64a9e82 (2 commits)

b252a50953..af64a9e826

$ git log b252a5095..af64a9e82 --date=short --no-merges --format='%ad %ae %s'
2019-10-15 cepheus Versioning: Complete the versioning change in recent commits.
2019-10-14 nicolai.haehnle buildHeaders: update version to SPIR-V 1.5

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: I0396a3e0e20e7cfc74603ef60512c2c715eb2c70
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12440
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-10-17 19:23:02 +00:00
Austin Eng 92a011a253 Record and dump trace events in the perf tests
Trace data can be used to build additional metrics which measure
validation costs, GPU time, etc. It will also be helpful to store in
the test output for later analysis.

This CL also adds jsoncpp as a DEP so we can dump trace file json
output.

Bug: dawn:208
Change-Id: Ia6c05ca90aecae308ee6a4fd11e5f43bb03b1dc9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12080
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2019-10-17 19:00:32 +00:00
Ryan Harrison 9e64afcb91 Rolling 4 dependencies
Roll third_party/SPIRV-Tools/ 9eb1c9a4c..253806adc (20 commits)

9eb1c9a4c4..253806adc4

$ git log 9eb1c9a4c..253806adc --date=short --no-merges --format='%ad %ae %s'
2019-10-10 afdx spirv-fuzz: Add fuzzer pass to change loop controls (#2949)
2019-10-10 afdx Fixed include paths and order according to Google style. (#2957)
2019-10-09 ehsannas Use a longer timeout for Bazel tests. (#2956)
2019-10-09 rharrison Remove non-existent files from BUILD.gn (#2955)
2019-10-09 alanbaker Disable scope validation for OpReadClockKHR (#2953)
2019-10-09 cwallez CMake: Add support for building with emscripten (#2948)
2019-10-09 stevenperron Update CHANGES
2019-10-08 stevenperron Link cfg and dominator analysis in the context (#2946)
2019-10-08 afdx spirv-fuzz: add transformation and pass to construct composites (#2941)
2019-10-08 paulthomson reduce: improve remove unref instr pass (#2945)
2019-10-08 afdx spirv-fuzz: add disabled test to document known issue (#2942)
2019-10-08 afdx spirv-fuzz: Add fuzzer pass to change selection controls (#2944)
2019-10-07 jeremy-lunarg Enable OpTypeCooperativeMatrix specialization (#2927)
2019-10-04 stevenperron Handle OpKill better (#2933)
2019-10-04 greg Generate null pointer by converting uint64 zero to pointer. (#2935)
2019-10-03 afdx spirv-fuzz: option to convert shader into a form that renders red (#2934)
2019-10-03 32110296+AaronHaganAMD Add SPV_KHR_shader_clock validation (#2879)
2019-10-03 paulthomson reduce/fuzz: improve command line args (#2932)
2019-10-02 alanbaker Validate physical storage buffer restrictions (#2930)
2019-10-01 paulthomson fuzz: add shrinker-temp-file-prefix (#2928)

Roll third_party/glslang/ 7bc047326..4b97a1108 (5 commits)

7bc047326e..4b97a11081

$ git log 7bc047326..4b97a1108 --date=short --no-merges --format='%ad %ae %s'
2019-10-06 dj2 single line
2019-10-03 dj2 Update appveyor and travis files
2019-10-03 dj2 Move install directory for SPIRV/ folder.
2019-09-29 cepheus HLSL: Fix #1912: add attribute syntax for nonreadable/nonwritable
2019-09-27 cepheus HLSL: Fix #1912: add attribute syntax for overriding image formats.

Roll third_party/shaderc/ 621605ce2..65adcb504 (3 commits)

621605ce26..65adcb504d

$ git log 621605ce2..65adcb504 --date=short --no-merges --format='%ad %ae %s'
2019-10-09 rharrison Add in shaderc_features.gni to support build time flags (#837)
2019-10-09 rharrison Rolling 5 dependencies (#836)
2019-10-09 rharrison Add spvc compiler to returned result (#828)

Roll third_party/spirv-headers/ 842ec9067..b252a5095 (1 commit)

842ec90674..b252a50953

$ git log 842ec9067..b252a5095 --date=short --no-merges --format='%ad %ae %s'
2019-09-24 lukasz.gotszald add cmake option SPIRV_HEADERS_SKIP_INSTALL

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: I19a3d341592605350e9f3e9d16aa60d0893d75bc
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/12060
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-10-10 15:00:18 +00:00
Ryan Harrison 16d20837cc Roll ahead to fix and update .gni to unbreak shaderc
Roll third_party/spirv-cross/ 5431e1da2..e5d3a6655 (8 commits)

5431e1da2d..e5d3a6655e

$ git log 5431e1da2..e5d3a6655 --date=short --no-merges --format='%ad %ae %s'
2019-10-07 rharrison Update SPV_VERSION from 1.4 to 1.5
2019-10-07 post Workaround MSVC issue.
2019-10-07 post Do not consider aliased struct types if the master is not a block.
2019-10-07 post Run format_all.sh.
2019-10-04 post Do not value compare JSON files for regression purposes.
2019-10-04 post Reflect: Deal with workgroup size being specialization constants.
2019-10-03 frank.richter reference: Update to include workgroup_size
2019-10-03 frank.richter reflection: Write workgroup_size to JSON for compute shaders

Created with:
  roll-dep third_party/spirv-cross

Roll third_party/shaderc/ e849e6783..621605ce2 (10 commits)

$ git log e849e6783..621605ce2 --date=short --no-merges --format='%ad %ae %s'
2019-10-08 rharrison Fix various build issues for chromium & dawn (#835)
2019-10-08 stevenperron Use a better python idiom (#834)
2019-10-08 stevenperron Fix up use of private spirv-tools headers. (#833)
2019-10-07 rharrison Roll spirv-cross ahead and update known_failures to fix build breakage (#831)
2019-10-07 9856269+sarahM0 spvc: Add an empty opt pass (#816)
2019-10-07 9856269+sarahM0 spvc: Add known_invalid file (#823)
2019-10-04 dneto Add support for targeting SPIR-V 1.5 (#822)
2019-10-03 rharrison Revert "Add spvc compiler to returned result (#821)" (#827)
2019-10-03 rharrison Add spvc compiler to returned result (#821)
2019-10-02 rharrison Rolling 4 dependencies (#817)

Created with:
  roll-dep third_party/shaderc

Change-Id: I9e77d5c78eb647c1f117c356306e6dff7613722a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11963
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-10-09 14:40:10 +00:00
Ryan Harrison c15160f3ab Rolling 4 dependencies
Roll third_party/SPIRV-Tools/ 958f7e72a..9eb1c9a4c (20 commits)

958f7e72a7..9eb1c9a4c4

$ git log 958f7e72a..9eb1c9a4c --date=short --no-merges --format='%ad %ae %s'
2019-10-01 stevenperron Add continue construct analysis to struct cfg analysis (#2922)
2019-09-27 stevenperron Record trailing line dbg instructions (#2926)
2019-09-27 rharrison Add removing references to debug instructions when removing them (#2923)
2019-09-27 paulthomson spirv-fuzz: allow interestingness script arguments (#2925)
2019-09-27 ehsannas Add Kokoro bots for building with Bazel. (#2914)
2019-09-27 alanbaker Refactor the InstructionPass (#2924)
2019-09-26 afdx spirv-fuzz: do not allow a dead break to target an unreachable block (#2917)
2019-09-26 afdx spirv-fuzz: preserve some analyses when permuting blocks (#2918)
2019-09-25 alanbaker Only allow previously declared forward refs in structs (#2920)
2019-09-25 stevenperron Handle id overflow in wrap-opkill (#2916)
2019-09-25 afdx spirv-fuzz: do not replace struct indices with synonyms (#2915)
2019-09-25 afdx spirv-fuzz: Fixes to preconditions for adding dead break/continue edges (#2904)
2019-09-25 afdx spirv-fuzz: do not replace a pointer argument to a function call with a synonym (#2901)
2019-09-25 afdx spirv-fuzz: do not replace boolean constant argument to OpPhi instruction (#2903)
2019-09-24 alanbaker Remove validate_datarules.cpp (#2911)
2019-09-24 stevenperron Handle extract with no indexes (#2910)
2019-09-24 ehsannas Add Bazel build configuration. (#2891)
2019-09-24 stevenperron Handle id overflow in convert local access chains (#2908)
2019-09-24 dsinclair Add OpCopyMemory test to SVA. (#2885)
2019-09-23 dsinclair Add missing GN dependency (#2899)

Roll third_party/glslang/ 973d0e538..7bc047326 (1 commit)

973d0e5382..7bc047326e

$ git log 973d0e538..7bc047326 --date=short --no-merges --format='%ad %ae %s'
2019-09-18 laddoc Reflection will crash when the VS input symbol defines the same name with FS output symbol

Roll third_party/shaderc/ cb8b3fc5c..e849e6783 (4 commits)

cb8b3fc5ca..e849e6783d

$ git log cb8b3fc5c..e849e6783 --date=short --no-merges --format='%ad %ae %s'
2019-09-23 rharrison Add logging missing failures to spvc test script (#815)
2019-09-23 rharrison Add --update_known_failures to spvc test script (#813)
2019-09-23 rharrison Another round of cleaning the spvc test script (#811)
2019-09-23 rharrison Rolling 2 dependencies (#812)

Roll third_party/spirv-headers/ 601d73872..842ec9067 (4 commits)

601d738723..842ec90674

$ git log 601d73872..842ec9067 --date=short --no-merges --format='%ad %ae %s'
2019-09-24 ehsannas Improve the doc on using Bazel.
2019-09-24 rex.xu Bump the SPIR-V version to 1.5
2019-09-23 ehsannas Update documentation.
2019-09-18 ehsannas Add a Bazel build file.

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: If888854a1b123b01cd14169d9e2ac0cf2b0eec00
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11741
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-10-01 17:16:53 +00:00
Ryan Harrison 27a35eb2a9 Rolling 3 dependencies
Roll third_party/SPIRV-Tools/ 08fcf8a4a..958f7e72a (10 commits)

08fcf8a4ab..958f7e72a7

$ git log 08fcf8a4a..958f7e72a --date=short --no-merges --format='%ad %ae %s'
2019-09-23 afdx Employ the "swarm testing" idea in spirv-fuzz (#2890)
2019-09-23 afdx Fix operand index in spirv-fuzz (#2895)
2019-09-23 dneto Update DEPS: effcee, re2, googletest (#2881)
2019-09-23 dneto Add method comment for opt::Function::WhileEachInst (#2867)
2019-09-20 stevenperron Use OpReturn* in wrap-opkill (#2886)
2019-09-20 afdx Fix to CMakeLists for spirv-fuzz tests (#2888)
2019-09-20 afdx Allow validation during spirv-fuzz replay (#2873)
2019-09-20 afdx Disable long-running fuzzer tests by default (#2887)
2019-09-19 stevenperron Revert "Use OpReturn* in wrap-opkill"
2019-09-19 stevenperron Use OpReturn* in wrap-opkill

Roll third_party/glslang/ f7a48b153..973d0e538 (1 commit)

f7a48b153f..973d0e5382

$ git log f7a48b153..973d0e538 --date=short --no-merges --format='%ad %ae %s'
2019-09-20 cepheus GLSL/SPV: Fix #1900: Drop const on literal when doing an object copy.

Roll third_party/shaderc/ 68b6857ac..cb8b3fc5c (1 commit)

68b6857ac0..cb8b3fc5ca

$ git log 68b6857ac..cb8b3fc5c --date=short --no-merges --format='%ad %ae %s'
2019-09-19 rharrison Rolling 6 dependencies and update known_failures (#809)

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: I2e18f0533a45b243521569194415706d418d8b54
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11520
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-09-23 20:19:50 +00:00
Ryan Harrison f8c66c72c6 Rolling 4 dependencies
Roll third_party/SPIRV-Tools/ e2e95172d..08fcf8a4a (22 commits)

e2e95172df..08fcf8a4ab

$ git log e2e95172d..08fcf8a4a --date=short --no-merges --format='%ad %ae %s'
2019-09-19 ehsannas Fix header include syntax. (#2882)
2019-09-19 stevenperron Handle OpConstantNull in copy-prop-arrays. (#2870)
2019-09-19 dneto Fix comment typo found by protobufs linter (#2884)
2019-09-19 dsinclair Move docs into docs/ folder (#2872)
2019-09-18 dsinclair Add WebGPU SPIR-V Assembler in JavaScript. (#2876)
2019-09-18 dneto Android.mk: Add dependency from optimizer file to amd-shader-ballot-insts.inc (#2883)
2019-09-18 dneto Update SPIRV-Headers in DEPS (#2880)
2019-09-18 afdx  Fix detection of blocks bypassed by new edge (#2874)
2019-09-18 afdx Fix CMake issue related to spirv-fuzz (#2877)
2019-09-18 afdx Add fuzzer pass to replace ids with synonyms (#2857)
2019-09-18 alanbaker Relaxed bitcast with pointers (#2878)
2019-09-17 52076061+digit-google Fix Fuchsia build. (#2868)
2019-09-16 raun.krisch Adding valilidation checks for OpEntryPoint duplicate names and execution mode (#2862)
2019-09-16 alanbaker Extra resource interface validation (#2864)
2019-09-13 alanbaker Split capability tests (#2866)
2019-09-13 alanbaker SPIRV-Tools support for SPIR-V 1.5 (#2865)
2019-09-11 afdx Add fuzzer pass to copy objects (#2853)
2019-09-11 rharrison Handle another case where creating a constant can fail (#2854)
2019-09-11 stevenperron Don't inline function containing OpKill (#2842)
2019-09-11 stevenperron Handle id overflow in wrap op kill. (#2851)
2019-09-11 dneto Assembler: Can't set an ID in instruction without result ID (#2852)
2019-09-10 zoddicus Handle creating a new constant failing gracefully (#2848)

Roll third_party/glslang/ 664ad418f..f7a48b153 (14 commits)

664ad418f8..f7a48b153f

$ git log 664ad418f..f7a48b153 --date=short --no-merges --format='%ad %ae %s'
2019-09-17 cepheus SPV_KHR_physical_storage_buffer/SPV: Add GL_EXT_buffer_reference_uvec2
2019-09-16 digit Fix Fuchsia build.
2019-09-17 kainino use custom es6 modularization instead of MODULARIZE=1
2019-09-17 kainino Separate GLSLANG_WEB (min-size build) and Emscripten options
2019-09-18 cepheus README: Fix WASM typos.
2019-09-18 cepheus HLSL: Fix #1903 Catch 0-argument case to constructors.
2019-09-08 jbolz Add GL_EXT_shader_subgroup_extended_types support
2019-08-28 cepheus GLSL: Only require constant for subgroupBroadcast when SPV < 1.5.
2019-08-18 cepheus SPV: Support SPIR-V 1.5; five extensions no longer need OpExtension.
2019-09-09 laddoc Add flags for local size values ( compute shader )
2019-09-13 cepheus SPV 1.5: Switch to the 1.5 header, for SPIR-V 1.5.
2019-09-11 dsinclair Comment out params instead of removing
2019-09-10 dsinclair Remove unused params
2019-09-09 rex.xu Fix incorrect function prototypes of 64-bit findLSB/findMSB

Roll third_party/spirv-cross/ b32a1b415..5431e1da2 (7 commits)

b32a1b4150..5431e1da2d

$ git log b32a1b415..5431e1da2 --date=short --no-merges --format='%ad %ae %s'
2019-09-19 post Update SPIR-V headers.
2019-09-19 post MSL: Fix 16-bit integer literals.
2019-09-18 rharrison Update external/ to SPIR-V 1.5
2019-09-18 post CMake: Add option to force -fPIC.
2019-09-17 post Fix -Wshorten-64-to-32 warnings.
2019-09-16 post CMake: Add option to skip installation targets.
2019-09-12 post Consider discard and demote as impure statements.

Roll third_party/spirv-headers/ 38cafab37..601d73872 (2 commits)

38cafab379..601d738723

$ git log 38cafab37..601d73872 --date=short --no-merges --format='%ad %ae %s'
2019-09-18 cepheus Add SPV_KHR_physical_storage_buffer.
2019-09-13 cepheus SPIR-V 1.5.

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: I9a50caaec13661e60126b9d3e6b4fc63863d25f3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11381
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2019-09-19 21:08:12 +00:00
Ryan Harrison ae4dbeb178 Roll ahead shaderc API and update API usage as needed
Roll third_party/shaderc/ 4baa46a5d..68b6857ac (2 commits)

4baa46a5d1..68b6857ac0

$ git log 4baa46a5d..68b6857ac --date=short --no-merges --format='%ad %ae %s'
2019-09-18 rharrison Code hygiene work for spvc (#808)
2019-09-10 stevenperron Have update_build_version.py new parameter (#805)

Change-Id: I06e0f62a1443741e8ac09a84ff63ddd100f6a656
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11341
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-09-19 14:20:46 +00:00
Ryan Harrison 619935f7f2 Rolling 4 dependencies
Roll third_party/SPIRV-Tools/ 19b256616..e2e95172d (9 commits)

19b256616d..e2e95172df

$ git log 19b256616..e2e95172d --date=short --no-merges --format='%ad %ae %s'
2019-09-10 afdx Rework management of probabilities in spirv-fuzz (#2839)
2019-09-10 afdx Fix add-dead-break and add-dead-continue passes to respect dominance (#2838)
2019-09-10 stevenperron Handle id overflow in the ssa rewriter. (#2845)
2019-09-09 stevenperron Handle id overflow in the constant manager. (#2844)
2019-09-09 alanbaker Add generic builtin validation of target (#2843)
2019-09-09 stevenperron Don't register duplicate decoration in validator. (#2841)
2019-09-06 stevenperron Replace CubeFaceCoord and CubeFaceIndexAMD (#2840)
2019-09-05 stevenperron Fold Min, Max, and Clamp instructions. (#2836)
2019-09-05 stevenperron Replace uses of SPV_AMD_shader_trinary_minmax extension (#2835)

Roll third_party/glslang/ 56f61ccce..664ad418f (2 commits)

56f61cccef..664ad418f8

$ git log 56f61ccce..664ad418f --date=short --no-merges --format='%ad %ae %s'
2019-09-05 cepheus Fix #1879: Check for valid variable before checking for unsized arrays.
2019-09-04 greg Update spirv-tools and spriv-headers known good.

Roll third_party/shaderc/ 3b038fa1c..4baa46a5d (3 commits)

3b038fa1c3..4baa46a5d1

$ git log 3b038fa1c..4baa46a5d --date=short --no-merges --format='%ad %ae %s'
2019-09-09 zoddicus Rolling 4 dependencies and update known_failures (#803)
2019-09-06 zoddicus Improve testing .asm., .nocompat., and .vk. chases (#797)
2019-09-05 zoddicus Remove unsetting compiler check variables (#801)

Roll third_party/spirv-cross/ f24654db8..b32a1b415 (8 commits)

f24654db8c..b32a1b4150

$ git log f24654db8..b32a1b415 --date=short --no-merges --format='%ad %ae %s'
2019-09-06 wadetb MSL: Fix array copies to/from interpolators
2019-09-06 post Run format_all.sh.
2019-09-05 post Refactor into stronger types in public API.
2019-09-06 post Add dynamic offsets to C API.
2019-09-06 post Fix some issues on certain compilers.
2019-09-05 cdavis MSL: Support dynamic offsets for buffers in argument buffers.
2019-09-04 cdavis MSL: Force storage images on iOS to use discrete descriptors.
2019-09-05 lifeng.pan Fix ParsedIR::mark_used_as_array_length(uint32_t id)

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: Id2e571ec15c78a43e3e435f25a0e8299ce82f623
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/11100
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2019-09-10 21:28:49 +00:00
Ryan Harrison 3bcb567d8f Rolling 5 dependencies
Roll third_party/SPIRV-Tools/ 5a581e738..19b256616 (14 commits)

5a581e738c..19b256616d

$ git log 5a581e738..19b256616 --date=short --no-merges --format='%ad %ae %s'
2019-09-04 zoddicus For WebGPU<->Vulkan optimization, set correct execution environment (#2834)
2019-09-04 40687079+rumblehhh Export SPIRV-Tools targets on installation (#2785)
2019-09-04 jmadill GN: Add Chromium GoogleTest deps. (#2832)
2019-09-03 stevenperron Upadate CHANGES
2019-09-03 greg Instrument: Be sure Float16 capability on when generating float16 null (#2831)
2019-09-03 greg Add --relax-float-ops and --convert-relaxed-to-half (#2808)
2019-09-03 jmadill GN: Make SPIRV-Tools target use public_deps. (#2828)
2019-09-03 stevenperron Fold Fmix should accept vector operands. (#2826)
2019-09-02 afdx Fix end comments in header files (#2829)
2019-08-30 bclayton AggressiveDCEPass: Set modified to true when appending to to_kill_ (#2825)
2019-08-30 stevenperron Replace SwizzleInvocationsAMD extended instruction. (#2823)
2019-08-30 stevenperron Replace SwizzleInvocationsMaskedAMD extended instruction. (#2822)
2019-08-30 cwallez Fix gn check (#2821)
2019-08-29 stevenperron Amd ext to khr (#2811)

Roll third_party/glslang/ 796df2d74..56f61ccce (3 commits)

796df2d74e..56f61cccef

$ git log 796df2d74..56f61ccce --date=short --no-merges --format='%ad %ae %s'
2019-09-02 lryer code refine
2019-08-30 cepheus Placeholder fix for part of #1870.
2019-08-30 cepheus Non-functional: Make whitespace/braces consistent for a recent commit.

Roll third_party/shaderc/ f4786674e..3b038fa1c (3 commits)

f4786674e3..3b038fa1c3

$ git log f4786674e..3b038fa1c --date=short --no-merges --format='%ad %ae %s'
2019-09-04 zoddicus Pass in source not target env into spirv-opt (#799)
2019-09-04 cwallez Use agreed upon include paths for spirv-cross (#795)
2019-09-03 zoddicus Rolling 5 dependencies and updating known_failures (#796)

Roll third_party/spirv-cross/ ee7357f2a..f24654db8 (13 commits)

ee7357f2a6..f24654db8c

$ git log ee7357f2a..f24654db8 --date=short --no-merges --format='%ad %ae %s'
2019-09-04 post Add test case for interlocks in control flow.
2019-09-04 post Make sure not to propagate loads outside interlock region.
2019-09-04 post Add interlock test for split functions doing begin/end.
2019-09-04 post Deal with complex interlock cases in GLSL.
2019-09-04 post Add test shader for simple case of interlocked callstack.
2019-09-04 post Deal with call stacks when analyzing access.
2019-09-04 post Analyze complex cases for fragment interlocks.
2019-08-04 cdavis Support the SPV_EXT_fragment_shader_interlock extension.
2019-08-02 cdavis MSL: Add support for sampler Y'CbCr conversion.
2019-08-30 t.roughton Clang-format changes
2019-08-30 t.roughton Update tests to account for all non-entry-point functions being inlined
2019-08-29 t.roughton Inline all non-entry-point functions
2019-06-10 t.roughton MSL: inline all emitted functions

Roll third_party/spirv-headers/ 059a49598..38cafab37 (1 commit)

059a49598c..38cafab379

$ git log 059a49598..38cafab37 --date=short --no-merges --format='%ad %ae %s'
2019-08-30 cepheus Minor tweak for Rev. 2 of SPIR-V 1.4.

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: Icab7f6d423709089e6793048f2578021d0688173
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/10900
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2019-09-05 06:40:52 +00:00
Ryan Harrison f018c05e44 Rolling 5 dependencies
Roll third_party/SPIRV-Tools/ 0cbdc7a2c..5a581e738 (8 commits)

0cbdc7a2c3..5a581e738c

$ git log 0cbdc7a2c..5a581e738 --date=short --no-merges --format='%ad %ae %s'
2019-08-29 bclayton spvtools::Optimizer - don't assume original_binary and optimized_binary are aliased (#2799)
2019-08-28 stevenperron Check feature mgr in context consistency check (#2818)
2019-08-26 stevenperron Refactor instruction folders (#2815)
2019-08-23 8729214+jonahryandavis Add missing files to BUILD.gn (#2809)
2019-08-22 afdx Extend reducer to remove relaxed precision decorations (#2797)
2019-08-22 stevenperron Handle Id overflow in private-to-local (#2807)
2019-08-21 stevenperron Even more id overflow in sroa (#2806)
2019-08-21 stevenperron Add name for variables in desc sroa (#2805)

Roll third_party/glslang/ 95609e6d9..796df2d74 (35 commits)

95609e6d92..796df2d74e

$ git log 95609e6d9..796df2d74 --date=short --no-merges --format='%ad %ae %s'
2019-08-28 rharrison Change to initializing the variable
2019-08-28 rharrison Return nullptr after assert to avoid uninitialized variables
2019-08-28 cepheus ESSL/SPV: Fix #1856: Allow ESSL shaders to compile to OpenGL SPIR-V.
2019-08-28 cepheus Documentation: Provide more detail in setting up the environment.
2019-08-27 cwallez BUILD.gn: Add missing HLSL files.
2019-08-26 cwallez GN build (for Chromium): enable HLSL in dependents.
2019-08-26 baldurk Dereference any array type before expanding root-level SSBO members
2019-08-23 dneto GN build (for Chromium): enable HLSL
2019-08-22 jbolz GL_NV_integer_cooperative_matrix support
2019-08-22 cepheus Bump revision.
2019-08-22 cepheus GLSL: Inherit memory qualifiers, both declaratively and in execution.
2019-08-22 jonahr Fix conformance with -Wextra-tokens
2019-08-21 cepheus Bump version.
2019-08-21 cepheus web: Fix accidental additon of refract() prototypes and update README.
2019-08-13 cepheus Web: Turn off includes, independent preprocessing path, fine tune all.
2019-08-11 cepheus Web: Make switched methods all be non-virtual, more web-dependent code,
2019-08-10 cepheus Web: Optional error management and error tightening.
2019-08-09 cepheus Web: Use isEsProfile() instead of run-time testing; remove more atomics
2019-08-08 cepheus Web: Remove unused stage functionality, SPIR-V logger, and hex_utils
2019-08-08 cepheus Web: Remove unnecessary GLSL numeric types, and some collateral.
2019-08-08 cepheus Web: Tighten up sampling code and interfaces.
2019-08-07 cepheus Web: Complete the removal of vendor-specific #ifdef's, including CMake.
2019-08-06 cepheus Web: Prune grammar and lexor down to needed subset.
2019-08-06 cepheus Web: Generalize _EXTENSIONS* in SPIR-V back-end.
2019-08-06 cepheus Web: Turn off bracket-style attributes, reflection, and IO mapping.
2019-08-01 cepheus Web: Remove/rationalize a set of *_EXTENSIONS, using GLSLANG_WEB.
2019-07-31 cepheus Web: First pass of tabling the built-in function declarations.
2019-07-28 cepheus Web: Selectively remove a few key features, using #ifndef GLSLANG_WEB
2019-07-27 cepheus Web: Change a bunch of HLSL methods from dynamic to compile-time known.
2019-07-27 cepheus Web: Remove a few additional HLSL constructs with ENABLE_HLSL.
2019-07-26 cepheus Web: Add sanity check test suite for smaller-footprint builds.
2019-08-20 cepheus Bump revision.
2019-08-14 kainino convert_glsl_to_spirv: fail early, reduce copies, remove input buffer allocation
2019-07-25 kainino make glslang.js easy to use
2019-08-14 kainino enable build for node

Roll third_party/shaderc/ 210fac890..f4786674e (10 commits)

210fac8904..f4786674e3

$ git log 210fac890..f4786674e --date=short --no-merges --format='%ad %ae %s'
2019-08-28 zoddicus Seperate non-API spvc code into private source file (#794)
2019-08-27 zoddicus Rolling 7 dependencies and updating known_failures (#791)
2019-08-27 zoddicus Add ToVulkan API methods (#792)
2019-08-27 zoddicus Refactor internals of conversion API to be more modular (#785)
2019-08-25 dneto Remove extra semi-colons (#790)
2019-08-23 dneto GN build: enable HLSL in Glslang (#789)
2019-08-22 9856269+sarahM0 spvc: Add option to inject code to enforce robust-buffer-access
2019-08-21 dneto Force Glslang to support HLSL in its interface (#784)
2019-08-21 zoddicus Fix some Python2 vs 3 issues in update_build_version.py (#783)
2019-08-20 zoddicus Manually cast fuzzing data to avoid new GCC warning (#782)

Roll third_party/spirv-cross/ 4ce04480e..ee7357f2a (11 commits)

4ce04480ec..ee7357f2a6

$ git log 4ce04480e..ee7357f2a --date=short --no-merges --format='%ad %ae %s'
2019-08-29 post MSL: Add {Base,}{Vertex,Instance}Index to bitcast_from_builtin_load.
2019-08-02 cdavis GLSL: Fix post-depth coverage for ESSL.
2019-08-28 post Run format_all.sh.
2019-08-27 post GLSL: Assume image and sampler can be RelaxedPrecision.
2019-08-27 post MSL: Deal with array copies from and to threadgroup.
2019-08-27 post Do not allow base expressions for non-native row-major matrices.
2019-08-27 post Deal with ldexp taking uint input.
2019-08-26 post Move branchless analysis to CFG.
2019-08-26 post Elide branches to continue block when continue block is also a merge.
2019-08-26 post Deal correctly with sign on bitfield operations.
2019-08-26 post Fix variable scope when switch block exits multiple times.

Roll third_party/spirv-headers/ e4322e3be..059a49598 (1 commit)

e4322e3be5..059a49598c

$ git log e4322e3be..059a49598 --date=short --no-merges --format='%ad %ae %s'
2019-06-12 cepheus Grammar: Add instruction-printing classes.

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: Iaa7791ec4d7ed0c383ba19544e74e0281372495c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/10660
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2019-08-29 16:24:01 +00:00
Ryan Harrison ae2b9f4720 Rolling 3 dependencies
Roll third_party/SPIRV-Tools/ f701237f2..0cbdc7a2c (9 commits)

f701237f2d..0cbdc7a2c3

$ git log f701237f2..0cbdc7a2c --date=short --no-merges --format='%ad %ae %s'
2019-08-20 dneto Remove unimplemented method declaration (#2804)
2019-08-18 stevenperron Handle overflow in wrap-opkill (#2801)
2019-08-16 stevenperron More handle overflow in sroa (#2800)
2019-08-16 greg Instrument: Add support for Buffer Device Address extension (#2792)
2019-08-15 toomas.remmelg Update remquo validation to match the OpenCL Extended Instruction Set Specification (#2791)
2019-08-15 jaebaek Use ascii code based characters (#2796)
2019-08-14 jaebaek Change the way to include header (#2795)
2019-08-14 alanbaker Fix validation of constant matrices (#2794)
2019-08-14 stevenperron Replace OpKill With function call. (#2790)

Roll third_party/glslang/ 37fc4d27d..95609e6d9 (1 commit)

37fc4d27d6..95609e6d92

$ git log 37fc4d27d..95609e6d9 --date=short --no-merges --format='%ad %ae %s'
2019-08-14 johnkslang Set theme jekyll-theme-merlot

Roll third_party/shaderc/ b3b228c60..210fac890 (2 commits)

b3b228c60d..210fac8904

$ git log b3b228c60..210fac890 --date=short --no-merges --format='%ad %ae %s'
2019-08-20 zoddicus Rolling 4 dependencies (#779)
2019-08-13 zoddicus Rolling 3 dependencies (#777)

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: Ic0be3537340be4180d10a4fd02e921e138f44205
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/10300
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-08-20 21:04:31 +00:00
Ryan Harrison 79e6ab7631 Rolling 2 dependencies
Roll third_party/SPIRV-Tools/ 29af42df1..f701237f2 (6 commits)

29af42df12..f701237f2d

$ git log 29af42df1..f701237f2 --date=short --no-merges --format='%ad %ae %s'
2019-08-12 stevenperron Remove useless semi-colons (#2789)
2019-08-09 greg Instrument: Fix version 2 output record write for tess eval shaders. (#2782)
2019-08-08 stevenperron Start SPIRV-Tools v2019.5
2019-08-08 stevenperron Finalize SPIRV-Tools v2019.4
2019-08-08 stevenperron Add descriptor array scalar replacement (#2742)
2019-08-08 stevenperron Update CHANGES

Roll third_party/glslang/ 3cea2e588..37fc4d27d (4 commits)

3cea2e5882..37fc4d27d6

$ git log 3cea2e588..37fc4d27d --date=short --no-merges --format='%ad %ae %s'
2019-08-09 rharrison Make non-emscripten flags platform agnostic.
2019-08-09 rharrison Converted ENABLE_HLSL to a dependent option, so it can be always disabled in web builds
2019-08-09 rharrison Move build instructions to README.md
2019-08-08 rharrison Add WASM build target for Web version of glslang

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: Ic09942c1a4d64d8ae5f158d0932b15f784c1f980
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/10061
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2019-08-13 22:44:34 +00:00
Robert Iannucci ebb05399c0 Rolling 5 dependencies
Roll build/ e439f6082..5262b9094 (1594 commits)

e439f60824..5262b90946

$ git log e439f6082..5262b9094 --date=short --no-merges --format='%ad %ae %s'
2019-08-08 chromium-autoroll Roll Fuchsia SDK from 890571594499 to 890568639186
2019-08-08 chromium-autoroll Roll Fuchsia SDK from 890574089166 to 890571594499
2019-08-08 chromium-autoroll Roll Fuchsia SDK from 890577289982 to 890574089166
2019-08-07 gogerald [StartSurface] Move the tab_ui strings to the feature module
2019-08-07 tiborg [build] Remove dont_load_shared_libraries GN parameter
2019-08-07 chromium-autoroll Roll Fuchsia SDK from 890579756157 to 890577289982
2019-08-07 chromium-autoroll Roll Fuchsia SDK from 890582331998 to 890579756157
2019-08-07 chromium-autoroll Roll Fuchsia SDK from 890585497544 to 890582331998
2019-08-07 yucliu [Fuchsia][EME] Correct CDM service name
2019-08-07 hmohit Add gn arg to overwrite rpath.
2019-08-06 iannucci [build/toolchain] Add individual vpython spec to win/tool_wrapper.py
2019-08-06 jdonnelly Revert "Proguard conditional keeps for layouts"
2019-08-06 awolter [Fuchsia] Remove fuchsia.net.SocketProvider from manifests
2019-08-06 chromium-autoroll Roll Fuchsia SDK from 890588017156 to 890585497544
2019-08-06 harshpa Proguard conditional keeps for layouts
2019-08-06 chromium-autoroll Roll Fuchsia SDK from 890591001924 to 890588017156
2019-08-06 chromium-autoroll Roll Fuchsia SDK from 890593631659 to 890591001924
2019-08-05 liaoyuke [code coverage] Skip instrumenting files that has triggers a SI bug
2019-08-05 chromium-autoroll Roll Fuchsia SDK from 890596874171 to 890593631659
2019-08-05 bpastene chromeos: Point TMPDIR to /usr/local/tmp during VM/DUT tests.
2019-08-05 chromium-autoroll Roll Fuchsia SDK from 890600805183 to 890596874171
2019-08-05 chromium-autoroll Roll Fuchsia SDK from 890603479401 to 890600805183
2019-08-04 chromium-autoroll Roll Fuchsia SDK from 890606035392 to 890603479401
2019-08-04 chromium-autoroll Roll Fuchsia SDK from 890608527889 to 890606035392
2019-08-04 chromium-autoroll Roll Fuchsia SDK from 890611617821 to 890608527889
2019-08-03 chromium-autoroll Roll Fuchsia SDK from 890614483854 to 890611617821
2019-08-03 chromium-autoroll Roll Fuchsia SDK from 890617289215 to 890614483854
2019-08-03 chromium-autoroll Roll Fuchsia SDK from 890619875909 to 890617289215
2019-08-03 chromium-autoroll Roll Fuchsia SDK from 890622382381 to 890619875909
2019-08-03 sergeyu [fuchsia] Fix exe_runner.py
2019-08-02 smaier Give longer oatdump timeout in class verification failure script
2019-08-02 tsniatowski Fix android shared_library metadata output_extension handling
2019-08-02 chromium-autoroll Roll Fuchsia SDK from 890625413366 to 890622382381
2019-08-02 vtsyrklevich Create separate gwp_asan_unittests target
2019-08-02 csharp Reland "Reland "Remove references to MessagePump::Type""
2019-08-02 csharp Revert "Reland "Remove references to MessagePump::Type""
2019-08-02 carlscab Reland "Remove references to MessagePump::Type"
2019-08-02 cjgrant crashpad_stackwalker: Specify Android platform when generating symbols
2019-08-02 chromium-autoroll Roll Fuchsia SDK from 890628039446 to 890625413366
2019-08-02 chromium-autoroll Roll Fuchsia SDK from 890630742147 to 890628039446
2019-08-01 thakis Replace global NO_TCMALLOC and USE_TCMALLOC defines with BUILDFLAG(USE_TCMALLOC).
2019-08-01 chromium-autoroll Roll Fuchsia SDK from 890633683590 to 890630742147
2019-08-01 tiborg [build] Move logic selecting feature module libraries into Chrome layer
2019-08-01 thakis Disable Wimplicit-int-float-conversion on the clang tot bots in nocompile tests as well.
2019-08-01 thakis Disable Wimplicit-int-float-conversion on the clang tot bots.
2019-08-01 chromium-autoroll Roll Fuchsia SDK from 890643698313 to 890633683590
2019-08-01 eliribble Properly handle transient communication errors with gsutil.py
2019-08-01 ianloic Reland "[Fuchsia] Update to new FIDL string and vector APIs"
2019-07-31 zmin Revert "[Fuchsia] Update to new FIDL string and vector APIs"
2019-07-31 wez [Fuchsia] Fix update-sdk.py not to re-download the same SDK.
(...)
2018-12-18 kmarshall Fuchsia: Deploy packages using Amber HTTP blob pull mechanism.
2018-12-18 kmarshall Roll Fuchsia SDK from 8c4293109de7 to c366d97d15de
2018-12-17 brucedawson Fix redist glob to work on Linux
2018-12-17 chromium-autoroll Roll Fuchsia SDK from 5639aa6b5daf to 8c4293109de7
2018-12-17 bpastene Add support to chromeos test runner for running tests on devices.
2018-12-17 wnwen Android: Update Android Studio canary version
2018-12-17 bpastene Rename CrOS test configs to be VM agnostic.
2018-12-17 chromium-autoroll Roll Fuchsia SDK from 7ed025b27664 to 5639aa6b5daf
2018-12-17 chromium-autoroll Roll Fuchsia SDK from 2f1dec3ad9a0 to 7ed025b27664
2018-12-16 caseq Suppress data race in ScopedTimeClockOverrides
2018-12-16 chromium-autoroll Roll Fuchsia SDK from ff53aae5ee89 to 2f1dec3ad9a0
2018-12-16 chromium-autoroll Roll Fuchsia SDK from 0fd351b28f70 to ff53aae5ee89
2018-12-16 chromium-autoroll Roll Fuchsia SDK from 7e4b71a4511f to 0fd351b28f70
2018-12-15 chromium-autoroll Roll Fuchsia SDK from 14998eedc6c9 to 7e4b71a4511f
2018-12-15 chromium-autoroll Roll Fuchsia SDK from 3747c1fea17d to 14998eedc6c9
2018-12-15 chromium-autoroll Roll Fuchsia SDK from f65ab9f9fe2a to 3747c1fea17d
2018-12-15 thomasanderson Disable libc++ on android and rollback buildtools to 7d88270d
2018-12-15 mmoroz Revert "Fixes necessary to enable in-tree libc++ on Android"
2018-12-14 thomasanderson Make sysroot builds reproducible
2018-12-14 chromium-autoroll Roll Fuchsia SDK from dfca5b235ea8 to f65ab9f9fe2a
2018-12-14 thomasanderson Android: Enable in-tree libc++ builds
2018-12-14 thomasanderson Fixes necessary to enable in-tree libc++ on Android
2018-12-14 inferno Reland "Add default sanitizer options for Windows."
2018-12-14 agrieve Android: Delete unused .build_config entry: secondary_abi_java_libraries_list
2018-12-14 agrieve Android: Fix secondary_abi_loadable_modules ignored without secondary_abi_shared_libraries
2018-12-14 tikuta [android] use copy in dexsplitter instead of move
2018-12-14 tikuta [android] specify collect library path in depfile
2018-12-14 thomasanderson Revert "build: Default use_lld to true on ChromeOS."
2018-12-13 pcc build: Default use_lld to true on ChromeOS.
2018-12-13 erikchen Update gtest_merge logic to parse outputs regardless of failure status.
2018-12-13 wnwen Android: Remove sdk and sdk_path options
2018-12-13 chromium-autoroll Roll Fuchsia SDK from 438fd9563caa to dfca5b235ea8
2018-12-13 wnwen Android: Remove build_tools_version
2018-12-13 machenbach Revert "ARM64 capable toolchain hash"
2018-12-13 julien.isorce Use pkg-config to find libva on Linux
2018-12-13 bertbelder Control windows lld-link thin archive flag with config("thin_archive")
2018-12-13 sergeyu [Fuchsia] Fix test runner to shutdown forwarding socket
2018-12-13 brucedawson ARM64 capable toolchain hash
2018-12-12 sergeyu [Fuchsia] Write net-test-server-config to /tmp
2018-12-12 chromium-autoroll Roll Fuchsia SDK from 7adc6567256a to 438fd9563caa
2018-12-12 thomasanderson [Reland] Add RPATH to shared libraries
2018-12-12 wez [Fuchsia] Switch to use 'core' SDK in Chromium.
2018-12-12 agrieve Android: Set strip_absolute_paths_from_debug_symbols=true for non-goma as well
2018-12-12 mattcary [Android] Dexlayout with obfuscated profiles
2018-12-12 brucedawson Fix ucrt redist path for copy_cdb_to_output.py
2018-12-12 fdegans [Fuchsia] Remove ordinals from FIDL files.
2018-12-11 bsheedy Support post-failure screenshots on Vega
2018-12-11 bpastene android: Make the cmd-line flag file name configurable via a test_runner arg.
2018-12-11 digit android: Update bundletool to 0.7.2
2018-12-11 thakis mac: Remove edit_xibs.sh.

Roll buildtools/ 24ebce457..d658e92a1 ++ 106e9fc..74cfb57 (12+46 commits)

24ebce4578..d658e92a1f
106e9fc..74cfb57

$ git log 106e9fc..74cfb57 --date=short --no-merges --format='%ad %ae %s' && \
  git log 24ebce457..d658e92a1 --date=short --no-merges --format='%ad %ae %s'
2019-07-25 thomasanderson@chromium.org List natvis files as inputs
2019-07-23 tikuta@chromium.org Roll GN from 972ed755 to 152c5144
2019-07-19 tsniatowski@vewd.com ensure_gn_version.py: don't die if existing gn is very old
2019-07-16 bratell@opera.com Before trying to overwrite the gn binary, make it writable
2019-07-12 vapier@chromium.org ensure_gn_version.py: reinstall if tool is missing
2019-07-11 vapier@chromium.org ensure_gn_version.py: fix exception printing
2019-06-24 brettw@google.com Roll GN from 8c7f4910 to 972ed755
2019-06-21 thomasanderson@chromium.org Reland "Roll GN from 81ee1967 to 8c7f4910"
2019-06-17 sdy@chromium.org Revert "Roll GN from 81ee1967 to 8c7f4910"
2019-06-16 thomasanderson@chromium.org Roll GN from 81ee1967 to 8c7f4910
2019-06-14 mstensho@chromium.org Revert "Roll src/buildtools/third_party/libc++/trunk/ 5938e0582..ad464887b (53 commits)"
2019-06-14 thomasanderson@chromium.org Roll src/buildtools/third_party/libc++/trunk/ 5938e0582..ad464887b (53 commits)
2019-06-13 mstensho@chromium.org Revert "Roll src/buildtools/third_party/libc++/trunk/ 5938e0582..78822a685 (48 commits)"
2019-06-12 thomasanderson@chromium.org Roll src/buildtools/third_party/libc++/trunk/ 5938e0582..78822a685 (48 commits)
2019-06-07 oysteine@chromium.org Tracing: Moved the tracing sampling profiler to the tracing service
2019-05-23 wychen@chromium.org Exclude AndroidStudioDefault folder in Java import checking
2019-05-22 thomasanderson@chromium.org Roll src/buildtools/third_party/libc++/trunk/ 9b96c3dbd..5938e0582 (78 commits)
2019-05-19 rsesek@chromium.org Roll GN from 64b846c9 to 81ee1967.
2019-05-13 jbudorick@chromium.org checkdeps: encode input to os.walk as utf-8.
2019-04-15 thomasanderson@chromium.org Roll src/buildtools/third_party/libc++/trunk/ fbddc4698..9b96c3dbd (18 commits)
2019-04-04 thakis@chromium.org Roll src/buildtools/third_party/libc++/trunk/ 955113db3..fbddc4698 (33 commits)
2019-04-03 tikuta@chromium.org Roll GN from r1496 (0790d304) to r1555 (64b846c9)
2019-03-29 dpranke@chromium.org Revert "Roll GN from r1496 (0790d304) to r1546 (b85982b3)"
2019-03-28 dpranke@chromium.org Roll GN from r1496 (0790d304) to r1546 (b85982b3)
2019-03-27 thomasanderson@chromium.org Enable in-tree libc++ builds on iOS
2019-03-27 raul@tambre.ee Support Python 3 in //buildtools/ensure_gn_version.py
2019-03-26 thomasanderson@chromium.org Roll src/buildtools/third_party/libc++/trunk/ 4daecde1d..955113db3 (14 commits)
2019-03-22 dpranke@chromium.org Add ensure_gn_version.py and DEPS hook.
2019-03-21 thakis@chromium.org Roll src/buildtools/third_party/libc++/trunk/ 9009625c8..4daecde1d (12 commits)
2019-03-20 thomasanderson@chromium.org Roll libc++ to r356574
2019-03-19 tikuta@chromium.org [buildtools] update .gitignore for CIPD
2019-03-18 olivierrobin@chromium.org Fetch gn based on the host OS.
2019-03-15 thomasanderson@chromium.org Set WINVER to WIN7 for libc++
2019-03-15 dpranke@chromium.org Use CIPD packages for GN instead of GCS.
2019-03-15 dpranke@chromium.org Add presubmit checks for //buildtools/DEPS entries.
2019-03-14 thomasanderson@chromium.org Clean up visibility for lib{c++,c++abi,unwind} and common_deps targets
2019-03-13 wez@chromium.org Revert "Move fuchsia libunwind dependency to common_deps"
2019-03-13 dpranke@chromium.org Reformat DEPS files to use single-quotes consistently.
2019-03-13 thomasanderson@chromium.org Correct libcxx{abi} revision in buildtools/DEPS
2019-03-13 thomasanderson@chromium.org Move fuchsia libunwind dependency to common_deps
2019-03-11 thomasanderson@chromium.org Roll libc++ to 355829
2019-03-06 thomasanderson@chromium.org Roll libc++ to 22d3f6dd
2019-02-20 thomasanderson@chromium.org Fix mac/component/asan builds
2019-02-20 thomasanderson@chromium.org Fixes necessary for enabling libc++ on Windows
2019-02-19 thomasanderson@chromium.org Update libcxx{abi}
2019-02-16 tikuta@chromium.org [buildtools] add owners
++
2019-02-07 thomasanderson Delete buildtools
2019-01-22 spang Add eu-strip to buildtools/third_party/
2019-01-17 thomasanderson Don't export operator new/delete on Mac
2019-01-14 thomasanderson Do TODOs related to Android/libc++
2019-01-14 thomasanderson Make libc++ a shared library on Android sanitizer builds
2018-12-13 thomasanderson Stop removing hide_all_but_jni_onload config from libc++
2018-12-13 thomasanderson Add thomasanderson and thakis to libc++{abi} OWNERS
2018-12-13 thomasanderson Roll libc++
2018-12-12 thomasanderson Roll lib{c++,c++abi,unwind}
2018-12-05 smaier Added statically linked linux binary for clang-format
2018-11-21 thakis Roll gn to version 1496 (0790d304).
2018-11-20 thakis Revert "Roll libcxx{abi}

Roll testing/ b07830f69..3b14bde07 (2614 commits)

b07830f690..3b14bde076

$ git log b07830f69..3b14bde07 --date=short --no-merges --format='%ad %ae %s'
2019-08-08 jamescook Remove unused include of base/debug/debugger.h from base/logging.h
2019-08-08 aluo Add android_oreo_standard_gtests to android-oreo-arm64-rel bot
2019-08-08 ryansturm Adding the HTML+css+syncscript arm of LightweightNoStatePrefetch
2019-08-08 tikuta [testing] use xenial for test from coverage builder
2019-08-08 jonross Stop running SkiaRenderer tests on "Linux FYI Experimental Release (Intel HD 630)"
2019-08-08 omerkatz Disable webtests in concurrent marking trybot
2019-08-08 tmrts [v8][layout-tests] remove gtest specification from {V8 Blink Win}
2019-08-08 tmrts [v8][layout-tests] define src-side builder for {V8-Blink Linux 64 Future}
2019-08-08 ioanap Add field trial testing config entry for manual password generation on Android
2019-08-08 tikuta [testing] use xenial for test from internal chromeos builder
2019-08-08 sajjadm [Code Coverage] Do not retry corrupted shards in a tryjob.
2019-08-07 sgilhuly Add gpu-rasterization baselines for some compositing/masks/ tests
2019-08-07 tikuta [testing] switch to use xenial for test from Linux Swarm
2019-08-07 jonross Fix Vulkan Pixel Tests config
2019-08-07 bsheedy Make more x64 Win tests use release_x64
2019-08-07 tikuta [testing] use xenial for a builder
2019-08-07 ahemery [bfcache] Add web_tests to linux-bfcache-rel.
2019-08-07 tmrts [v8][layout-tests] pass the debug flag on {V8 Blink Linux Debug} bot
2019-08-07 tmrts [v8][layout-tests] include mixins and remove hard timeouts
2019-08-07 arthursonzogni Enable ProactivelySwapBrowsingInstance in fieldtrial_testing_config
2019-08-07 ahemery [bfcache] Split fieldtrial and bfcache builders.
2019-08-07 noel Revert "Remove linux-blink-heap-unified-gc builder"
2019-08-07 bsheedy Setup Linux FYI SkiaRenderer Vulkan (Intel HD 630)
2019-08-06 tikuta [testing] switch test to use xenial from layout test try builders
2019-08-06 agable Remove linux-blink-heap-unified-gc builder
2019-08-06 sergeyu [Fuchsia] Enable viz_unittests on CQ bots.
2019-08-06 bsheedy Increase UHD bot timeouts
2019-08-06 vakh Change quota for AdRedirect and AdPopup triggers from 5 to 10
2019-08-06 arthursonzogni bfcache: Triage content_browsertests.
2019-08-06 wanderview Fetch: Remove BufferingBytesConsumerDelay testing config.
2019-08-06 ydago Put atomic policy groups behind a finch feature flip
2019-08-06 anushruth Add tests to chromeos-kevin-google-rel in waterfalls
2019-08-06 arthursonzogni bfcache: Update browser_tests filter.
2019-08-06 wychen Add TabToGTSAnimation params to fieldtrial_testing_config
2019-08-06 jsaul [AF] Remove AutofillUpstreamDisallowEloAndJcb fieldtrial_testing_config
2019-08-06 arthursonzogni bfcache: triage content_unittests
2019-08-06 tmrts [v8][layout-tests] create src-side definitions for {chromium_integration} bots
2019-08-06 arthursonzogni bfcache: triage unit_tests
2019-08-06 kuddai Add WebRTC-Audio-NetEqDecelerationTargetLevelOffset to field trial config
2019-08-06 arthursonzogni bfcache: Triage content_browsertests.
2019-08-06 msisov ozone-linux: enable content_unittests
2019-08-06 dhoss Add HarfBuzzPDFSubsetter experiment to field trial testing config
2019-08-06 siyua [AF][Upstream String] Add fieldtrial testing config for experiment
2019-08-06 alexmos Add Field Trial Testing Config for IsolatePasswordSites on Android.
2019-08-05 tikuta [testing] use xenial for test from blink rel builders
2019-08-05 bsheedy Switch Win XR perf to x64 browser
2019-08-05 cduvall Remove NavigationLoaderOnUI tests on mojo bots
2019-08-05 bsheedy Add Win10 FYI x64 Release (Intel UHD 630)
2019-08-05 tommycli [omnibox] Remove Vertical Margin experiment flags
2019-08-05 geofflang Run WebGL conformance with the passthrough command decoder on Mac.
(...)
2018-08-18 thakis Increase timeout for LayerTreeTests under asan and run cc_unittests on win/asan bot.
2018-08-18 rbpotter WebUI Polymer2: Fix print preview tests
2018-08-18 reillyg Implement signin header modifications with a URLLoaderThrottle
2018-08-18 lukasza site-per-process is the default on desktop even without of field trials.
2018-08-18 mattm enable SubresourceFilterBrowserTest.FailedProvisionalLoadInMainframe on network_browser_tests
2018-08-18 thakis win/asan: Include line numbers in stack traces.
2018-08-17 carlosil Removed RecurrentSSLInterstitial from field trial config
2018-08-17 jsaul Update fieldtrial_testing_config.json for AutofillUpstreamEditableCardholderName
2018-08-17 apacible Disable renameNewFolderDownloads_GuestMode on all platforms.
2018-08-17 cduvall Remove socket test from network server browser_test filter
2018-08-17 thakis Make win/asan main waterfall bot run tests.
2018-08-17 jdonnelly [omnibox] Add new feature experiments to the fieldtrial testing config.
2018-08-17 noel Disable renameNewFolderDownloads* on Mash
2018-08-17 rbpotter WebUI Polymer2: Filter out material history item test
2018-08-17 rbpotter Print Preview: Correctly handle select values set in JS
2018-08-17 twellington Don't set Modern as default enabled in fieldtrial_testin_config.json
2018-08-16 sebmarchand Add the fieldtrial testing config for InfiniteSessionRestore
2018-08-16 bpastene Only target 10.12.6 for webkit_layout_tests on mac_chromium_rel_ng.
2018-08-16 aluo Allow android.support.test.runner.AndroidJUnitRunner to run junit4 tests in test_runner.py
2018-08-16 jbudorick Add compile, test, and luci configs for cronet luci mirrors.
2018-08-16 estade Mash: enable HostedAppNonClientFrameViewAshTest.*
2018-08-16 johnidel Send per-resource updates to PageLoadMetrics
2018-08-16 arthursonzogni [android] Remove custom timeout from M phone tester.
2018-08-16 dvadym Add testing field trial to NewPasswordFormParsing finch config.
2018-08-16 perezju [tools/perf] Add tests for android-go_webview-perf bot
2018-08-16 fsamuel Enable Viz Display Compositor on perf bots
2018-08-16 juncai Network Service: Make some checking Origin headers tests early return if network service is enabled
2018-08-15 rbpotter WebUI Polymer2: Exclude failing tests
2018-08-15 rajendrant Add field trial config for the DataSaverSiteBreakdownUsingPageLoadMetrics feature
2018-08-15 cduvall Disable data reduction proxy when network service is enabled
2018-08-15 bpastene Explicitly target GPUs when falling back to mac10.12 for layout_tests.
2018-08-15 vtsyrklevich CFI: Delete icall buildbot
2018-08-15 jam Reenable filesystem extensions tests with network service.
2018-08-15 wychen Post-launch cleanup for AllowReaderForAccessibility
2018-08-15 cduvall Fix SecurityExploitBrowserTest to use network service path
2018-08-15 eroman Use a consistent style for the crbug.com/ links.
2018-08-14 estade OopAsh: Hide caption buttons for browser windows in tablet mode.
2018-08-14 estade OopAsh: fix/enable another frame-related browser test.
2018-08-14 eroman Associate a bug with network service failing test ProxySettingsApiTest.ProxyEventsParseError.
2018-08-14 rbpotter WebUI Polymer 2: Run various tests with WebUIPolymer2 flag enabled.
2018-08-14 lukasza [reland] Make //content layer default to --site-per-process mode on desktop.
2018-08-14 cduvall Fix WebViewTest.WebViewInBackgroundPage with network service
2018-08-14 cduvall Fix broken ExtensionDisabledGlobalErrorTest.* with network service
2018-08-14 mmenke NetworkService: Migrate isolated StoragePartition URLRequestContexts
2018-08-14 jbudorick Read luci-milo-dev.cfg for //testing/buildbot presubmits.
2018-08-14 tbansal Experiment with changing minimum probe timeout value.
2018-08-14 jam Fix extension updater browser tests with network service.
2018-08-14 cblume Revert "Enable Windows NV12 overlays on waterfall"
2018-08-14 thomasanderson Relativize paths in build files
2018-08-13 enne Turn on OOP Raster on chromeos bots

Roll third_party/binutils/ 2be73f7fb..92bfa0a5d (1 commit)

2be73f7fbf..92bfa0a5dc

$ git log 2be73f7fb..92bfa0a5d --date=short --no-merges --format='%ad %ae %s'
2019-03-05 bmsdave Python 3 compatibility errors in third-party libraries

Roll tools/clang/ 1d879cee5..3605577b6 (147 commits)

1d879cee56..3605577b67

$ git log 1d879cee5..3605577b6 --date=short --no-merges --format='%ad %ae %s'
2019-08-06 thakis win/cross builds: Make sure llvm-symbolizer.exe is around for running sanitizer builds on swarming.
2019-08-02 rnk Update plugin for clang API getDirectory change
2019-07-30 tsniatowski Clang script: remove old stamp file if it exists
2019-07-24 nicolaso Revert "[Traffic Annotation] Remove function_context from extractor output"
2019-07-23 hans Clang build script: refactor some -DCOMPILER_RT_BUILD flags
2019-07-22 thakis Revert "clang build scripts: Use smaller hermetic Xcode"
2019-07-22 thakis clang build scripts: Use smaller hermetic Xcode
2019-07-22 omerkatz heap: Removing EagerSweeping from clang plugin
2019-07-20 hans Build Clang with GCC 5.1.0 on Linux
2019-07-19 thakis clang package: Stop bundling libfuzzer runtime.
2019-07-18 hans Clang: the tip-of-tree version is now 10
2019-07-17 inglorion Add inglorion@ to tools/clang/OWNERS
2019-07-17 rnk Clang update script: bump gnuwin version to include cut.exe
2019-07-12 thakis Reland "clang package: Stop shipping 32-bit asan on win."
2019-07-09 hans Clang build script: Don't run check-all on the bootstrap compiler on Darwin
2019-07-09 rnk Roll clang 363790:365097.
2019-07-08 nicolaso [Traffic Annotation] Remove function_context from extractor output
2019-07-02 mlippautz tools/clang: Add directory for stack maps prototype
2019-06-22 thakis clang build script: If doing bootstrap builds, use lld as linker for later stages on win and linux.
2019-06-21 hans Build Clang using profile-guided optimization on Linux and Mac
2019-06-20 hans Roll clang 363450:363790.
2019-06-18 huangdarwin Reland "Roll clang 362913:363450."
2019-06-18 huangdarwin Revert "Roll clang 362913:363450."
2019-06-15 thakis Roll clang 362913:363450.
2019-06-14 bratell Fix python3 compatibility for script/tools/clang/update.py
2019-06-13 pcc Update path to crash upload script.
2019-06-13 pcc Add llvm-objcopy to the clang package on Linux.
2019-06-13 hans Clang package.py: fix the stamp file location
2019-06-10 tikuta [clang] make stampfile inside LLVM_BUILD_DIR
2019-06-10 thakis Roll clang 361212:362913.
2019-05-31 tikuta [tools] fix clang update script for clang download failure
2019-05-31 inferno Revert "clang package: Stop shipping 32-bit asan on win, and 32-bit libraries on linux."
2019-05-29 thakis clang package: Stop shipping 32-bit asan on win, and 32-bit libraries on linux.
2019-05-29 thakis clang build script: build less stuff
2019-05-28 pwnall tools: Fix download_lld_mac for LLVM 9+.
2019-05-28 gambard Revert "Roll clang 361212:361565."
2019-05-25 inglorion Roll clang 361212:361565.
2019-05-23 thakis clang package: Check all files we want to package actually exist.
2019-05-22 hans blink_gc_plugin: re-enable test after clang roll
2019-05-22 hans Clang build.py: Add TODO about using urllib again
2019-05-22 hans Clang build.py: Use curl instead of urllib
2019-05-22 hans Clang build.py: pass -DCOMPILER_RT_USE_LIBCXX=NO
2019-05-22 hans clang: Build from the Git monorepo instead of SVN.
2019-05-21 thakis Roll clang 361104:361212.
2019-05-19 thakis clang packaging: Build compiler-rt as part of the normal build on Linux too.
2019-05-19 thakis Roll clang 360094:361104.
2019-05-09 mlippautz blink_gc_plugin: Remove TraceWrapperMember
2019-05-09 hans blink_gc_plugin: skip crash_on_invalid test until clang is rolled
2019-05-08 hans Clang upload_revision.py: Fix the CLANG_SUB_REVISION regex
2019-05-07 Richard.Townsend Roll clang 359912:360094.
(...)
2019-02-27 bradhall Add dsymutil CIPD yaml file
2019-02-27 tzik A build fix of base_bind_writer
2019-02-15 bradhall Set xcode path earlier in clang update.py
2019-02-15 sergeyberezin [clang] Set Xcode path on Mac OS X to hermetic installation
2019-02-14 ellyjones clang: upload dsymutil tarball when building for Mac
2019-02-12 jsca Only run compile_db.py unit tests on commit.
2019-02-09 thakis Fix -Wextra-semi warnings after USING_GARBAGE_COLLECTED_MIXIN(...).
2019-02-07 hans Clang update.py: set -DLLVM_TEMPORARILY_ALLOW_OLD_TOOLCHAIN=ON
2019-02-06 thakis Roll clang 353069:353250.
2019-02-06 thakis Build clang package with DLLVM_ENABLE_PIC=OFF.
2019-02-05 thakis Roll clang 352921:353069.
2019-02-03 thakis Roll clang 352138:352921.
2019-01-31 thakis clang packaging: Stop uploading llvm-strip package.
2019-01-31 jsca Remove usage of shlex.split from compile_db.py.
2019-01-30 spang Move eu-strip from third_party/ to buildtools/third_party/
2019-01-30 thakis Remove sancov from the clang package.
2019-01-26 thakis Build clang without static analyzer and arc migrator.
2019-01-25 sebmarchand Include base/bind.h in the files that use it.
2019-01-25 hans Roll clang 351477:352138.
2019-01-19 rnk Roll clang 350768:351477.
2019-01-16 pcc clang: Add HWASAN Android runtime to the package.
2019-01-16 hans Clang: the tip-of-tree version is now 9
2019-01-12 pcc clang/update.py: Build only the targets that we need.
2019-01-11 thakis Roll clang 349417:350768.
2019-01-04 thakis clang/update.py: Remove unused, no-op --if-needed flag.
2019-01-03 jbroman blink_gc_plugin: Remove unused member MissingMixinMarker::ast_context_.
2019-01-03 thakis Build clang without plugin support.
2018-12-29 raul Add Visual Studio 2019 and Preview edition support
2018-12-26 rnk Attempt to fix clang plugin test after crrev.com/618722
2018-12-22 thakis clang plugin: Stop passing flags that are always-on.
2018-12-21 pcc update.py: Simplify Android sanitizer build.
2018-12-21 hans Attempt to fix Clang plugins build after LLVM r349839
2018-12-20 hans Roll clang 346388:349417.
2018-12-20 perezju Revert "Roll clang 346388:348507."
2018-12-20 thakis Roll clang 346388:348507.
2018-12-07 mlippautz Reland "gc-plugin: Allow typdef as mixin marker in using macro"
2018-12-05 hans Revert "gc-plugin: Allow typdef as mixin marker in using macro"
2018-12-05 mlippautz gc-plugin: Allow typdef as mixin marker in using macro
2018-12-04 keishi blink_gc_plugin: Check for untraced TraceWrapperMember and TraceWrapperV8References
2018-11-30 hiroshige Revert "Roll clang 346388:347933."
2018-11-30 hans Roll clang 346388:347933.
2018-11-29 hans Clang update script: bump gnuwin version to include sort.exe
2018-11-27 vtsyrklevich Revert "SafeStack: Package SafeStack runtime for Linux"
2018-11-27 mmoroz Roll clang 346388-1:346388-5.
2018-11-22 mmoroz Clang scripts: package ubsan_standalone runtime for Android on ARM and AArch64.
2018-11-21 gayane Revert "Roll clang 346388-1:346388-4."
2018-11-21 mmoroz Roll clang 346388-1:346388-4.
2018-11-20 mmoroz Clang scripts: reland workaround for msys binaries by hans@ from https://crrev.com/c/1337614.
2018-11-19 mmoroz Clang: package missing runtime libraries for Android (ASan and profile).
2018-11-19 jbroman Augment the blink gc plugin to detect missing USING_GARBAGE_COLLECTED_MIXIN.

Created with:
  roll-dep build buildtools testing third_party/binutils third_party/jinja2 third_party/markupsafe tools/clang

R=jmadill@google.com, kainino@chromium.org

Bug: chromium:973721
Change-Id: I6728201b7515961ed8aeffe2303403ac1540a677
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/9881
Commit-Queue: Robbie Iannucci <iannucci@google.com>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2019-08-09 01:40:38 +00:00
Ryan Harrison ab8b768d27 Rolling 5 dependencies
Roll third_party/SPIRV-Tools/ 0c4feb643..29af42df1 (44 commits)

0c4feb643b..29af42df12

$ git log 0c4feb643..29af42df1 --date=short --no-merges --format='%ad %ae %s'
2019-08-08 greg Add SPV_EXT_physical_storage_buffer to opt whitelists (#2779)
2019-08-07 stevenperron Handle RelaxedPrecision in SROA (#2788)
2019-08-07 zoddicus Add -fextra-semi to Clang builds (#2787)
2019-08-05 afdx Add 'copy object' transformation (#2766)
2019-08-02 paulthomson fuzz: change output extension and fix usage string (#2778)
2019-08-01 geoff Remove extra ';' after member function definition. (#2780)
2019-07-31 zoddicus Update WebGPU validation rules of OpAtomic*s (#2777)
2019-07-31 alanbaker Treat access chain indexes as signed in SROA (#2776)
2019-07-30 dneto Add pass to inject code for robust-buffer-access semantics (#2771)
2019-07-30 zoddicus Update OpMemoryBarriers rules for WebGPU (#2775)
2019-07-30 dneto Add opt test fixture method SinglePassRunAndFail (#2770)
2019-07-29 dneto Element type is const for analysis::Vector,Matrix,RuntimeArray (#2765)
2019-07-29 dnovillo Protect against out-of-bounds references when folding OpCompositeExtract (#2774)
2019-07-29 alanbaker Don't move debug or decorations when folding (#2772)
2019-07-29 zoddicus Update OpControlBarriers rules for WebGPU (#2769)
2019-07-26 dnovillo Fix #2609 - Handle out-of-bounds scalar replacements. (#2767)
2019-07-25 afdx Limit fuzzer tests so that they take less time to run (#2763)
2019-07-25 stevenperron Fix check for unreachable blocks in merge-return (#2762)
2019-07-25 afdx Transformation and fuzzer pass to add dead continues (#2758)
2019-07-24 zoddicus Remove unneeded future imports (#2739)
2019-07-24 stevenperron Process OpDecorateId in ADCE (#2761)
2019-07-24 stevenperron Record correct dominators in merge return (#2760)
2019-07-23 stevenperron SSA rewriter: Don't use trivial phis (#2757)
2019-07-23 alanbaker Fix block depth rule priority (#2755)
2019-07-23 alanbaker Case validation with repeated labels (#2689)
2019-07-22 greg Bindless Instrument: Make init check depend solely on input_init_enabled (#2753)
2019-07-22 kevin.petit Validate storage class OpenCL environment rules for atomics (#2750)
2019-07-22 51214578+jmacnak-nv Allow LOD ops in compute shaders with derivative group execution modes (#2752)
2019-07-18 dneto Document opt::Instruction::InsertBefore methods (#2751)
2019-07-17 stevenperron Revert "Do not inline OpKill Instructions (#2713)" (#2749)
2019-07-16 jbolz For Vulkan, disallow structures containing opaque types (#2546)
2019-07-16 stevenperron Fix bug in merge return (#2734)
2019-07-15 51214578+jmacnak-nv Allow ray tracing shaders in inst bindle check pass. (#2733)
2019-07-12 zoddicus Correctly implement WebGPU related flag exclusions (#2737)
2019-07-12 greg Remove Common Uniform Elimination Pass (#2731)
2019-07-12 cwallez BUILD.gn: Add deps and move files for `gn check` (#2735)
2019-07-11 zoddicus Update execution scope rules for WebGPU (#2730)
2019-07-11 33432579+alan-baker Extra small storage validation (#2732)
2019-07-11 jbolz Add validation for SPV_EXT_demote_to_helper_invocation (#2707)
2019-07-10 52076061+digit-google BUILD.gn: Add targets to build all command-line tools (#2727)
2019-07-10 stevenperron Change the order branches are simplified in dead branch elim (#2728)
2019-07-11 troughton Add —preserve-bindings and —preserve-spec-constants (#2693)
2019-07-10 stevenperron Handle decorations better in some optimizations (#2716)
2019-07-10 zoddicus Update memory scope rules for WebGPU (#2725)

Roll third_party/glslang/ 8aa9a7bb8..3cea2e588 (28 commits)

8aa9a7bb8f..3cea2e5882

$ git log 8aa9a7bb8..3cea2e588 --date=short --no-merges --format='%ad %ae %s'
2019-08-02 cepheus Bump revision and give the bots another chance to work.
2019-08-01 rharrison Add in header for uint32_t definition
2019-07-30 rharrison Convert no RTTI rule to be compiler specific
2019-07-28 lryer Fix Clang compiler warning.
2019-07-28 lryer Fix location distribution not in order
2019-07-25 stevenperron Remove execute permission from LICENSE.txt
2019-07-25 lryer Fix memory init issue, to make sure the class members are init in order.
2019-07-23 cepheus Revert "Merge pull request #1792 from Roy-AMD/automapping-opengl-location"
2019-07-22 alele Fix bugs in missing Builtin decoration for some NV builtins for tessellation control shaders. Fix bug in member remapping.
2019-07-22 cepheus SPV: Update to latest SPIR-V header.
2019-07-18 greg Update spirv-tools and spirv-headers known good.
2019-07-17 cepheus Build: shut up warning to add unnecessary parens.
2019-07-17 alele Fix bug in printing trailing comma when dumping AST for a structure.
2019-07-16 jmacnak Update known good SPIRV-Tools commit
2019-07-15 sparmar Allow unsized view array dimension for non-block perviewNV attributes
2019-07-15 cepheus ESSL: Fix #1823: Conditions for when derivatives are in compute shader.
2019-07-15 rex.xu OpIsHelperInvocationEXT should declare relevant SPV extension and capability
2019-07-13 cepheus GLSL: Fix #1833: Don't constant fold integer mix to a float.
2019-07-12 jmacnak spirv: Generate missing SampleMaskOverrideCoverageNV capability op
2019-07-12 rharrison Explicitly remove RTTI in the top-level build config
2019-07-10 aaron.hagan Add support for SPV_KHR_shader_clock
2019-07-10 jbolz Avoid generating 8/16-bit constants when 8/16-bit arithmetic extensions aren't enabled
2019-07-08 alanbaker Test updates
2019-07-08 alanbaker Update SPIRV-Tools revision
2019-07-03 cepheus SPV: Fix #1783: Don't do bounds checking for spec-const-expression size
2019-06-25 jbolz Handle SPIR-V type mismatch when constructing a composite
2019-06-07 lryer code format refine
2019-06-06 lryer Add interface symbol and uniform symbol location auto mapping for OpenGL shader.

Roll third_party/shaderc/ e9bb8f287..b3b228c60 (10 commits)

e9bb8f2874..b3b228c60d

$ git log e9bb8f287..b3b228c60 --date=short --no-merges --format='%ad %ae %s'
2019-08-07 zoddicus Rolling 7 dependencies (#776)
2019-08-01 zoddicus Only use -fPIC on compilers that support it (#772)
2019-08-01 zoddicus Turn on warnings on about missing semi-colons (#770)
2019-07-31 yizhou.jiang Remove extra semicolons in shaderc (#768)
2019-07-19 dneto Be more pythonic about "not in" (#763)
2019-07-18 dneto Fix typo (#762)
2019-07-16 dneto Avoid C-style cast for constants definitions (#760)
2019-07-16 jbolz SetBeforeHlslLegalization to use more relaxed validation rules (#676)
2019-07-16 krzysio.kurek Explicitly use python3 for git-sync-deps (#759)
2019-07-09 dneto Remove app_dummy call in Android test (#756)

Roll third_party/spirv-cross/ 53ab2144b..4ce04480e (79 commits)

53ab2144b9..4ce04480ec

$ git log 53ab2144b..4ce04480e --date=short --no-merges --format='%ad %ae %s'
2019-08-01 post Fix severe performance issue with invariant expression invalidation.
2019-07-26 cdavis MSL: Unify the get_*_address_space() methods.
2019-07-26 post MSL: Cleanup temporary use with emit_uninitialized_temporary.
2019-07-26 post MSL: Deal with Modf/Frexp where output is access chain to scalar.
2019-07-26 post Do not force temporary unless continue-only for loop dominates.
2019-07-25 post Missed case where DoWhile continue block deals with Phi.
2019-07-25 post Vulkan GLSL: Support disabling samplerless texture function EXT.
2019-07-25 post Workaround MSVC 2013 compiler issues.
2019-07-22 cdavis MSL: Adjust BuiltInWorkgroupId for vkCmdDispatchBase().
2019-07-24 post Fix some typos in comments.
2019-07-24 post Do not attempt to pack types which are already scalar.
2019-07-24 post HLSL query lod cleanups.
2019-07-24 post Do not eagerly invalidate all active variables on a branch.
2019-07-23 post Do not disable temporary forwarding when we suppress usage tracking.
2019-07-23 post Add another test for unpacking without load forwarding.
2019-07-23 post Look at pointee type when unpacking expressions.
2019-07-23 post Fix some warnings when building in MoltenVK.
2019-07-23 post Deal correctly with non-forwarded packed loads.
2019-07-23 post Test CompositeInsert/Extract/VectorShuffle on packed vectors.
2019-07-23 post Add test for array of scalar struct.
2019-07-23 post Recursively pack struct types when we find scalar packed structs.
2019-07-23 post Run format_all.sh.
2019-07-23 post Unpack vector expression in Matrix-Vector multiplies.
2019-07-23 post Test matrix multiplies in more complex scenarios.
2019-07-23 post Test implicit packing of struct members.
2019-07-23 post GLSL/HLSL: Verify member alignment for explicit offset as well.
2019-07-23 post Add tests for struct padding and self-alignment.
2019-07-23 post Use to_unpacked_row_major_expression to unify row-major in MSL/GLSL.
2019-07-23 post Simplify row-major matrix/vector multiplies.
2019-07-23 post Test array of std140 vectors.
2019-07-23 post Add struct size padding tests.
2019-07-22 post Add test for CompositeExtract from row-major loaded vector.
2019-07-22 post Add test for split access chain into row-major matrix.
2019-07-22 post Remove obsolete matrix workaround code.
2019-07-22 post Only transpose unpacked expressions.
2019-07-22 post Deal correctly with complete stores to row_major matrices.
2019-07-22 post Declare correct matrix type when unpacking.
2019-07-22 post Don't forget to register a write to LHS expression in certain case.
2019-07-22 post Deal with swizzled stores to std140 matrices.
2019-07-22 post Fix some row-major column store cases.
2019-07-22 post Fix more stray parens.
2019-07-22 post Fixup stray parent in output.
2019-07-22 post Correctly unpack row-major matrices when storing to LHS.
2019-07-22 post MSL: Add std140 and scalar matrix layouts.
2019-07-22 post MSL: Add std430 matrix access test.
2019-07-22 post MSL: Support storing to row-major column.
2019-07-22 post Tests run clean.
2019-07-19 post Fix unpacking of packed but not remapped types on load.
2019-07-19 post Traverse correct types when checking scalar layout.
2019-07-19 post Deal with scalar layout of entire structs.
2019-07-19 post Pass down row-major state to unpacking functions.
2019-07-19 post Deal with all forms of matrix writes ...
2019-07-19 post Can deal with std140 matrices now.
2019-07-18 post Start considering how to emit physical type ID.
2019-07-18 post Deal more cleanly with matrices and row-major.
2019-07-18 post Reintroduce struct_member_* MSL queries.
2019-07-18 post MSL: Begin rewrite of buffer packing logic.
2019-07-18 cdavis Don't forward uses of an OpIsHelperInvocationEXT op.
2019-07-13 cdavis Support the SPV_EXT_demote_to_helper_invocation extension.
2019-07-17 post Test glsl.std450 more exhaustively.
2019-07-11 cdavis MSL: Support the SPV_INTEL_shader_integer_functions2 extension.
2019-07-11 cdavis Update external repos.
2019-07-12 cdavis Support the SPV_KHR_device_group extension.
2019-07-11 cdavis MSL: Support the SPV_AMD_shader_trinary_minmax extension.
2019-07-12 post Run format_all.sh.
2019-07-12 post Deal correctly with return sign of bitscan operations.
2019-07-10 post MSVC 2015: Workaround bogus warning with move_backwards.
2019-07-10 post MSVC: Fix some warnings in C wrapper.
2019-07-10 cdavis MSL: Use the select() function for OpSelect.
2019-07-10 cdavis Support the SPV_KHR_post_depth_coverage extension.
2019-07-10 cdavis MSL: Handle coherent, volatile, and restrict.
2019-07-11 post GLSL: Need extension to use bitcast on GLSL < 330.
2019-07-11 lifeng.pan Remove unreasonable assertion for OpTypeImage Sampled parameter.
2019-07-10 cdavis MSL: Handle packed matrices.
2019-07-10 cdavis MSL: Fix alignment of packed types.
2019-07-10 post Forget loop variable enables after emitting block chain.
2019-07-10 post MSL: Re-roll array expressions in initializers.
2019-07-09 cdavis MSL: Support scalar block layout.
2019-07-09 post MSVC 2013: Work around another compiler bug with array init.

Roll third_party/spirv-headers/ 29c11140b..e4322e3be (2 commits)

29c11140ba..e4322e3be5

$ git log 29c11140b..e4322e3be --date=short --no-merges --format='%ad %ae %s'
2019-07-14 aaron.hagan Add SPV_KHR_shader_clock to spirv-headers
2019-07-12 michael.kinsner Reserve additional loop control bit for upcoming update to SPV_INTEL_fpga_loop_controls extension

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: I95453760ca570a96082672178b0ebd6908e112d5
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/9840
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2019-08-08 22:21:19 +00:00
Ryan Harrison 27e67b5f97 Rolling 4 dependencies
Roll third_party/SPIRV-Tools/ 5a93e0739..0c4feb643 (5 commits)

5a93e07392..0c4feb643b

$ git log 5a93e0739..0c4feb643 --date=short --no-merges --format='%ad %ae %s'
2019-07-08 33432579+alan-baker Remove extra semis (#2717)
2019-07-08 33432579+alan-baker Validate usage of 8- and 16-bit types with only storage capabilities (#2704)
2019-07-07 afdx Shrinker for spirv-fuzz (#2708)
2019-07-04 stevenperron Perform merge return with single return in loop. (#2714)
2019-07-04 stevenperron Do not inline OpKill Instructions (#2713)

Roll third_party/glslang/ 4b4b41a63..8aa9a7bb8 (1 commit)

4b4b41a634..8aa9a7bb8f

$ git log 4b4b41a63..8aa9a7bb8 --date=short --no-merges --format='%ad %ae %s'
2019-07-06 rex.xu Change implementation of gl_SIMDGroupSizeAMD

Roll third_party/shaderc/ 77d7b65ee..e9bb8f287 (2 commits)

77d7b65ee2..e9bb8f2874

$ git log 77d7b65ee..e9bb8f287 --date=short --no-merges --format='%ad %ae %s'
2019-07-08 zoddicus Add verbose flag to run_spirv_cross_tests.py (#753)
2019-07-08 zoddicus Rolling 4 dependencies and update known_failures (#755)

Roll third_party/spirv-cross/ c5904dd24..53ab2144b (5 commits)

c5904dd245..53ab2144b9

$ git log c5904dd24..53ab2144b --date=short --no-merges --format='%ad %ae %s'
2019-07-08 post Fall back to complex loop if non-trivial continue block is found.
2019-07-08 post Add test shaders for NonUniformEXT propagation.
2019-07-08 post Propagate NonUniformEXT to dependent expressions.
2019-07-05 post Add simple test for extended debug operations.
2019-07-04 lifeng.pan Parse SPIR-V debug information extended instructions, as well as OpNoLine.

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: Iabdabe4f0b25f89cbc41f8fbf55bd588b374ba44
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8740
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-07-09 15:29:29 +00:00
Ryan Harrison c9b9290cc8 Rolling 5 dependencies
Roll third_party/SPIRV-Tools/ 001e823b6..5a93e0739 (17 commits)

001e823b65..5a93e07392

$ git log 001e823b6..5a93e0739 --date=short --no-merges --format='%ad %ae %s'
2019-07-04 afdx Refactor reducer options (#2709)
2019-07-03 52076061+digit-google Fix BUILD.gn for Fuchsia platform build. (#2692)
2019-07-02 cmarcelo Validate that in OpenGL env block variables have Binding (#2685)
2019-06-28 51214578+jmacnak-nv Update type for loaded builtin GlobalInvocationID in pass instrumentation (#2705)
2019-06-26 afdx Warn when input facts are invalid. (#2699)
2019-06-26 afdx Got rid of redundant declaration. (#2698)
2019-06-26 afdx Disallow movement of unreachable blocks. (#2700)
2019-06-25 afdx Refactor fuzzer transformations (#2694)
2019-06-25 joseph.kucia Fix Component decoration validation for arrays (#2697)
2019-06-21 kpet Replace global static map with an array of pairs (#2691)
2019-06-21 joseph.kucia Basic validation for Component decorations (#2679)
2019-06-20 zoddicus Add infrastructure for maintaining and using DEPS (#2684)
2019-06-20 33432579+alan-baker Fix store to uniform Vulkan check (#2688)
2019-06-20 kpet Add all accepted target environments to the tools' help texts (#2687)
2019-06-19 afdx Represent uniform facts via descriptor set and binding. (#2681)
2019-06-19 zoddicus Roll external/spirv-headers/ 8b911bd2b..de99d4d83 (8 commits) (#2682)
2019-06-19 ehsannas Whitelist SPV_GOOGLE_user_type. (#2673)

Roll third_party/glslang/ f9d08a25f..4b4b41a63 (10 commits)

f9d08a25fb..4b4b41a634

$ git log f9d08a25f..4b4b41a63 --date=short --no-merges --format='%ad %ae %s'
2019-07-03 cepheus HLSL: Fix #1815: Don't constant fold spec-constant array indexing.
2019-07-02 jbolz update spirv-headers to pick up demote_to_helper_invocation
2019-07-02 cepheus Standalone: Fix #1814: Check that linkage was specified for reflection.
2019-07-02 cepheus Build: Tweak PR #1808 to avoid an implicit conversion warning.
2019-07-01 jbolz Implement GL_EXT_demote_to_helper_invocation
2019-06-25 syoussefi Remove __DATE__ and __TIME__ usage
2019-06-25 syoussefi Remove extraneous semicolons
2019-06-21 jbolz Add a bunch of missing cases to promoteConstantUnion. Use macros to expand all the cases more simply.
2019-06-21 jbolz Add test for constant type conversion
2019-06-21 digit BUILD.gn: Fix file for use with Fuchsia platform build.

Roll third_party/shaderc/ 3c76b8aa3..77d7b65ee (39 commits)

3c76b8aa36..77d7b65ee2

$ git log 3c76b8aa3..77d7b65ee --date=short --no-merges --format='%ad %ae %s'
2019-07-03 zoddicus Rolling 4 dependencies and updating known_failures (#754)
2019-07-02 dneto Add --target-spv option to set target SPIR-V version (#750)
2019-07-02 zoddicus Remove old logging infra from run_spirv_cross_tests.py (#749)
2019-06-28 zoddicus Enable implicit fallthrough warning and fix examples of (#747)
2019-06-28 zoddicus Rolling 2 dependencies (#748)
2019-06-26 zoddicus Rolling 4 dependencies and update known_failures (#745)
2019-06-26 zoddicus Catch low level exceptions instead of crash (#744)
2019-06-25 zoddicus Add jobs flag to spirv cross tests script (#743)
2019-06-25 zoddicus Extract common test environment bits out into a class (#738)
2019-06-25 52076061+digit-google Fix BUILD.gn for Chromium build. (#741)
2019-06-25 52076061+digit-google BUILD.gn fixes for Fuchsia. (#733)
2019-06-25 dneto Remove Appveyor artifacts link. (#739)
2019-06-24 zoddicus Remove SetShaderModel from API (#734)
2019-06-20 zoddicus Move script fixes from other SPIRV related repos (#732)
2019-06-19 zoddicus Import improvements to DEPS roll script (#729)
2019-06-19 dneto Update CHANGES (#730)
2019-06-19 dneto Add -fnan-clamp (#725)
2019-06-18 zoddicus Add script to generate manual roll patch (#727)
2019-06-18 zoddicus Rolling 4 dependencies (#728)
2019-06-17 google-shaderc-autoroll Roll third_party/glslang def9662348b0..9db72785beb3 (1 commits) (#721)
2019-06-17 google-shaderc-autoroll Roll third_party/spirv-cross 4104e363005a..146dc453bcec (2 commits) (#722)
2019-06-17 zoddicus Manually roll DEPS to get past test failure (#717)
2019-06-17 google-shaderc-autoroll Roll third_party/googletest fd20d1eccef6..176eccfb8f42 (1 commits) (#718)
2019-06-17 google-shaderc-autoroll Roll third_party/googletest e110929a7b49..fd20d1eccef6 (5 commits) (#715)
2019-06-15 google-shaderc-autoroll Roll third_party/re2 0c95bcce2f1f..848dfb7e1d7b (2 commits) (#712)
2019-06-14 google-shaderc-autoroll Roll third_party/googletest f7c178ecb33c..e110929a7b49 (2 commits) (#709)
2019-06-14 google-shaderc-autoroll Roll third_party/googletest 26afdba792e5..f7c178ecb33c (2 commits) (#707)
2019-06-14 google-shaderc-autoroll Roll third_party/spirv-cross 00a8539d1ddf..4104e363005a (3 commits) (#698)
2019-06-14 google-shaderc-autoroll Roll third_party/googletest af4c2cb098a3..26afdba792e5 (1 commits) (#703)
2019-06-13 dneto Update glslc tests for -finvert-y option (#704)
2019-06-13 andrejnau Pass InvertY to glslang (#695)
2019-06-13 google-shaderc-autoroll Roll third_party/googletest 89656ddbe62f..af4c2cb098a3 (2 commits) (#702)
2019-06-13 google-shaderc-autoroll Roll third_party/spirv-headers 9cf7c3a7d2d2..de99d4d834ae (1 commits) (#697)
2019-06-12 google-shaderc-autoroll Roll third_party/googletest 076b7f778883..89656ddbe62f (1 commits) (#694)
2019-06-12 google-shaderc-autoroll Roll third_party/spirv-cross fccf1d046204..00a8539d1ddf (1 commits) (#691)
2019-06-12 google-shaderc-autoroll Roll third_party/spirv-cross 5e9e8918f9a2..fccf1d046204 (1 commits) (#690)
2019-06-12 google-shaderc-autoroll Roll third_party/spirv-headers 9242862c84fe..9cf7c3a7d2d2 (1 commits) (#689)
2019-06-11 zoddicus Roll all DEPS to HEAD (#685)
2019-06-10 google-shaderc-autoroll Roll third_party/effcee 8f0a61dc95e0..b83b58d177b7 (2 commits) (#677)

Roll third_party/spirv-cross/ 05ea05509..c5904dd24 (31 commits)

05ea055096..c5904dd245

$ git log 05ea05509..c5904dd24 --date=short --no-merges --format='%ad %ae %s'
2019-07-03 post Don't use scalar dot().
2019-07-03 post MSL/HLSL: Support scalar reflect and refract.
2019-07-03 post Fix variable scope when an if or else block dominates a variable.
2019-05-31 cdavis MSL: Support SubgroupLocalInvocationId and SubgroupSize in all stages.
2019-07-01 post MSL/HLSL: Support OpOuterProduct.
2019-05-31 cdavis MSL: Support SPV_KHR_multiview.
2019-06-28 post Deal with scalar input values for distance/length/normalize.
2019-06-27 post Run format_all.sh.
2019-06-27 post HLSL: Does not support case-fallthrough.
2019-06-27 post Handle more cases with FP16 and texture sampling.
2019-06-26 post Add C API for get_declared_struct_member_size.
2019-06-26 post MSL: De-virtualize get_declared_struct_member_size.
2019-06-26 post MSL: Fix minor XCode /analyze warning.
2019-06-25 post Fix declaration of loop variables with a Phi helper copy.
2019-06-24 post MSL: Add support for SubgroupSize / SubgroupInvocationID in fragment.
2019-06-24 post MSL: Support custom bindings for argument buffer itself.
2019-06-24 post Workaround GCC 9 bug.
2019-06-21 post Run format_all.sh.
2019-06-21 post MSL: Actually return the autobinding value in C API.
2019-06-21 post Old MSVC does not like +[] constructs.
2019-06-21 post Deal with OpPhi and case fallthrough.
2019-06-21 post MSL: Add C API for querying automatic resource bindings.
2019-06-21 post MSL: Rewrite how resource indices are fallback-assigned.
2019-06-20 post Deal with switch block fallthrough more correctly ...
2019-06-20 post Rewrite how switch block case labels are emitted.
2019-06-19 post MSL: Error out on int64_t/uint64_t buffer members.
2019-06-11 post MSL: Support 64-bit integers.
2019-06-13 post MSL: Support PrimitiveID in fragment and barycentrics.
2019-06-13 post GLSL: Support NV barycentrics.
2019-06-12 post MSL: Support OpImageQueryLod.
2019-06-11 post MSL: Support MinLod operand.

Roll third_party/spirv-headers/ de99d4d83..29c11140b (2 commits)

de99d4d834..29c11140ba

$ git log de99d4d83..29c11140b --date=short --no-merges --format='%ad %ae %s'
2019-07-01 jbolz add SPV_EXT_demote_to_helper_invocation
2019-06-15 antiagainst Reserve ID 23 for MLIR SPIR-V Serializer

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers

Change-Id: Iab9ba95ad6c107a1aa49f7eefde0081347788db7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8580
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2019-07-04 14:39:59 +00:00
Ryan Harrison 92cdeaaf81 Rolling 4 dependencies
Roll third_party/SPIRV-Tools/ 0125b28ed..001e823b6 (24 commits)

0125b28ed4..001e823b65

$ git log 0125b28ed..001e823b6 --date=short --no-merges --format='%ad %ae %s'
2019-06-18 afdx Add fuzzer pass to obfuscate constants. (#2671)
2019-06-17 33432579+alan-baker Handle volatile memory semantics in upgrade (#2674)
2019-06-17 33432579+alan-baker Validate Volatile memory semantics bit (#2672)
2019-06-17 33432579+alan-baker Disallow stores to UBOs (#2651)
2019-06-17 dneto Another fix uint -> uint32_t (#2676)
2019-06-15 33432579+alan-baker Validate variable initializer type (#2668)
2019-06-14 dneto Fix uint -> uint32_t in fuzz.cpp (#2675)
2019-06-13 afdx Add replayer tool for spirv-fuzz. (#2664)
2019-06-13 33432579+alan-baker Add validation for Subgroup builtins (#2637)
2019-06-11 afdx Add constant == uniform facts. (#2660)
2019-06-07 stevenperron Cast __LINE__ to size_t (#2661)
2019-06-06 afdx Add transformation to replace a boolean constant with a numeric comparison (#2659)
2019-06-06 dgkoch Add builtin validation for SPV_NV_shader_sm_builtins (#2656)
2019-06-06 greg Instrument: Fix code for version 2 output format. (#2655)
2019-06-05 afdx Fix bug in 'split blocks', and add tests for fuzzer. (#2658)
2019-06-05 dneto Optimizer: Handle array type with OpSpecConstantOp length (#2652)
2019-06-05 afdx Add fuzzer pass to add dead breaks. (#2654)
2019-06-04 afdx Add fuzzer pass that adds useful constructs to a module (#2647)
2019-06-03 jbolz Add validation for SPV_EXT_fragment_shader_interlock (#2650)
2019-05-31 zoddicus Remove asserts from GetUnderlyingType (#2646)
2019-05-31 dsinclair Close opened file handles. (#2644)
2019-05-31 kevin.petit Validate OpenCL rules for ImageRead and OpImageSampleExplicitLod (#2643)
2019-05-31 afdx Add spirv-fuzz pass to permute blocks. (#2642)
2019-05-29 pierremoreau Linker: Better type comparison for OpTypeArray and OpTypeForwardPointer (#2580)

Roll third_party/glslang/ f88e5824d..f9d08a25f (44 commits)

f88e5824d2..f9d08a25fb

$ git log f88e5824d..f9d08a25f --date=short --no-merges --format='%ad %ae %s'
2019-06-18 cepheus Bump revision.
2019-06-17 cepheus AST/SPV: Fix #930: translate uvec4 <-> uint64 for SubgroupGeMask et. al.
2019-06-18 cepheus Bump revision.
2019-06-17 cepheus SPV: Add a switch for favoring non-NaN operands in min, max, and clamp.
2019-06-17 cepheus Bump revision.
2019-06-17 siglesias Delete duplicated gl_SubGroupSizeARB builtin treatment
2019-06-12 siglesias Add missing GL_ARB_shader_ballot builtins to Geometry and Tessellation shaders
2019-06-14 jbolz Add gl_SemanticsVolatile to GL_KHR_memory_scope_semantics, and make volatile-qualified atomics generate MemorySemanticsVolatile when using the Vulkan memory model
2019-06-13 alanbaker Update test expectations for new SPIRV-Tools
2019-06-13 alanbaker Update known good SPIRV-Tools
2019-06-04 dkoch Add support for GL_NV_shader_sm_builtins
2019-06-08 cepheus GLSL: Revert f6873f7 to fix #1764.
2019-06-07 jbolz Use spvValidatorOptionsSetBeforeHlslLegalization for pre-legalized HLSL
2019-06-06 greg Uppdate spirv-tools known-good
2019-06-05 dsinclair Remove unused parameter
2019-06-04 jbolz Add missing NV_EXTENSIONS ifdef
2019-06-03 jbolz Support GL_ARB_fragment_shader_interlock
2019-05-27 dkoch Fix subgroup support for ray tracing
2019-05-30 dkoch Add AST tests for ray tracing shaders
2019-05-30 dkoch Add AST tests for mesh and task shaders
2019-05-30 dkoch Add more subgroup testing
2019-05-30 jbolz Allow runtime-sized arrays of acceleration structures
2019-05-28 dkoch Fix include guard for GL_EXT_multiview
2019-05-28 dkoch Return consistent names from CapabilityString
2019-05-23 mattparks5855 Fixed .dll install on MSVC.
2019-05-17 thomasanderson Remove non-source sources from binary targets
2019-05-16 syoussefi Build.gn: allow optimization in glslang lib and standalone
2019-05-16 dneto Update SPIRV-Tools, SPIRV-Headers
2019-05-10 cepheus Build: Fix 3 warnings.
2019-05-10 cepheus Bump version and revision.
2019-05-09 cepheus SPV 1.4: Move to 1.4 validation, removing all 1.4 validation failures.
2019-03-31 cepheus SPV 1.4: Emit SignExtend and ZeroExtend for integer image reads/writes.
2019-02-07 cepheus SPV 1.4: Lookup tables: Use variable initializer and NonWritable...
2019-01-15 cepheus SPV 1.4: Add support for OpCopyLogical, careful of Boolean differences.
2019-01-12 cepheus SPV 1.4: Implement the 5 new loop controls.
2019-01-10 cepheus SPV 1.4: Use OpSelect for trivial typed non-scalar/vector expressions.
2019-01-04 cepheus SPV 1.4: Add testing infrastructure for SPV 1.4 tests.
2019-01-04 cepheus SPV 1.4: Generate all globals on OpEntryPoint interface list.
2019-05-09 cepheus SPV: Move to the SPIR-V 1.4 header.
2019-05-09 cepheus Latest known-good SPIRV-Tools: WARNING: Needs python 3.x.
2019-05-09 cepheus Bump revision.
2019-05-08 jbolz For nonuniformEXT constructor, make a copy of the node to decorate
2019-03-08 jbolz Add support for GL_EXT_buffer_reference2
2019-02-17 jbolz Add Float16/Int8/Int16 capabilities for private variables and function parameters

Roll third_party/spirv-cross/ fce83b7e8..05ea05509 (46 commits)

fce83b7e8b..05ea055096

$ git log fce83b7e8..05ea05509 --date=short --no-merges --format='%ad %ae %s'
2019-06-18 post Make sure args.msl22 is set in test_shaders.py.
2019-06-18 post MSL: Fix path check in test_shaders.py.
2019-06-17 post MSL: Conditionally validate MSL 2.2 shaders.
2019-06-14 post MSL: New SDK errors out on cull distance.
2019-06-13 post MSL: Fix regression with Private parameter declaration.
2019-06-12 post MSL: Support stencil export.
2019-06-12 post GLSL: Support GL_ARB_shader_stencil_export.
2019-06-11 post MSL: Support Invariant qualifier on position.
2019-06-12 post Add MSL 2.2 path in test_shaders.py.
2019-06-10 post Expand constexpr sampler sanity check.
2019-06-10 post MSL: Support remapping constexpr samplers by set/binding.
2019-06-10 post Employ heuristics to figure out how to emit SSBO/UAV reflection names.
2019-06-06 post Deal with nested loops.
2019-06-06 post Use the existing loop dominator when doing loop variable preservation.
2019-06-06 post Rewrite how loop dominators are propagated.
2019-06-06 post Deal with case where a variable is dominated by inner part of a loop.
2019-06-05 pmours Fix storage packing qualifiers missing on "shaderRecordNV" buffers
2019-06-05 pmours Add test for callable data
2019-06-05 pmours Fix callable data variables
2019-06-03 pmours Add support for "shaderRecordNV" qualifier
2019-06-05 post Deal with case where a block is somehow emitted in a duplicated fashion.
2019-06-02 post Fix erronous default for emit_line_directives.
2019-05-31 post MSL: Fix declaration of unused input variables.
2019-05-28 post Fixup OpLine parsing comments.
2019-05-28 post Support emitting OpLine directive.
2019-05-28 post GLSL: Support std430 in UBOs with scalar layout.
2019-05-27 post Run format_all.sh.
2019-05-27 post MSL: Use correct address space when passing array-of-buffers.
2019-05-27 post OpArrayLength must trigger active variables.
2019-05-27 post MSL: Implement OpArrayLength.
2019-05-24 post Add Git/timestamp --revision support.
2019-05-23 post MSL: Add test case for complex type alias.
2019-05-23 post MSL: Fix struct declaration order with complex type aliases.
2019-05-18 post Fix formatting, update C ABI version.
2019-05-09 post MSL: Support argument buffers and image swizzling.
2019-05-08 stuart.carnie Add get_member_name and active_buffer_ranges to C APIs
2019-05-17 amerkoleci Fix spvc_type_get_vector_size C function.
2019-05-16 cdavis Remove fallback for OpGroupNonUniformElect.
2019-05-15 cdavis MSL: Add support for subgroup operations.
2019-05-14 post Only deploy on new tags.
2019-05-14 post Add setup for Github releases via Travis.
2019-05-14 post Validate that C ABI in CMakeLists.txt matches code.
2019-05-14 post Run format_all.sh.
2019-05-11 laszlo.agocs GLSL: Add option to disable buffer blocks regardless of version
2019-05-13 post Fix nonuniform test for MSL.
2019-05-13 post HLSL/MSL: Deal correctly with nonuniformEXT qualifier.

Roll third_party/spirv-headers/ c4f8f6579..de99d4d83 (17 commits)

c4f8f65792..de99d4d834

$ git log c4f8f6579..de99d4d83 --date=short --no-merges --format='%ad %ae %s'
2019-06-12 dneto Add Volatile to Memory Semantics, for SPV_KHR_vulkan_memory_model
2019-06-10 ehsannas Add grammar and symbols for UserTypeGOOGLE extension to unified1.
2019-06-07 cepheus Add missing "version" : "None" to a bunch of reserved enumerants.
2019-06-07 cepheus Add more detail about reserving tokens to the README.
2019-06-07 cepheus Restore numerical order in enumerants.
2019-06-02 jbolz Add SPV_EXT_fragment_shader_interlock
2019-05-17 dkoch Add support for SPV_NV_sm_shader_builtins
2019-05-31 cepheus OpenCL ext. inst. header: Support C in addition to C++.
2019-05-27 michael.kinsner Proposed LoopControl bitfield allocation mechanism in spir-v.xml
2019-05-23 victor Reserve token range for Codeplay
2019-05-18 mchiasson Update CMakeLists.txt
2019-05-16 jbolz Update HasResultAndType code generation to skip duplicate enum values. There weren't any until SPIR-V 1.4 release, now there are two.
2019-05-16 mchiasson updated as per code review
2019-05-12 alan Compare enum names rather than values to determine last element
2019-05-11 mchiasson cmake development configuration package Fixes #104
2019-05-09 rex.xu Enable Groups capability by the extension SPV_AMD_shader_ballot
2019-04-30 ian.d.romanick Add INTEL_shader_integer_functions2

Created with:
  roll-dep third_party/SPIRV-Tools third_party/glslang third_party/spirv-cross third_party/spirv-headers

Change-Id: Ie30848dc4e2d6932dc86d42c632537a19828329a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8181
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-06-18 20:32:47 +00:00
Ryan Harrison fa8190ae44 Manually roll shaderc related dependencies
Getting the autorollers fully working is going to take a while, so
rolling ahead the DEPS by hand, so the new shaderc API can be used and
some tasks unblocked.

BUG=chromium:970300

Change-Id: I2137deb27e867cd8439ef0143b36cf91d89d8b1b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8000
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-06-10 19:01:17 +00:00
Austin Eng f3f5bf480d Remove glTFViewer from samples
Bug: dawn:152
Change-Id: I5bd36f4ae56889bf12652f8a201a7f7be5e2d25d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/7360
Commit-Queue: Austin Eng <enga@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2019-05-18 03:14:46 +00:00
Frank Henigman 9a9b837519 Roll all SPIR-V dependencies together.
Function name changed in shaderc.
SPIRV-Cross split up into additional files.

BUG=chromium:951016

Change-Id: I49abb0a163fefdd61b7d6352e57e2a10f519abd9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/6440
Reviewed-by: Frank Henigman <fjhenigman@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2019-04-11 14:52:55 +00:00
Victor Costan d097e7cd3b Roll googletest to the same version as Chromium.
Bug: chromium:925652
Change-Id: I849ae33666322b2282232767dbfb67195148cd32
Reviewed-on: https://dawn-review.googlesource.com/c/4920
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2019-02-21 09:26:20 +00:00
Frank Henigman 4531bd2477 Convert spirv-cross fuzzers to use shaderc.
BUG=dawn:95

Change-Id: I0fedb7b068de39c41b1b1d8aa2b42a96fdb584fb
Reviewed-on: https://dawn-review.googlesource.com/c/4140
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
2019-01-30 16:12:28 +00:00
Frank Henigman 79ff8bead9 DEPS: Roll SPIRV-Headers and SPIRV-Tools.
Roll SPIRV-Headers and SPIRV-Tools so we can roll shaderc so we can use
libshaderc_spvc in the SPIRV-Cross fuzzers.

BUG=dawn:95

Change-Id: I02f8dd4788e3094b1b59a99a27fdeba94d3aa47f
Reviewed-on: https://dawn-review.googlesource.com/c/4220
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Frank Henigman <fjhenigman@chromium.org>
2019-01-28 19:47:07 +00:00
Corentin Wallez fe92685bfc Roll third_party/shaderc/ 909f0d3d3..ce7d92182 (28 commits)
909f0d3d31..ce7d92182b

$ git log 909f0d3d3..ce7d92182 --date=short --no-merges --format='%ad %ae %s'
2019-01-22 fjhenigman Use the full spirv-cross dependency. (#550)
2019-01-22 corentin BUILD.gn: fix build error on is_component_build=true (#549)
2019-01-21 corentin BUILD.gn: Make libraries Chromium-style "components" (#548)
2019-01-17 fjhenigman Disable spvc build by default.  (#542) (#547)
2019-01-16 fjhenigman Fix build with exceptions off. (#546)
2019-01-16 dneto Fix MinGW: Format %lu must be unsigned long. (#544)
2019-01-16 dneto Fix leaks in tests (#545)
2019-01-15 fjhenigman Fix ASAN build. (#543)
2019-01-15 fjhenigman Add libshaderc_spvc interface to SPIRV-Cross. (#524)
2019-01-15 fjhenigman Fix NDK build. (#540)
2019-01-11 dneto Android.mk: better fallback for SPIRV-Tools dir (#538)
2019-01-09 dj2 Roll RE2 Dep (#537)
2019-01-07 dj2 Fixup source matching test (#534)
2019-01-03 fjhenigman Fix Windows test script return value. (#533)
2019-01-02 dj2 Switch GLSLang to upstream (#515)
2018-12-28 alex Generate source text debug info if requested (#455) (#532)
2018-12-27 ehsann [kokoro] Stop running tests on VS 2013 builds. (#531)
2018-12-21 fjhenigman Update Android NDK. (#530)
2018-12-17 dneto Test shader uniforms need descriptor set and binding (#523)
2018-12-17 kknb1056 Add git clone of re2 and effcee to the Dockerfile (#527)
2018-11-28 dj2 Update to use Android.mk from glslang (#520)
2018-11-22 dneto Add unit tests for mesh and task shaders
2018-11-21 arseny.kapoulkine Add support for NV_EXTENSIONS in #pragma shader_stage()
2018-11-19 dj2 Build file updates. (#514)
2018-11-15 dj2 Fixup shadowed variables (#513)
2018-10-11 dneto Unpin googletest. It has been fixed upstream
2018-11-13 dj2 Add effcee and re2 when building spirv-tools tests (#510)
2018-10-24 dj2 Only include third_party directories if needed. (#507)

Created with:
  roll-dep third_party/shaderc

TBR=kainino@chromium.org
BUG=dawn:29

Change-Id: I30df4fe9423465d5db135874f6dec2687391e505
Reviewed-on: https://dawn-review.googlesource.com/c/4160
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2019-01-24 19:52:46 +00:00
Li Hao 90d9787257 Roll Chromium build to fix undeclared argument in mac toolchain
We build mac target with a warning that v8_current_cpu is set as a
build argument but not declared, actually v8 is not imported here.
Fixed this in chromium build system and pick up the fix in Dawn.
See https://chromium-review.googlesource.com/c/chromium/src/+/1369645

Change-Id: I266650907dc2d290c92d425a9b9609bf14c1d36b
Reviewed-on: https://dawn-review.googlesource.com/c/3220
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Reviewed-by: Jiawei Shao <jiawei.shao@intel.com>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2018-12-12 09:39:00 +00:00
Corentin Wallez 32abaffa73 Roll SPIRV-Tools and temporarily use Vulkan SPIRV validation
New additions to the validation for the WebGPU execution environment
broke all the tests that use shaders because tests don't produce valid
SPIR-V for WebGPU and also backends don't know how to lower
WebGPU-flavored SPIR-V to target languages.

Also rolls SPIRV-Headers to a version compatible with SPIRV-Tools

TBR=kainino@chromium.org
BUG=dawn:57

Change-Id: Icd9a199efc39cf143e38d64841eb4b122c9f54a9
Reviewed-on: https://dawn-review.googlesource.com/c/2706
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2018-11-28 16:54:31 +00:00
Corentin Wallez 391c8a9224 Roll GLFW to pick up macOS Mojave fixes
BUG=dawn:35

Change-Id: Id9f71ab3a6023b21883d1b3d2f8afcebcf5b2f71
Reviewed-on: https://dawn-review.googlesource.com/c/2480
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
2018-11-19 10:21:23 +00:00
Corentin Wallez 15d8cb765f Roll Chromium's build system to fix Windows builds
build/win_toolchain.json was updated out of band so we need to roll all
Chromium's build support repos to pick up the respective change to
build/vs_toolchain.py

In the meantime, LASTCHANGE-related functionality changed and requires a
new hook to run before we can call `gn gen`.

TBR=kainino@chromium.org
TBR=senorblanco@chromium.org
BUG=chromium:906559

Change-Id: Ic5d297b5700193ca72b02874073e6c553f06e04f
Reviewed-on: https://dawn-review.googlesource.com/c/2560
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2018-11-19 10:13:31 +00:00
Corentin Wallez 61791eae36 Roll glslang to get a `gn check` fix.
TBR=kainino@chromium.org

BUG=

Change-Id: I46b7aaa8173685a81d89d0bf6cd93688114f80a0
Reviewed-on: https://dawn-review.googlesource.com/c/2120
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2018-10-31 12:21:57 +00:00
Corentin Wallez 5aac265dcb Roll glslang and shaderc
These new versions contain the fix for not having static libraries
with no sources depending on source sets in their BUILD.gn

BUG=chromium:870747

Change-Id: Ib979d5ee581f37db22347f0f725086a9b9833d07
Reviewed-on: https://dawn-review.googlesource.com/c/1900
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2018-10-23 12:50:10 +00:00
Corentin Wallez 16092faa16 Roll shaderc and glslang and use their BUILD.gn
This rolls glslang and shaderc to be able to use their BUILD.gn files,
and also rolls SPIRV-Tools and spirv-headers to have compatible
versions.

BUG=chromium:870747

Change-Id: I13c615f6f3d148c9b69f06547992bf5910e04e62
Reviewed-on: https://dawn-review.googlesource.com/c/1680
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2018-10-04 17:17:57 +00:00
Corentin Wallez 4c35101b9c PRESUBMIT.py: Add formatting checks.
GN files are checked using the canned presubmit check but we cannot do
the same for C/C++ files: the canned check uses git cl format which can
only use clang-format 5.0 and requires formatting of all the source
code.

Instead we write our own clang-format check, reusing the script that
checks formatting on Travis. To have a recent version of clang-format we
import one from a helper repo.

This also fix a formatting error in .gn and adds licenses to the
clang-format linting scripts.

Change-Id: I4d8208472a8a6bd32ae3ef41c3145abf270a4c37
2018-09-11 08:06:36 -04:00
Corentin Wallez 1a0596d8ea DEPS: use relative paths and hooks and remove dawn_root
Change-Id: Ica3913481d4f3552507105ff581474efa51ae3b6
2018-09-11 08:06:36 -04:00
Corentin Wallez ae62847f1c Roll SPIRV-Tools
Change-Id: I0b30e4d2b0a142bb073e61329a49a517629e3234
2018-09-07 05:41:25 -04:00
Corentin Wallez ca81bd3481 GN: Use hermetic builds on Linux
This makes the Linux GN builds use the Chromium copy of binutils and
also makes all platforms use the "custom libcxx" which is libc++.

We do this so that the build doesn't depend on anything from the system
on Linux because our bots are still on trusty with very old libstdc++
and linkers.

Change-Id: I0570fb474f2945c3565e78a56aba66c1a2619afc
2018-09-05 05:18:10 -04:00
Corentin Wallez 37812a642e DEPS: Use Chromium git mirrors for gtest, SPIRV-Cross and glfw
Change-Id: I69d931e22f58e0a655be5fa059d68b932ebb42d2
2018-08-24 12:28:28 -04:00
Corentin Wallez 0fa2feb96a Roll SPIRV-Cross and use upstream repo.
In the DEPS file we are going to use Chromium's mirror of
github.com/KhronosGroup/SPIRV-Cross so we need to adjust .gitmodules to
point to it instead of Kangz/SPIRV-Cross. Also take that opportunity to
roll SPIRV-Cross.

Change-Id: I4f53a4fc54f5b1b9a754ac55e976c81e5eeabeb2
2018-08-24 12:28:28 -04:00
Corentin Wallez 3bb0bb940e Generator,BUILD.gn: add optional python path, use it for Jinja2
This makes the Jinja2 (and MarkupSafe) installation hermetic by
adding it to the DEPS and making the code generator add them in the
first spot of the python path.
2018-08-14 21:42:32 +02:00
Corentin Wallez 682c44af92 DEPS: update toolchain files to not require GYP
build/vs_toolchain.py used to require GYP that we don't have, update it
past a commit that removes that requirement.
2018-08-14 21:42:32 +02:00
Corentin Wallez 4d7d1697fa Add samples to BUILD.gn and their deps to DEPS
Also add missing GLFW DEPS entry
2018-08-14 14:33:19 +02:00
Corentin Wallez 649e2feda4 Add GN build for tests and their third party deps. 2018-08-09 20:54:43 +02:00
Corentin Wallez 21a23857dc Add initial BUILD.gn files for libdawn[|_native|_wire] 2018-08-06 16:38:33 +02:00