Граф коммитов

14643 Коммитов

Автор SHA1 Сообщение Дата
Jamie Madill 2e9706d80d Vulkan: Use angle::FormatID instead of VkFormat.
This change switches the internal enums we pass around from VkFormat
to FormatID. The end goal of the refactor is to allow the Vulkan
back-end to store packed tables indexed by FormatID. Because VkFormat
has large gaps in its enum space we'd otherwise need to use unordered
data structures like unordered_map.

The change removes the redundant VkFormat storage from vk::Format and
uses a new table query to return the VkFormat that 1:1 matches an
angle::FormatID. We also include a reverse mapping for use with native
Vulkan get functions for Android.

Also moves sRGB conversion functions into renderer_utils. A couple
sRGB formats that don't exist in GL are no longer handled by the sRGB
conversion functions. These formats should be extremely rare.

Bug: angleproject:5438
Change-Id: Id8b49773ca0c556f9f5a6a10fcf0d9762b93bbea
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2618204
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Ian Elliott <ianelliott@google.com>
2021-01-12 00:18:01 +00:00
Stephan Hartmann d21d682d03 libstdc++: fix incomplete type for FramebufferCache
libstdc++ does not allow incomplete type for T2 with std::pair<T1,T2>
and fails with:

.../../src/libANGLE/renderer/vulkan/vk_cache_utils.h:1570:64:
required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/include/g++-v9/bits/stl_pair.h:215:11:
error: std::pair<_T1, _T2>::second has incomplete type
  215 |       _T2 second;     /// @c second is a copy of
                                  the second object
      |           ^~~~~~

https://chromium-review.googlesource.com/c/angle/angle/+/2580111
added class FramebufferCache with incomplete type in |mPayload| to
vk::FramebufferHelper. Changing include order is not an option.
However, FramebufferCache is only used in FramebufferVk and we
can make it local there.

Bug: chromium:957519
Change-Id: I5fbdca23adbb9f4aecc266988c02fb0d051504cb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2621473
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-01-11 23:52:31 +00:00
Trevor David Black de32c3d2de Reland "Created test and fixed texture storage bug in d3d11"
This is a reland of 03f3ba5b14

Original change's description:
> Created test and fixed texture storage bug in d3d11
>
> Bug: b/172489285
> Change-Id: If7d88cf50d99da3380082c60fb3936ae0b20c4e5
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2519876
> Reviewed-by: Jamie Madill <jmadill@chromium.org>
> Reviewed-by: Geoff Lang <geofflang@chromium.org>
> Commit-Queue: Jamie Madill <jmadill@chromium.org>

Bug: b/172489285
Change-Id: I6b8226164a09aed208c56cb78b5d2c1385298cbe
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2546034
Reviewed-by: Geoff Lang <geofflang@chromium.org>
Reviewed-by: Trevor David Black <vantablack@google.com>
Commit-Queue: Trevor David Black <vantablack@google.com>
2021-01-11 23:03:51 +00:00
Lingfeng Yang 326f128b94 Vulkan: Prefer host cached memory for Buffers
This improves perf because vertex data upload uses host visible memory,
and uncached memory can be slow.

Test:

Android on Windows with 1080Ti:
glmark2 [build] vbo=false 265 -> 3900 fps

Bug: angleproject:5515
Change-Id: Ib75582bbdb4ca4a22d3a121c7b477a23a8a809ef
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2615742
Commit-Queue: Lingfeng Yang <lfy@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
2021-01-11 20:59:41 +00:00
Yuly Novikov 9325fd8b77 Fix iOS build
Broken by crrev.com/c/2618040

Bug: angleproject:5417
Change-Id: Id4a81c3e933b679956c82356c14b5639d56b6859
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2622234
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Stephen White <senorblanco@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
2021-01-11 20:43:21 +00:00
Yuly Novikov 4dd9a5e153 Enable building angle_white_box_tests on Fuchsia
Builds fine.

Bug: angleproject:2475
Change-Id: I96b2b03e1be2b801c3d8579ebf44d51b6faa3e57
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2622235
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
2021-01-11 20:36:21 +00:00
Ian Elliott 16dbcc130b dEQP: Avoid undefined right-shift behavior for GLhalf
The FloatToHalf() function in "es31cVertexAttribBindingTests.cpp" will
attempt to right-shift more than the number of bits in an integer
(i.e. by 70) when converting 0.0f to GLhalf.

