Commit Graph
12163 Commits
Author SHA1 Message Date
angle-autoroll 01de0c5969 Roll third_party/vulkan-tools/src ae0f0ead3a56..1be434141625 (1 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools.git/+log/ae0f0ead3a56..1be434141625

git log ae0f0ead3a56..1be434141625 --date=short --first-parent --format='%ad %ae %s'
2020-04-14 [email protected] build: Remove glslang dependancy from known-good

Created with:
  gclient setdep -r third_party/vulkan-tools/src@1be434141625

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-tools-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I242fcb852689b89a67e34c9c283ea4b091fc03cf
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2150100
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-15 08:56:28 +00:00
angle-autoroll 749f70ea74 Roll third_party/spirv-tools/src e70d25f6fa5d..c018fc6ae667 (9 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/e70d25f6fa5d..c018fc6ae667


Created with:
  gclient setdep -r third_party/spirv-tools/src@c018fc6ae667

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/spirv-tools-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I0e7a20e1444006458413a7dfb1b3a025190a706f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2150103
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-15 08:48:58 +00:00
angle-autoroll 0c9ffcc48d Roll third_party/vulkan-loader/src bb8be13e3ffe..3f7e3cbf33a7 (9 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader.git/+log/bb8be13e3ffe..3f7e3cbf33a7

git log bb8be13e3ffe..3f7e3cbf33a7 --date=short --first-parent --format='%ad %ae %s'
2020-04-11 [email protected] loader: Fix deadlock introduced by preloading ICDs
2020-04-11 [email protected] loader: Preload ICD's to speed up common path
2020-04-10 [email protected] build: Find headers package from external dir
2020-04-09 [email protected] Log debug messages with verbose severity instead of info
2020-04-08 [email protected] build: Update known-good for 1.2.137 header
2020-04-08 [email protected] tests: Update layer path test to strip empty paths
2020-04-08 [email protected] loader: Strip out empty search paths
2020-04-08 [email protected] loader: Fix clang-format formatting issues
2020-04-08 [email protected] loader: Remove duplicate search paths on posix

Created with:
  gclient setdep -r third_party/vulkan-loader/src@3f7e3cbf33a7

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-loader-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: Iec4a96b434135be41f62b0dc0a2a3f513ad1f338
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2150102
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-15 08:45:48 +00:00
angle-autoroll 5e7ef660be Roll third_party/vulkan-validation-layers/src f89de66a9bcb..da9102fb013d (3 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/f89de66a9bcb..da9102fb013d

git log f89de66a9bcb..da9102fb013d --date=short --first-parent --format='%ad %ae %s'
2020-04-14 [email protected] tests: Remove mock workarounds for vkAcquire
2020-04-14 [email protected] layers: Update AHB to Android Q and better logging
2020-04-14 [email protected] test: Temporarily disable AHBCreateImageView test

Created with:
  gclient setdep -r third_party/vulkan-validation-layers/src@da9102fb013d

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: Ie96c4e25fb54f55fc44bd548890d6f45c9e15b95
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2150101
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-15 08:42:19 +00:00
Hyunchang Kim 6e0d718a48 Vulkan: Implement device memory sub-allocation
Use AMD Vulkan Memory Allocator for device memory sub-allocation.
We now have a mempool from which all glBuffer memory is allocated.
The CPU overhead involved in repeated IOCTL calls to the kernel is
reduced significantly.

Bug: angleproject:2162
Change-Id: Id7681ffe2ac3d2853141ebe34c7df7b7fdd0d55e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2124519
Reviewed-by: Tobin Ehlis <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Mohan Maiya <[email protected]>
2020-04-14 22:01:52 +00:00
shrekshao d26fb99e78 Add DrawBaseVertexVariants Tests
This tests different DrawElements*BaseVertex draw calls
from different extensions including OES_draw_elements_base_vertex,
EXT_draw_elements_base_vertex, and ANGLE_base_vertex_base_instance,
with various combinations of base vertex, base index values.

Bug: angleproject:4536
Change-Id: I3cd256522684c6040199d7704aac8575237dbd96
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2146292
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shrek Shao <[email protected]>
Commit-Queue: Shrek Shao <[email protected]>
2020-04-14 21:27:22 +00:00
Tobin Ehlis 1b30886d6d doc: Add note on Vulkan-Headers repo
Added a note about other Vulkan repos being dependent on Vulkan-Headers
repo. When the Headers repo roll fails, we need to pause it until after
LunarG has manually updated the dependent repos with new Vulkan-Headers
code.

Bug: angleproject:1944
Change-Id: I5ac2b061ff7e262595760645a843850b1235332f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2144538
Reviewed-by: Ian Elliott <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Tobin Ehlis <[email protected]>
2020-04-14 17:30:00 +00:00
Xinyi He 7ce8f3e083 Enable perFrameWindowSizeQuery by default on Mali
It doesn't return out of date error after the native window
has resized, so we need to enable perFrameWindowSizeQuery
on Mali GPU.

Bug: angleproject:4564
Change-Id: Ib454898c5653fbb1b05dc542f7266dfffb03e793
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2145879
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-04-14 15:48:49 +00:00
Cody Northrop 83678e516e Tests: Update dEQP KHR GLES 3.1 expectations
Last fix for this test group was merged here:
https://github.com/KhronosGroup/glslang/pull/2175

Test: KHR-GLES31.core.shader_bitfield_operation.*
Bug: angleproject:4402
Bug: b:153165560
Change-Id: Icfd8fcc0b4ef293870bff6fdc0852e85784bb16e
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2148960
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2020-04-14 15:38:09 +00:00
angle-autoroll 3d894d87b2 Roll third_party/SwiftShader 9d2fd9c161ab..711867566999 (3 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/9d2fd9c161ab..711867566999

git log 9d2fd9c161ab..711867566999 --date=short --first-parent --format='%ad %ae %s'
2020-04-14 [email protected] Use the type and result ID helpers
2020-04-14 [email protected] Obtain type ID from instruction
2020-04-14 [email protected] Add helper methods for obtaining type and result ID

Created with:
  gclient setdep -r third_party/SwiftShader@7118675669

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I5c762953ae81a1342956a1aa8e21c3ba176ef512
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2148712
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-14 08:41:19 +00:00
angle-autoroll e742f507ed Roll third_party/glslang/src 46572440189e..4d2298bfd78a (1 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang/+log/46572440189e..4d2298bfd78a


Created with:
  gclient setdep -r third_party/glslang/src@4d2298bfd78a

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/glslang-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: Icd70f042d69d7fe3ec9b8630815fbd08494b1625
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2148110
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-14 08:10:49 +00:00
angle-autoroll 6f7b08848d Roll third_party/vulkan-tools/src 490e39372126..ae0f0ead3a56 (1 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools.git/+log/490e39372126..ae0f0ead3a56

git log 490e39372126..ae0f0ead3a56 --date=short --first-parent --format='%ad %ae %s'
2020-04-13 [email protected] build: Update known-good files for 1.2.137 header

Created with:
  gclient setdep -r third_party/vulkan-tools/src@ae0f0ead3a56

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-tools-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: Iccceb7ba39e3df0be13a28dde86b5fa3666c17eb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2148108
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-14 08:04:29 +00:00
angle-autoroll eb910b20d4 Roll third_party/spirv-tools/src 34be23373b9e..e70d25f6fa5d (3 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/34be23373b9e..e70d25f6fa5d


Created with:
  gclient setdep -r third_party/spirv-tools/src@e70d25f6fa5d

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/spirv-tools-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I1ef922d305db17730c8e8f9434cf746c5ac6b4e1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2148111
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-14 08:03:19 +00:00
angle-autoroll 965eedbfbf Roll third_party/vulkan-validation-layers/src 019f4e38eb79..f89de66a9bcb (7 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/019f4e38eb79..f89de66a9bcb

git log 019f4e38eb79..f89de66a9bcb --date=short --first-parent --format='%ad %ae %s'
2020-04-14 [email protected] layers: Add missing WaitSemaphores (KHR/not) entry
2020-04-13 [email protected] layers: Add missing instance chassis locks
2020-04-13 [email protected] tests: Add support for VUID 02261 and 02262
2020-04-13 [email protected] layers: Add support for VUID 02261 and 02262
2020-04-13 [email protected] layers: Fix general external AHB tracking
2020-04-13 [email protected] layers: Silence expected GCC warning
2020-04-13 [email protected] layers: Take separate stencil usage flags into account

Created with:
  gclient setdep -r third_party/vulkan-validation-layers/src@f89de66a9bcb

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: Ib904e4f1e9cd44a904aeef4b88d80595a18a9067
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2148109
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-14 08:00:59 +00:00
Charlie Lao dee4d7a54e Vulkan: Early fragment tests optimization
Checks if early fragment tests as an optimization is feasible and enable
it if we can. In the link time, if context state diagrees with
optimization (in rare case), then remove the
ExecutionModeEarlyFragmentTests sprv op code.

Bug: angleproject:4508
Change-Id: Ifbb06c0ffb050a9f3ddb16ab50362e908b4b9cf6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2136490
Commit-Queue: Charlie Lao <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
2020-04-13 23:37:58 +00:00
Tobin Ehlis 32457326e0 Vulkan: Roll Headers and VVL repos
Need to sync the Vulkan-Headers and Vulkan Validation Layers roll.
Header update also requires codegen update.

Bug: angleproject:3320
Change-Id: Id2256372797e8c9c280ef22c19eeca19d319279c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2147608
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
Commit-Queue: Tobin Ehlis <[email protected]>
2020-04-13 20:33:45 +00:00
angle-autoroll ee7525af47 Roll third_party/glslang/src fd593d5f0834..46572440189e (1 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang/+log/fd593d5f0834..46572440189e


Created with:
  gclient setdep -r third_party/glslang/src@46572440189e

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/glslang-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: Id93e9d89011dd0a4667b8b7a3cadac153d70e8f1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2147376
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-13 14:05:21 +00:00
angle-autoroll 8b4d25b674 Roll third_party/vulkan-tools/src 2fd41fab58c8..490e39372126 (2 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools.git/+log/2fd41fab58c8..490e39372126

git log 2fd41fab58c8..490e39372126 --date=short --first-parent --format='%ad %ae %s'
2020-04-10 [email protected] icd: Make swapchain images persistent
2020-04-10 [email protected] icd: Fix vkGetSwapchainImages behavior

Created with:
  gclient setdep -r third_party/vulkan-tools/src@490e39372126

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-tools-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: Id6e2946e874a2f8181a99a9d1bcab1eff75d564c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2147375
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-13 09:15:21 +00:00
angle-autoroll 8128233d33 Roll third_party/SwiftShader e6f65d9265e7..9d2fd9c161ab (2 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/e6f65d9265e7..9d2fd9c161ab

git log e6f65d9265e7..9d2fd9c161ab --date=short --first-parent --format='%ad %ae %s'
2020-04-11 [email protected] LLVMReactor: Replace deprecated CreateCall overload
2020-04-10 [email protected] [cmake] Add support for CMAKE_SYSTEM_NAME == "Fuchsia"

Created with:
  gclient setdep -r third_party/SwiftShader@9d2fd9c161

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: Ia62a60b80d559b55d9532b01f5e2143a0cac97eb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2147378
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-13 08:36:11 +00:00
Mohan Maiya cf2c8e6068 EGL: Relax test skip conditions for a few colorspace ImageTests
Relax test skip conditions for the following colorspace
ImageTests -

- SourceRenderbufferTargetTexture_Colorspace
- SourceRenderbufferTargetTextureExternal_Colorspace
- SourceRenderbufferTargetTextureExternalESSL3_Colorspace

For these tests, it is sufficient to check for support of
EGL_EXT_image_gl_colorspace extension

Bug: angleproject:3756
Tests: angle_end2end_tests --gtest_filter=ImageTest.SourceRenderbufferTargetTexture*_Colorspace*
Change-Id: I123fb14fc79e8f949a903b7586a0badf54297cfa
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2144549
Commit-Queue: Courtney Goeltzenleuchter <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
2020-04-10 14:26:26 +00:00
angle-autoroll 469c029a7c Roll third_party/spirv-tools/src 538512e8e898..34be23373b9e (2 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/538512e8e898..34be23373b9e


Created with:
  gclient setdep -r third_party/spirv-tools/src@34be23373b9e

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/spirv-tools-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I8653cb757293dde84e52093935ef77c6ec9ba134
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2145322
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-10 10:36:16 +00:00
angle-autoroll 098baab321 Roll third_party/glslang/src 75de196cecab..fd593d5f0834 (1 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang/+log/75de196cecab..fd593d5f0834


Created with:
  gclient setdep -r third_party/glslang/src@fd593d5f0834

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/glslang-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I9a6f36dae55e9f5fe3c3e1feb16c8ecaba6afd14
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2145439
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-10 09:49:45 +00:00
angle-autoroll e42f81e1b7 Roll third_party/vulkan-validation-layers/src 47d5e27460af..e7bbc302dff2 (1 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/47d5e27460af..e7bbc302dff2

git log 47d5e27460af..e7bbc302dff2 --date=short --first-parent --format='%ad %ae %s'
2020-04-09 [email protected] scripts: BP skip vkEnumerateInstanceVersion

Created with:
  gclient setdep -r third_party/vulkan-validation-layers/src@e7bbc302dff2

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I5a97db12c7518d1c9818b1053c5a355142b8b7e0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2145321
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-10 09:07:56 +00:00
angle-autoroll ddaff6b689 Roll third_party/vulkan-tools/src ae6787114fb5..2fd41fab58c8 (2 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools.git/+log/ae6787114fb5..2fd41fab58c8

git log ae6787114fb5..2fd41fab58c8 --date=short --first-parent --format='%ad %ae %s'
2020-04-09 [email protected] Revert "icd: Fix vkGetSwapchainImages behavior"
2020-04-09 [email protected] Revert "icd: Make swapchain images persistent"

Created with:
  gclient setdep -r third_party/vulkan-tools/src@2fd41fab58c8

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-tools-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I3f845e2e3502a15b3330881a2bd361685157d6be
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2145320
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-10 08:26:06 +00:00
angle-autoroll e9713ba15b Roll third_party/SwiftShader 3cfa8e28be80..e6f65d9265e7 (5 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/3cfa8e28be80..e6f65d9265e7

git log 3cfa8e28be80..e6f65d9265e7 --date=short --first-parent --format='%ad %ae %s'
2020-04-09 [email protected] Rename GenericValue to Operand
2020-04-09 [email protected] CMake: Fix linux build with SWIFTSHADER_BUILD_PVR
2020-04-09 [email protected] Vulkan/Debug: Fix clang-10 warning
2020-04-09 [email protected] third_party/cppdap: Roll forward to 4dcca577
2020-04-09 [email protected] Clamp _SNORM formats to -1.0

Created with:
  gclient setdep -r third_party/SwiftShader@e6f65d9265

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I3ad322f6559f10baa889b97dd86f40b209731122
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2145323
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-10 08:04:45 +00:00
Xinghua Cao c68dfaf3a5 Avoid GPU-GPU copy for StructuredBuffer
If uniform block is translated to StructureBuffer on D3D backend,
must do a GPU-GPU copy when updating uniform buffer. If buffer's
latest usage is StructuredBuffer, directly upload to structured
buffer.

Bug: angleproject:3682
Change-Id: I7303866d08705a43238732e5f5ae4858f0a33d63
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2131871
Commit-Queue: Xinghua Cao <[email protected]>
Reviewed-by: Jiajia Qin <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Kenneth Russell <[email protected]>
2020-04-10 03:37:34 +00:00
angle-autoroll df3cc205af Roll third_party/vulkan-tools/src bb32b2a70168..ae6787114fb5 (4 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools.git/+log/bb32b2a70168..ae6787114fb5

git log bb32b2a70168..ae6787114fb5 --date=short --first-parent --format='%ad %ae %s'
2020-04-09 [email protected] mockicd: Track memory allocation size
2020-04-09 [email protected] icd: Make swapchain images persistent
2020-04-09 [email protected] icd: Fix vkGetSwapchainImages behavior
2020-04-09 [email protected] icd: Fix vkAcquireNextImageKHR generation

Created with:
  gclient setdep -r third_party/vulkan-tools/src@ae6787114fb5

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-tools-angle-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected],[email protected]
Change-Id: I284c0d5d29fa5c43ba82b6f2d1b901d188f28637
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2144983
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-09 23:47:11 +00:00
Tim Van Patten 405f8e7ba1 Vulkan: Support Program Pipeline Objects
Add support for PPOs to the Vulkan back end.

Bug: angleproject:3570
Change-Id: I5403456929847c185467b008d810f31ecfcb60cc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2072652
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
2020-04-09 23:30:51 +00:00
Alexey Knyazev c12c1f571a D3D11: Skip setting BlendState for integer attachments
Some D3D11 drivers may produce unexpected results when blending is
apllied to integer attachments.

Minor cleanup: early exit for nullptr attachments.

New BlendIntegerTest in angle_end2end.

Bug: angleproject:4548, angleproject:4547, angleproject:4525, angleproject:4394
Change-Id: I236ac6db1f8dcaca54e9bc1b0803e1775fd75632
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2134448
Commit-Queue: Geoff Lang <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Geoff Lang <[email protected]>
2020-04-09 18:04:20 +00:00
Mohan Maiya dac5cc3b6a EGL: Add support for EGL_EXT_image_gl_colorspace extension
Add support for creating images with custom colorspace.

Bug: angleproject:3756
Tests: angle_end2end_tests --gtest_filter=ImageTest*
Change-Id: I9c332c012541c094728d9d9bde7add4189084a33
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2104088
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
Commit-Queue: Mohan Maiya <[email protected]>
2020-04-09 17:31:30 +00:00
angle-autoroll 728b917866 Roll third_party/vulkan-tools/src 444b7cd3eecd..bb32b2a70168 (2 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools.git/+log/444b7cd3eecd..bb32b2a70168

git log 444b7cd3eecd..bb32b2a70168 --date=short --first-parent --format='%ad %ae %s'
2020-04-08 [email protected] vulkaninfo: dynamically link vulkan on apple
2020-04-08 [email protected] build: Update MoltenVK version in known-good.json

Created with:
  gclient setdep -r third_party/vulkan-tools/src@bb32b2a70168

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-tools-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I45796d1660670a5c1d681a4398906fd58a45e5b1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2143561
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-09 10:41:18 +00:00
angle-autoroll ec79505330 Roll third_party/vulkan-validation-layers/src 4db086125947..47d5e27460af (4 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/4db086125947..47d5e27460af

git log 4db086125947..47d5e27460af --date=short --first-parent --format='%ad %ae %s'
2020-04-08 [email protected] layers: Don't remove container contents during iteration
2020-04-08 [email protected] layers: Fix operator= recursion
2020-04-08 [email protected] layers: GCC -Wignored-qualifiers warning
2020-04-08 [email protected] layers: GCC -Wdeprecated-copy warning

Created with:
  gclient setdep -r third_party/vulkan-validation-layers/src@47d5e27460af

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I160ac9d44094658510e72d63e75febb93679392a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2143560
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-09 09:15:48 +00:00
angle-autoroll 41e665c471 Roll third_party/SwiftShader 63ed0e445fa5..3cfa8e28be80 (7 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/63ed0e445fa5..3cfa8e28be80

git log 63ed0e445fa5..3cfa8e28be80 --date=short --first-parent --format='%ad %ae %s'
2020-04-09 [email protected] Remove debug only code limiting the number of primitives
2020-04-08 [email protected] Regres: Post coverage results even if the test lists have not changed.
2020-04-08 [email protected] CMake: split out all src/OpenGL targets into their own CMakeLists
2020-04-08 [email protected] CMake: split out SwiftShader GL deps into separate files
2020-04-08 [email protected] CMake: clean up dependencies
2020-04-08 [email protected] Add SystemBenchmarks.
2020-04-08 [email protected] VkCommandBuffer: Remove static Cast() method

Created with:
  gclient setdep -r third_party/SwiftShader@3cfa8e28be

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I360d07f9e492b562cd4c92e7a2fb8e2e40c4f129
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2143564
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-09 08:41:18 +00:00
angle-autoroll dcee8f94a9 Roll third_party/glslang/src 9c3204a1fde0..75de196cecab (1 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang/+log/9c3204a1fde0..75de196cecab


Created with:
  gclient setdep -r third_party/glslang/src@75de196cecab

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/glslang-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I2102b364c9eed8c66b93a166f423ac19e77f60ad
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2143562
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-09 08:19:38 +00:00
Xinghua Cao 2caf7ffda7 Address a TODO for instance uniform block
This patch resolves one TODO that Support to translate instance uniform
block containing only a large array member to Structured buffer on D3D
backend when necessary.

Bug: angleproject:4205
Change-Id: If2cd6cf633080820ea33e52269d7d86cd587c9ee
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2114912
Commit-Queue: Xinghua Cao <[email protected]>
Reviewed-by: Jiajia Qin <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-04-09 05:24:36 +00:00
Geoff Lang 2319607679 GL: Protect against infinite loops with CONTEXT_LOST in CheckError
If the GL context generates a CONTEXT_LOST error, stop checking for errors.
This error will be generated continuously and result in an infinite loop.

BUG=angleproject:3020

Change-Id: Ib78d1ff3f84103e658307f2f892538700916449d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2142312
Reviewed-by: Geoff Lang <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
2020-04-08 18:14:06 +00:00
angle-autoroll 9f14f78525 Roll third_party/vulkan-validation-layers/src 004b2914bfe3..4db086125947 (9 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-ValidationLayers.git/+log/004b2914bfe3..4db086125947

git log 004b2914bfe3..4db086125947 --date=short --first-parent --format='%ad %ae %s'
2020-04-07 [email protected] tests: Add PhysicalDeviceFormatProperties2 for Device Profile API
2020-04-07 [email protected] tests: Fix extraneous errors
2020-04-07 [email protected] layers: Fix error message
2020-04-07 [email protected] tests: Remove commented code
2020-04-07 [email protected] tests: Refactor DeviceExtensionSupported
2020-04-07 [email protected] chassis: Use init funcs for device val obj setup
2020-04-07 [email protected] chassis: Use init funcs for instance val obj setup
2020-04-07 [email protected] layers: Init validation object types in child constructors
2020-04-07 [email protected] Improve Android build documentation

Created with:
  gclient setdep -r third_party/vulkan-validation-layers/src@4db086125947

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-validation-layers-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I6acd0d4027ea1ff2eea4282535264a77aaf10930
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2141832
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-08 15:36:52 +00:00
angle-autoroll 823b0c6d6e Roll third_party/SwiftShader bdb6807825ac..63ed0e445fa5 (8 commits)
https://swiftshader.googlesource.com/SwiftShader.git/+log/bdb6807825ac..63ed0e445fa5

git log bdb6807825ac..63ed0e445fa5 --date=short --first-parent --format='%ad %ae %s'
2020-04-08 [email protected] Remove src/Device/Config.cpp
2020-04-08 [email protected] Kokoro: Check that build files don't reference non-existent files
2020-04-07 [email protected] Regres: Fix uncovered calculations after optimizations
2020-04-07 [email protected] Regres: Optimize coverage processing
2020-04-07 [email protected] Regres: Re-populate treeFile.allSpans on parse.
2020-04-07 [email protected] Update third_party/marl/BUILD.gn with new files
2020-04-07 [email protected] Update Marl to 539094011
2020-04-07 [email protected] Coverage: Improve uncovered visualizations

Created with:
  gclient setdep -r third_party/SwiftShader@63ed0e445f

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I20bccd4f47f8ec53c301759722a4838f28c69f17
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2141842
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-08 10:17:12 +00:00
angle-autoroll a5854a726c Roll third_party/vulkan-loader/src 122067a02a25..bb8be13e3ffe (1 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Loader.git/+log/122067a02a25..bb8be13e3ffe

git log 122067a02a25..bb8be13e3ffe --date=short --first-parent --format='%ad %ae %s'
2020-04-07 [email protected] build: Fix not finding registry path in some cases

Created with:
  gclient setdep -r third_party/vulkan-loader/src@bb8be13e3ffe

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-loader-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: I8e0af907281be1c932c2a684b2ede117898a59b1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2141831
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-08 10:04:02 +00:00
angle-autoroll b69da999a0 Roll third_party/spirv-tools/src 4af38c49bfee..538512e8e898 (2 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools.git/+log/4af38c49bfee..538512e8e898


Created with:
  gclient setdep -r third_party/spirv-tools/src@538512e8e898

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/spirv-tools-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: If471dca9184dd7fb9c49678b7f37ff1bc9a5635c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2141834
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-08 09:46:42 +00:00
angle-autoroll 3d1386f3ea Roll third_party/vulkan-tools/src 1fbefe048387..444b7cd3eecd (2 commits)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Tools.git/+log/1fbefe048387..444b7cd3eecd

git log 1fbefe048387..444b7cd3eecd --date=short --first-parent --format='%ad %ae %s'
2020-04-07 [email protected] mockicd: Make physical device static
2020-04-07 [email protected] vulkaninfo: fix app bundle not finding loader

Created with:
  gclient setdep -r third_party/vulkan-tools/src@444b7cd3eecd

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-tools-angle-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Bug: None
Tbr: [email protected]
Change-Id: Ib19f7829272f9298f16a63ec3cac95f58818f9a5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2141630
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-04-08 09:45:42 +00:00
Tim Van Patten 8bd3dab112 Create Context::getActiveLinkedProgram()
In preparation for support Program Pipeline Objects, the new function
Context::getActiveLinkedProgram() is being created that will handle
returning the correct Program whether there is currently a Program or
PPO active.

This initial implementation doesn't actually support PPOs yet; that
work is done in a follow-on CL.

Bug: angleproject:3570
Test: CQ
Change-Id: I534261738a55b2f671ca152c2ef9a1e81517a99c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2135931
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-04-08 03:01:15 +00:00
Brandon Schade a156df2358 Vulkan: add support for EXT_texture_sRGB_R8
Added support for EXT_texture_sRGB_R8. The GL_SR8_EXT format
will be available if the VK ICD supports VK_FORMAT_R8_SRGB.
This does not add support for emulation of this format.

Bug: angleproject:4503
Bug: angleproject:3609
Test: dEQP-GLES3.functional.texture.*.srgb_r8_*
Change-Id: Ifaec92ac1a8561881f54ddb7fdf0975112711736
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2135853
Commit-Queue: Brandon Schade <[email protected]>
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2020-04-07 21:45:29 +00:00
Geoff Lang dd90f5a551 Depend on vulkan headers in angle_gpu_info_util
angle_gpu_info_util is capable of dynamically loading vulkan without
a dependency but it still requires the dependency on the headers to
compile on some systems.

BUG= b:153394225

Change-Id: I698a825499364c09faea39384d25d454f83955b3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2139414
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
2020-04-07 19:06:48 +00:00
Geoff Lang cb6470f9c7 Set sdk_version for cc_genrules used by modules with sdk_version set
sdk_version now creates a new variant, so the cc_genrules also need
sdk_version set.

Bug: b:149591340
Change-Id: I8c58cca2d4e73e9f123f968d47361e878743e1b8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2131251
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Geoff Lang <[email protected]>
2020-04-07 18:36:45 +00:00
Jamie Madill 76d52be3bd Vulkan: Add VulkanMemoryAllocator to DEPS.
Bug: angleproject:2162
Change-Id: If91ae40c1fe818a59d775bb2fa066227dd52859d
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2139992
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Mohan Maiya <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-04-07 18:07:15 +00:00
Yuly Novikov 4609c4aca8 Feature::condition must not be NULL
Since it's returned by eglQueryStringiANGLE, and the doc says:
1. eGLQueryStringiANGLE returns a pointer to a static, null-terminated string
2. On failure, NULL is returned

So, we shouldn't be returning NULL when there is no failure.
This was breaking 'chrome --enable-gpu-service-logging'.

Bug: angleproject:3947
Change-Id: I2dcc7d479899dc1fc5fd59a502e84defe44f64c9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2137939
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2020-04-07 17:42:35 +00:00
Jamie Madill 2a0c359635 Vulkan: Clean up robust and emulated image clears.
This change consolidates image clears in multiple places into a single
site in ImageHelper initialization. It adds support for appending clear
image commands as well as prepend (the default). We prepend clears
because image initialization happens after data upload.

The Vulkan robust clear path now works like the other back-ends. The
change flushed out a bug where partially uninitialized CopyTexImage was
not correctly initializing a texture before triggering a full resource
clear. Texture::copyImage now uses a workaround where we first init the
image before clearing it. After the init we upload the new data.

We'll use the appending clears path when implementing deferred clears.

Bug: angleproject:4517
Change-Id: If9212f3b8cdd0fc8b7e729d364530801a644e164
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2130627
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2020-04-07 17:38:55 +00:00
Jamie Madill 78a471ba8b TextureGL: Signal DirtyBitsChanged on dirty bits.
This is a refactoring change only in preparation for a change in the
Vulkan back-end. We'll need to split the handling for Vulkan and GL
into different functions.

Bug: angleproject:4517
Change-Id: I2ddf9c70fe247d1dcb4e0aa9ca929bbbd61bd42b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2135893
Reviewed-by: Geoff Lang <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-04-07 17:37:06 +00:00
Jamie Madill c916fe8aca Don't call syncState inside FBO queries.
This prevents a syncState ordering issue that was confusing FBO sync
when robust resource init is enabled. Also cleans up some redundant
format processing for the half float extensions.

Bug: angleproject:4517
Change-Id: Ieb13fc5203cf824a3e8affda96ea5cbbd89d78ee
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2134411
Reviewed-by: Geoff Lang <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-04-07 17:30:05 +00:00