Bug: angleproject:5500
Change-Id: I587e71a2cb1377b95ed74a1bba5f4ceef6a4a516
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2618665
Commit-Queue: Ian Elliott <ianelliott@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
2021-01-11 18:56:46 +00:00
Jamie Madill cb71062a30 Remove obsolete build flag.
No longer necessarry: "linux_use_bundled_binutils_override"

Bug: chromium:1164276
Change-Id: Ia670731cba70e4dbb9505480f7bb06060475c3e0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2622233
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-01-11 17:20:46 +00:00
angle-autoroll 49d291065f Roll Chromium from 29d2d6a2d436 to 193bb22c8c9d (106 revisions)
29d2d6a2d4..193bb22c8c

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/chromium-angle-autoroll
Please CC timvp@google.com,borenet@google.com 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/+doc/master/autoroll/README.md

Changed dependencies
* build: d1a74631f6..8874a0a063
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..12607ec3c9
No update to Clang.

Bug: None
Tbr: timvp@google.com,borenet@google.com
Change-Id: I6c7a3edf824f7bad503b627bb8198748e81692a2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2621713
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-01-11 17:03:35 +00:00
angle-autoroll c600e47812 Roll vulkan-deps from e395b66ed41c to e59ae1af7571 (5 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/e395b66ed41c..e59ae1af7571

2021-01-10 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll Vulkan-ValidationLayers from f0634ebbb36f to 46237b593c3f (2 revisions)
2021-01-09 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll SPIRV-Cross from 702c903f982d to 820179bf4689 (1 revision)
2021-01-08 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll Vulkan-ValidationLayers from 04cf3fd95555 to f0634ebbb36f (1 revision)
2021-01-08 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll Vulkan-ValidationLayers from ebd3ea2ecbac to 04cf3fd95555 (2 revisions)
2021-01-08 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll SPIRV-Cross from ce18d1b8a563 to 702c903f982d (1 revision)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-angle-autoroll
Please CC ianelliott@google.com 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/+doc/master/autoroll/README.md

Bug: None
Tbr: ianelliott@google.com
Change-Id: I462ebd004acd91d86ee30c5c78db8b2ca8729e9a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2620873
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-01-11 12:05:15 +00:00
angle-autoroll ffe66b75f8 Roll SwiftShader from 937395c1ed5d to 348ba200aa29 (6 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/937395c1ed5d..348ba200aa29

2021-01-10 capn@google.com Eliminate SpirvShaderEnumNames.cpp
2021-01-08 capn@google.com Reduce the LLVM compile layer object lifetime
2021-01-08 capn@google.com Reduce the mangler object lifetime
2021-01-08 capn@google.com Eliminate duplicate LLVM contexts
2021-01-08 srisser@google.com Fix mismatched signedness for a compare in subzero
2021-01-08 capn@google.com Fix missing fields initializers warnings

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 ianelliott@google.com 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/+doc/master/autoroll/README.md

Bug: None
Tbr: ianelliott@google.com
Change-Id: I4c63d31e3b324dbf1400c7ca4fe58e8067839b15
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2620479
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-01-11 12:03:15 +00:00
angle-autoroll ac05066a00 Roll Chromium from 28ecef438c2c to 29d2d6a2d436 (82 revisions)
28ecef438c..29d2d6a2d4

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/chromium-angle-autoroll
Please CC ianelliott@google.com 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/+doc/master/autoroll/README.md

Changed dependencies
* build: 06eb186470..d1a74631f6
* testing: fdaafe276e..b6a5362054
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..e174329bab
No update to Clang.

Bug: None
Tbr: ianelliott@google.com
Change-Id: Ic0ae8442611bc2c32241cf0f8496f118e6e32dca
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2620868
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-01-11 08:57:33 +00:00
Yuly Novikov 0b90eef09f Roll chromium_revision 1e679b773d..28ecef438c (841389:841845)
Change log: 1e679b773d..28ecef438c
Full diff: 1e679b773d..28ecef438c

Changed dependencies
* build: 762c7888b9..06eb186470
* testing: ce1689b82d..fdaafe276e
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..e174329bab
* tools/mb: c000d6e459..28924eafb2
DEPS diff: 1e679b773d..28ecef438c/DEPS

No update to Clang.

TBR=ynovikov@chromium.org,
BUG=angleproject:5417

Change-Id: I247873fe591c915cf1280739eeff98292984a6bc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2619938
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
2021-01-09 23:22:12 +00:00
Shahbaz Youssefi 51603c63d1 Revert "Use is_apple instead of is_mac and is_ios everywhere"
This reverts commit 2762641a3a.

Reason for revert: is_apple is not universally defined. Breaks ANGLE roll into Skia.

Original change's description:
> Use is_apple instead of is_mac and is_ios everywhere
>
> Bug: chromium:1161513
> Change-Id: Id7d582f127f4b79ea6fc5b8ad39fff768c45f477
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2611312
> Reviewed-by: James Darpinian <jdarpinian@chromium.org>
> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
> Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>

TBR=jdarpinian@chromium.org,syoussefi@chromium.org

Bug: chromium:1161513
Change-Id: I831e60149f410044a79d9f66aa9ddd9902410fd7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2618039
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-01-09 04:51:43 +00:00
Tim Van Patten 6e909d9407 Tests: Add Saint Seiya Awakening: Knights of the Zodiac trace
Test: angle_perftests --gtest_filter=TracePerfTest.Run/*saint_seiya_awakening*
Bug: angleproject:4048
Change-Id: Idf187b9c9298d184f1e0dd13f8a9aa0de7c2beb8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2612523
Commit-Queue: Tim Van Patten <timvp@google.com>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2021-01-09 03:01:13 +00:00
Shahbaz Youssefi 7cdda2dc5f Vulkan: Add a perf test for pre-rotation code injection
A test is added that dispatches a large number of vertex shaders,
generating primitives that are all culled.  The vertex shaders are
simple so that code injected for pre-rotation would make up the majority
of the shader code.

Bug: angleproject:5478
Change-Id: I75092cb25e6427449251985f56e54f89813dec32
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2615821
Reviewed-by: Charlie Lao <cclao@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-01-09 02:38:53 +00:00
Shahbaz Youssefi 2aa4f7e521 Fix translator fuzzer
Since some ASTs are now disabled on certain conditions, this change lets
the fuzzer know when it has generated invalid translator options.

Bug: chromium:1164448
Change-Id: I1f1b120c33fb70f9776df858db033ec914d7ad89
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2618203
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-01-09 02:36:53 +00:00
Tim Van Patten 767af74ec9 Tests: Add World War Doh trace
Test: angle_perftests --gtest_filter=TracePerfTest.Run/*world_war_doh*
Bug: angleproject:4048
Change-Id: I047ed1ccd06cd3707065fe8afed3ad7af5cd7dcc
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2606645
Commit-Queue: Tim Van Patten <timvp@google.com>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2021-01-08 22:52:05 +00:00
Jamie Madill 43366979d9 Add OWNERS info for Vulkan test utils.
Bug: chromium:1164084
Change-Id: I83cb75f2a0b4ad3f616d1b64beb34310cc23dd12
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2618202
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-01-08 22:12:37 +00:00
Stephen White f4cd17472a Reland "Changes to build inside a Dawn checkout."
This is a reland of 11c31e0a4a

I've landed upstream Skia change https://skia-review.googlesource.com/c/skia/+/351496
which should make this safe to reland.

Original change's description:
> Changes to build inside a Dawn checkout.
>
> Add an "angle_standalone" flag that can be disabled by Dawn.
> Put test definitions behind angle_standalone || build_with_chromium.
>
> Bug: angleproject:5462
> Change-Id: I58c9b18723384334156e2a3dd86ed3f89afcaade
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2587451
> Reviewed-by: Jamie Madill <jmadill@chromium.org>
> Commit-Queue: Stephen White <senorblanco@chromium.org>

Bug: angleproject:5462
Change-Id: I4ff92d45b3692312a004f03b425234b78c5a6219
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2618040
Commit-Queue: Stephen White <senorblanco@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2021-01-08 21:45:19 +00:00
Jamie Madill 038ae1448a Vulkan: Fix up varying component limits.
We weren't subtracting reserved varying vectors from component limits.
We also were using an incorrect value for fragment input components.

Bug: angleproject:5496
Change-Id: I44fc3b2f15687f4dee7a1498d50378e69d74afe3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2606536
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2021-01-08 20:26:39 +00:00
Jamie Madill e4497d600c Program: Move more common code to ProgramLinkedResources.
Refactoring change only.

Bug: angleproject:5496
Change-Id: Ic1c8301a070e91ad28791c23831b8236058ab9ab
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2606535
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2021-01-08 20:24:19 +00:00
Mohan Maiya 68f35f242a Vulkan: Add GL_EXT_clip_control entry points
Addition of the entry points for GL_EXT_clip_control extension.

Bug: angleproject:5471
Change-Id: If17ba0120bdb226cc5728bfea83e9085260eba19
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2615862
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Mohan Maiya <m.maiya@samsung.com>
2021-01-08 17:55:59 +00:00
Jamie Madill fa449cf3b0 Fix separable Geometry Shaders.
Was a needed fix for a new varying test.

Bug: angleproject:3571
Bug: angleproject:5496
Change-Id: I49ae69967510b7a6330ea217a0e0e19e3bebe865
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2613198
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-01-08 17:07:19 +00:00
Jamie Madill 3e33db95e4 Merge Program/ProgramPipeline::getMergedVaryings().
This merges two very similar pieces of code into one simpler function.
The function doesn't use any maps or indirection to build the merged
varyings list. It also fixes a potential bug with IO blocks and name
matching due to the code bifurcation.

Bug: angleproject:5496
Change-Id: Ibf54faeeb01d1940570b366ed153fff7c9135c52
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2606533
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2021-01-08 17:03:49 +00:00
angle-autoroll d8ca7d6247 Roll SwiftShader from 7b2f93895418 to 937395c1ed5d (2 revisions)
https://swiftshader.googlesource.com/SwiftShader.git/+log/7b2f93895418..937395c1ed5d

2021-01-07 caramelli.devel@gmail.com Add Direct-to-Display support using KMS/DRM
2021-01-07 srisser@google.com Add structs for VK_KHR_vulkan_memory_model

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 ianelliott@google.com 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/+doc/master/autoroll/README.md

Bug: None
Tbr: ianelliott@google.com
Change-Id: Iaa11e1b25da9d180081b5b4b0b31c5f655aeb263
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2617316
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-01-08 13:00:09 +00:00
angle-autoroll 7373f631ca Roll vulkan-deps from c493c6112021 to e395b66ed41c (7 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/c493c6112021..e395b66ed41c

2021-01-08 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll SPIRV-Cross from 0e5078dc0cfb to ce18d1b8a563 (1 revision)
2021-01-08 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll SPIRV-Cross from 134a52003407 to 0e5078dc0cfb (1 revision)
2021-01-08 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll SPIRV-Cross from 234c65c0f32c to 134a52003407 (1 revision)
2021-01-07 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll SPIRV-Tools from ad77ed7a8d52 to f3ccb633dfd7 (1 revision)
2021-01-07 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll Vulkan-ValidationLayers from 9f10caf9c4f3 to ebd3ea2ecbac (2 revisions)
2021-01-07 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll Vulkan-ValidationLayers from cc435b55410a to 9f10caf9c4f3 (2 revisions)
2021-01-07 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll SPIRV-Tools from aa005e8bd435 to ad77ed7a8d52 (1 revision)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-angle-autoroll
Please CC ianelliott@google.com 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/+doc/master/autoroll/README.md

Bug: None
Tbr: ianelliott@google.com
Change-Id: Ic5ca5fd78243ad6d37e1b8e046e92ee74f88490b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2616969
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-01-08 12:27:59 +00:00
angle-autoroll b7d9a02c06 Roll Chromium from 730c6584bcc6 to 1e679b773de8 (438 revisions)
730c6584bc..1e679b773d

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/chromium-angle-autoroll
Please CC ianelliott@google.com 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/+doc/master/autoroll/README.md

Changed dependencies
* build: e4c5e3e1a0..762c7888b9
* testing: d17dcf3607..ce1689b82d
* third_party/abseil-cpp: 78f99e18e9..cadb7225e4
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..e174329bab
* tools/clang: e8d041d679..01d7e1f0a1
* tools/mb: f8570240b7..c000d6e459
* tools/skia_goldctl/linux: C_u9-R-I-yQyomb3Y-XIH8Ad3Ya4ZWi2MpPiFTtfHz4C..SydJmfq0VW7jq5fTDGtIQ-7WoB0vNc-LJAi3Xd4fKvQC
* tools/skia_goldctl/mac: H_4GgcW8CtnxDnWd7RX17C39CAYzfHUaFR6drL3wWAcC..oxKWG6EzN6FHwQ-4J6gUYMHuNuHyARpVl4EvirOsXSgC
* tools/skia_goldctl/win: FzQDQOcAASIc0LaD9YBjqH2JPm0HbYCE2x0WXw2xpz0C..mvme2We4n3wONUhzQu6ATl9Ow4Fb4li6ET-Yhv7Ph3EC
No update to Clang.

Bug: None
Tbr: ianelliott@google.com
Change-Id: Icd5f9ab05c0784d31b353554e003290cda9fada0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2617241
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-01-08 09:27:29 +00:00
Shahbaz Youssefi f99ccb082b Vulkan: Add a perf warning when dropping superseded updates
If an update to an image subresource is entirely superseded by a
following update, the former update is dropped.  This change adds a perf
warning for this.

Bug: angleproject:3461
Change-Id: Iaf4984ba52f3dfc86d5cc87f8be82123badebd04
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2613203
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-01-07 23:00:20 +00:00
Jonah Ryan-Davis a392a81d21 GLX: Avoid creating child window when X visual ID is specified.
ANGLE's GLX backend creates a child ID because the visual of the X
window must match that of the GLX window, and we can't always be
certain.
EGL_ANGLE_x11_visual allows applications to specify the visual ID
of the window passed to ANGLE via EGL_X11_VISUAL_ID_ANGLE. When this
is the case, we don't need to make a child window.
Since Chrome always passes this information, this may help optimize
ANGLE's GLX usage in Chrome, because we don't have to poll the parent
window to manage the child window's properties.

Bug: chromium:1132827
Change-Id: If8082d2d07469905afffab01dde2ec9fca8d4eb9
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2611556
Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Geoff Lang <geofflang@chromium.org>
2021-01-07 22:03:30 +00:00
Tim Van Patten 2d1406a804 Capture/Replay: Capture glBindBufferBase during MEC setup
"World War Doh" binds uniform buffers via glBindBufferBase() calls
before any frames have rendered and then uses those bound buffers for
all subsequent frames. ANGLE's frame capture was failing to perform
these calls during the mid-execution capture setup phase, leading to
the replay generating VVL errors:
  VUID-vkCmdDispatch-None-02699
  Descriptor in binding #0 index 0 is being used in draw but has never
  been updated via vkUpdateDescriptorSets() or a similar call.

This CL adds those calls to the MEC setup phase, allowing the replay to
execute without any errors.

Bug: angleproject:5495
Test: angle_perftests --gtest_filter="*world_war_doh*"
Change-Id: I751c9c6f60bf78c13428a9d1d6a06dbfe600c24b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2606806
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-01-07 19:22:23 +00:00
Shahbaz Youssefi a7158eb524 Vulkan: Fix image leak in staged updates in ImageHelper
When removing superseding updates, the superseded update was not
released, causing a memory leak.  This change also makes
SubresourceUpdate non-copyable and correctly implements the move
assignment operator such that swap between different update types are
correct.  As a result, the destructor can now ASSERT that the image is
not leaked.

Bug: chromium:1146516
Bug: chromium:1163354
Change-Id: I7531c91d8559c23b2e09159118fe645d12fc601f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2613201
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-01-07 19:06:53 +00:00
Shahbaz Youssefi 157ddfdcc7 Build compiler_tests only if GLSL or ESSL build is enabled
Most of these tests use TranslatorGLSL or TranslatorESSL (often through
ShaderCompileTreeTest).  In specialized builds that disable GLSL and
ESSL shader generation, disable these unit tests.

Bug: chromium:1161513
Change-Id: Ib87e651706f141a41ffdaebfb0cbe5168582e341
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2613202
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-01-07 18:31:33 +00:00
Peng Huang acdb63b89d Remove the checking before accessing to function pointers
Bug: angleproject:5490
Bug: chromium:1161513
Change-Id: I96c5c463a9fd5a337d09f6cefe7836ff52bea90f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2601071
Reviewed-by: Jonah Ryan-Davis <jonahr@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
2021-01-07 18:29:03 +00:00
angle-autoroll d0a38010a1 Roll vulkan-deps from cbab637962d0 to c493c6112021 (10 revisions)
https://chromium.googlesource.com/vulkan-deps.git/+log/cbab637962d0..c493c6112021

2021-01-07 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll SPIRV-Cross from 7b7a21c4058c to 234c65c0f32c (3 revisions)
2021-01-07 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll glslang from 480f6039e072 to 3de5cfe50ede (1 revision)
2021-01-06 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll Vulkan-Tools from 4cc0932495ec to a7825740f316 (3 revisions)
2021-01-06 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll SPIRV-Tools from 4ed1f4fce9e7 to aa005e8bd435 (1 revision)
2021-01-06 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll SPIRV-Tools from af3a3d481f6e to 4ed1f4fce9e7 (1 revision)
2021-01-06 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll SPIRV-Tools from 94d1a80159e3 to af3a3d481f6e (1 revision)
2021-01-06 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll Vulkan-ValidationLayers from 98382948dfea to cc435b55410a (2 revisions)
2021-01-06 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll glslang from f77085c307fc to 480f6039e072 (1 revision)
2021-01-06 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll SPIRV-Tools from 6d05ed8410b4 to 94d1a80159e3 (1 revision)
2021-01-06 chromium-autoroll@skia-public.iam.gserviceaccount.com Roll SPIRV-Tools from 37c03859de9e to 6d05ed8410b4 (1 revision)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vulkan-deps-angle-autoroll
Please CC ianelliott@google.com 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/+doc/master/autoroll/README.md

Bug: None
Tbr: ianelliott@google.com
Change-Id: Ibff53e4a69b1a9291679f352a5fe6e7e8b70de50
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2613796
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-01-07 12:11:51 +00:00
angle-autoroll aa5457dd61 Roll SwiftShader from b9e179f1f239 to 7b2f93895418 (1 revision)
https://swiftshader.googlesource.com/SwiftShader.git/+log/b9e179f1f239..7b2f93895418

2021-01-07 capn@google.com Fix implicit inexact conversion

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 ianelliott@google.com 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/+doc/master/autoroll/README.md

Bug: None
Tbr: ianelliott@google.com
Change-Id: I77ee81cc4f9a8828ef46bf77113fcd6da008dd39
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2613890
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-01-07 11:59:41 +00:00
angle-autoroll 35b6156bd1 Roll Chromium from 38610c881952 to 730c6584bcc6 (444 revisions)
38610c8819..730c6584bc

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/chromium-angle-autoroll
Please CC ianelliott@google.com 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/+doc/master/autoroll/README.md

Changed dependencies
* build: 65cd1b9efa..e4c5e3e1a0
* testing: 3c84fe5c3f..d17dcf3607
* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..ae206b8b8d
* tools/mb: 77a111142a..f8570240b7
* tools/skia_goldctl/linux: CQ5a33Wu9Sm6bRTrd26RFsJVr42IoKD4Ediyp7eyuwwC..C_u9-R-I-yQyomb3Y-XIH8Ad3Ya4ZWi2MpPiFTtfHz4C
* tools/skia_goldctl/mac: AXBg8ZzAzlIdv0U_KR8dr92w1szmAp-MB0Z9ZYBmFy4C..H_4GgcW8CtnxDnWd7RX17C39CAYzfHUaFR6drL3wWAcC
* tools/skia_goldctl/win: slJNuZyzBI9lNI9Uje1a2fiVtubv8LEBgUZLFdHZjssC..FzQDQOcAASIc0LaD9YBjqH2JPm0HbYCE2x0WXw2xpz0C
No update to Clang.

Bug: angleproject:2926,angleproject:2939,angleproject:3481,angleproject:3741,angleproject:4286,angleproject:4539,angleproject:4569,angleproject:4846
Tbr: ianelliott@google.com
Change-Id: Id567e30b16d04e96c869ad3058b03829a9035458
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2614267
Reviewed-by: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: angle-autoroll <angle-autoroll@skia-public.iam.gserviceaccount.com>
2021-01-07 09:10:02 +00:00
Shahbaz Youssefi e2a8a69ade Vulkan: Move xfb emulation offset calculation to translator
A new function is added by the translator to calculate the transform
feedback offsets in the emulation path.  This function makes the
generated code for transform feedback smaller.

Bug: angleproject:3606
Change-Id: I01460f907e20e2887cb720bddad96697fdcb0cf3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2607492
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2021-01-07 08:04:41 +00:00
Shahbaz Youssefi 07d619cb10 Vulkan: Fix missing xfb buffer rebind on new command buffer
When a command buffer is ended, bindings are lost.  This adds a dirty
bit to `mNewGraphicsCommandBufferDirtyBits` to make sure transform
feedback buffers are bound again on the new command buffer.

Bug: angleproject:5428
Change-Id: I7733c93b1eb5d33a77cbee231a83199be950e19f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2611552
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2021-01-07 08:01:01 +00:00
Shahbaz Youssefi 5e28054567 Move RegenerateStructNames AST transformation to gl/
This AST transformation is used by the chromium validating command
decoder on Linux/AMD/GL as well as MacOS.

Bug: chromium:1161513
Change-Id: I67e40215ae5576819ba5a58987ceb1776c86c731
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2613195
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
2021-01-07 05:48:21 +00:00
Shahbaz Youssefi ca94d1da85 Vulkan: Refactor generated code in xfb emulation path
The index expression was regenerated for every component written to the
output.  This change refactors the generated code such that common
values are calculated once.

This is in preparation for moving some of this code to the translator
and reducing the amount of code generated at link time.

Bug: angleproject:3606
Change-Id: Ib180d245218f8f6f18c57c0ea092e8c45cbffd1a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2607490
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
2021-01-07 04:57:41 +00:00
Yuly Novikov 46d3f02acf Suppress dEQP.KHR_GLES31/core_vertex_attrib_binding_basicinputcase5
on Vulkan Pixel2 and SwiftShader.

Ignore device and vendor in test config
if we are running on SwiftShader.

Bug: angleproject:5500
Change-Id: Ib07240dfe1c2ae1d6d081ffa389d041d97b22b36
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2611309
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Ian Elliott <ianelliott@google.com>
Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
2021-01-06 23:30:37 +00:00
James Darpinian ebf0070383 angle_end2end_tests passes on iOS!
Miscellaneous test skips and fixes for iOS.

Bug: angleproject:5417
Bug: angleproject:5491
Change-Id: Id0785e6243949fc756e4d7923dbbe77a411052f3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2606656
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Kenneth Russell <kbr@chromium.org>
Commit-Queue: James Darpinian <jdarpinian@chromium.org>
2021-01-06 23:08:43 +00:00
Shahbaz Youssefi 2762641a3a Use is_apple instead of is_mac and is_ios everywhere
Bug: chromium:1161513
Change-Id: Id7d582f127f4b79ea6fc5b8ad39fff768c45f477
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2611312
Reviewed-by: James Darpinian <jdarpinian@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Commit-Queue: Shahbaz Youssefi <syoussefi@chromium.org>
2021-01-06 21:28:50 +00:00
Jamie Madill 1d6329b311 Update auto-roller docs with vulkan-deps repo.
Bug: angleproject:5390
Change-Id: If5edba51b0fdbaee36e0ab31a176f809b1ace38a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2613196
Reviewed-by: Ian Elliott <ianelliott@google.com>
Reviewed-by: Yuly Novikov <ynovikov@chromium.org>
Commit-Queue: Jamie Madill <jmadill@chromium.org>
2021-01-06 21:01:10 +00:00
Tim Van Patten 56479b065c Tests: Add FIFA Mobile trace
Test: angle_perftests --gtest_filter=TracePerfTest.Run/*fifa_mobile*
Bug: angleproject:4048
Change-Id: I5cc731ada3ddd9adcb247d7c6f8cf5d823bdc2a3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2600098
Reviewed-by: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Tim Van Patten <timvp@google.com>
2021-01-06 20:19:59 +00:00
Jonah Ryan-Davis 956a358d18 GL: Add function pointers for EXT/NV_framebuffer_blit
Allow the GL backend to call BlitFramebuffer through these
extensions.

Bug: angleproject:5474
Change-Id: Ic19b0535056c3e2b098dedc60e2eb8da5f862433
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2602702
Commit-Queue: Jonah Ryan-Davis <jonahr@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2021-01-06 20:14:49 +00:00
Jamie Madill dc2cf6fc37 Roll third_party/vulkan-deps/ b08eace32..cbab63796 (17 commits; 1 trivial rolls)
https://chromium.googlesource.com/vulkan-deps/+log/b08eace32e9c..cbab637962d0

$ git log b08eace32..cbab63796 --date=short --no-merges --format='%ad %ae %s'
2021-01-06 chromium-autoroll Roll SPIRV-Tools from d630e5f8c10c to 37c03859de9e (1 revision)
2021-01-06 chromium-autoroll Roll Vulkan-ValidationLayers from 2468aa9630c2 to 98382948dfea (1 revision)
2021-01-06 chromium-autoroll Roll SPIRV-Tools from 1bb80d2778a3 to d630e5f8c10c (1 revision)
2021-01-06 chromium-autoroll Roll glslang from 9325cc013e3d to f77085c307fc (1 revision)
2021-01-05 chromium-autoroll Roll Vulkan-ValidationLayers from 57255a663ed9 to 2468aa9630c2 (1 revision)
2021-01-05 chromium-autoroll Roll Vulkan-Loader from 1f0c7868a438 to 9ba835885ffe (1 revision)
2021-01-05 chromium-autoroll Roll Vulkan-ValidationLayers from 56a96658b750 to 57255a663ed9 (3 revisions)
2021-01-05 chromium-autoroll Roll Vulkan-Loader from 294480cb7f3e to 1f0c7868a438 (1 revision)
2021-01-05 chromium-autoroll Roll Vulkan-Tools from 7554321b88ae to 4cc0932495ec (2 revisions)
2021-01-05 chromium-autoroll Roll Vulkan-Loader from 66a23ac8c566 to 294480cb7f3e (1 revision)
2021-01-05 chromium-autoroll Roll Vulkan-Headers from 85470b32ad5d to 9efc4a631161 (1 revision)
2021-01-05 chromium-autoroll Roll Vulkan-ValidationLayers from aa076dae88e2 to 56a96658b750 (25 revisions)
2021-01-05 chromium-autoroll Roll glslang from f426f652299d to 9325cc013e3d (1 revision)
2021-01-05 chromium-autoroll Roll SPIRV-Cross from e50f7d1ce8e1 to 7b7a21c4058c (3 revisions)
2021-01-05 chromium-autoroll Roll SPIRV-Tools from 17ffa89097b2 to 1bb80d2778a3 (1 revision)
2020-12-21 jmadill Rolling 8 dependencies

Created with:
  roll-dep third_party/vulkan-deps

Bug: angleproject:5390
Change-Id: I6f4a499099211e8990ed038984f41bc5f881c71f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2601340
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Jamie Madill <jmadill@chromium.org>
2021-01-06 18:40:58 +00:00
Jamie Madill d9669322c5 Remove "init" from VaryingPacking.
Instead we can pass the pack mode and size to the collectAndPack
method. This cleans up the interface and also allows us to merge
two separate code blocks in Program and ProgramPipeline.

Bug: angleproject:5496
Change-Id: I390b5d2e8a3b033374ccc5a250597be1f03dec96
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2606531
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
2021-01-06 18:10:47 +00:00
Jamie Madill d33ffb22fa Organize VaryingPacking methods.
This clarifies the difference between "collect" and "pack" methods.
Previously the naming was overlapping between the two. Also makes
the "packUserVaryings" method private.

Refactoring change only. Will enable further improvements for
capturing varyings with multiple shader stages.

Bug: angleproject:5496
Change-Id: I854590ceab39f3a0e7a785516e0d1fd44e4ccc98
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2606529
Commit-Queue: Jamie Madill <jmadill@chromium.org>
Reviewed-by: Tim Van Patten <timvp@google.com>
Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
2021-01-06 18:08:17 +00:00