Antonio Maiorano
29aa613dcf
tint: const eval of comparison operations
...
Change-Id: Iec6e78dbe00baaed8c90e709447a20f6c8ac9fb0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101304
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-09-07 19:34:44 +00:00
Dawn Autoroller
1d2d6272dd
Roll ANGLE from 1d04539fc753 to 76a74d85a964 (6 revisions)
...
1d04539fc7..76a74d85a9
2022-09-07 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from be37d7fbc94f to 7c6c7b79af8c (1 revision)
2022-09-07 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from e3fa08b13e32 to c8b855ee4e1d (8 revisions)
2022-09-07 penghuang@chromium.org Revert "Not recreate Framebuffer for eglMakeCurrent() call"
2022-09-07 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from 1c4ee1412503 to e7211d52993a (477 revisions)
2022-09-07 yuxinhu@google.com Fix the SYNC-HAZARD error message format
2022-09-07 syoussefi@chromium.org Vulkan: Use VK_EXT_pipeline_robustness
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC shrekshao@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: shrekshao@google.com
Change-Id: Ic1eb6ec9ecc266b0dffb03c689bfc59e47442435
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101523
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-09-07 17:00:54 +00:00
dawn-autoroll
00e32a612a
Roll vulkan-deps from c8b855ee4e1d to 79b64317c3f2 (1 revision)
...
https://chromium.googlesource.com/vulkan-deps.git/+log/c8b855ee4e1d..79b64317c3f2
Changed dependencies:
* spirv-tools: 5f45f793ae..934a059787
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-dawn-autoroll
Please CC shrekshao@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: shrekshao@google.com
Change-Id: I530c5cbad131f12429f16ae4a84d7d114202aab0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101524
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-07 16:50:24 +00:00
Brandon Jones
567f06849b
Add the "internal" error type
...
Currently only raised if Tint produces an Internal Compiler Error
(ICE). These were previously surfaced as validation errors.
Bug: dawn:1531
Change-Id: I9a10549b3e0bc2cbf962c99d157aa6dbe8032a3c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101500
Reviewed-by: Austin Eng <enga@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
2022-09-07 14:14:14 +00:00
Dawn Autoroller
d137757a63
Roll SwiftShader from be37d7fbc94f to 7c6c7b79af8c (1 revision)
...
https://swiftshader.googlesource.com/SwiftShader.git/+log/be37d7fbc94f..7c6c7b79af8c
2022-09-07 sugoi@google.com OpSampledImage propagation fix
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC shrekshao@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: shrekshao@google.com
Change-Id: I27ebc2022d64924235a8f9a46d124ea47578d7c0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101522
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-09-07 13:46:34 +00:00
Ben Clayton
eeda18d55e
tint::transform::SingleEntryPoint: Preserve global 'const's
...
These can be used in all sorts of places which are not tracked by sem::Function::TransitivelyReferencedGlobals().
As they're not emitted as variables by any backend, just preserve them.
Fixed: tint:1598
Change-Id: I2696486cb2ffe8408bd5dd3090d7d600ca1d170f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101481
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Auto-Submit: Ben Clayton <bclayton@google.com>
2022-09-07 13:05:24 +00:00
dawn-autoroll
688c6dc808
Roll vulkan-deps from 68fbfeef41d3 to c8b855ee4e1d (7 revisions)
...
https://chromium.googlesource.com/vulkan-deps.git/+log/68fbfeef41d3..c8b855ee4e1d
Changed dependencies:
* glslang: a53aa3e94f..7757cbebe4
* vulkan-loader: fdfdef6d1b..0a783b5d3e
* vulkan-tools: 1ef7bc1547..d9f4641f90
* vulkan-validation-layers: 25c1a732b6..e12480cb2a
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-dawn-autoroll
Please CC shrekshao@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: shrekshao@google.com
Change-Id: I6844ea6dd2306a84bae73d5474105539d6ae7c88
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101521
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-09-07 03:04:53 +00:00
Dawn Autoroller
d03a747110
Roll ANGLE from c2ad74e4e519 to 1d04539fc753 (11 revisions)
...
c2ad74e4e5..1d04539fc7
2022-09-07 syoussefi@chromium.org Fix xfb tests rendering points
2022-09-07 syoussefi@chromium.org Vulkan: Make robustness affect all of share group
2022-09-06 yuxinhu@google.com Replace underscores with dashes in SYNC-HAZARD messages
2022-09-06 gman@chromium.org Metal: Preemptively Start Provoking Vertex CmdBuffer on AMD
2022-09-06 syoussefi@chromium.org Vulkan: Use VK_EXT_multisampled_render_to_single_sampled
2022-09-06 ianelliott@google.com Revert "Extra buffer logging/checking on Android Cuttlefish"
2022-09-06 gman@chromium.org Metal: Stop pre-creating the Provoking Vertex CmdBuffer
2022-09-06 romanl@google.com Use the same build_info in all functions and cache nodes.
2022-09-06 penghuang@chromium.org Not recreate Framebuffer for eglMakeCurrent() call
2022-09-06 cnorthrop@google.com FrameCapture: Fix GLES1 vertex array state
2022-09-06 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from c4e128e05c38 to e3fa08b13e32 (12 revisions)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC shrekshao@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: shrekshao@google.com
Change-Id: I6a153c0287acb795e7e3eeae3efcde8b634b098d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101520
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-07 02:57:53 +00:00
Jiawei Shao
72c042db41
Disable toggle D3D12DontSetClearValueOnDepthTextureCreation on Intel Gen11
...
This patch disables Toggle::D3D12DontSetClearValueOnDepthTextureCreation
on Intel Gen11 GPUs as we find it not needed after further tests.
Bug: dawn:1487
Test: dawn_end2end_tests
Change-Id: I2c378568328b758e83484cff514073b052cf5004
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101300
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Jiawei Shao <jiawei.shao@intel.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2022-09-07 00:57:23 +00:00
Brandon Jones
8f3d7711d9
Add Vulkan extensions for AHardwareBuffer support
...
Just adds the appropriate extensions for AHardwareBuffer support on
Android doesn't yet attempt to expose any.
Bug: dawn:286
Change-Id: I1345d98044bbcaf91cb31235bffbdc28a163c6e0
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101440
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Brandon Jones <bajones@chromium.org>
2022-09-06 22:40:13 +00:00
Antonio Maiorano
11e2571aed
tint: Minor improvements
...
I forgot to fold this into crbug.com/tint/100861
Bug: tint:1581
Change-Id: I8f8faef7765b525316e2c927504cce88a93d24ee
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101303
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-09-06 18:40:33 +00:00
Austin Eng
185fd3deca
Add go tests to presubmit
...
Change-Id: I2d56a463cecf0b1bcb96c51ae134c6fa07d87b21
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100560
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Austin Eng <enga@chromium.org>
2022-09-06 18:20:33 +00:00
Ben Clayton
8b4ed5093e
tint: Fix / remove tests that access OOB
...
With constant indices.
Also fix the SPIR-V builder tests that did something completely different from the test name / comment.
Bug: tint:1665
Change-Id: I83537cf6e44ffcb14d54de52649d1f9da1ef7e1b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101182
Commit-Queue: Ben Clayton <bclayton@google.com>
Reviewed-by: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-06 17:43:23 +00:00
Brandon Jones
2b0fce7071
Revert "Implement maxBindingsPerBindGroup limit"
...
This reverts commit 4d67a883b6
.
Reason for revert: Seems to be causing MSAN issues with the Dawn/Chromium roll?
Original change's description:
> Implement maxBindingsPerBindGroup limit
>
> Bug: dawn:1523
> Change-Id: Ifcf83f6836a5d7ed447080ccb033e4163970432e
> Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100706
> Reviewed-by: Kai Ninomiya <kainino@chromium.org>
> Reviewed-by: Austin Eng <enga@chromium.org>
> Kokoro: Kokoro <noreply+kokoro@google.com>
> Commit-Queue: Brandon Jones <bajones@chromium.org>
# Not skipping CQ checks because original CL landed > 1 day ago.
Bug: dawn:1523
Change-Id: I757457089be6af18dfce7f64c0da5d310351cece
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101401
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Reviewed-by: Shrek Shao <shrekshao@google.com>
Commit-Queue: Brandon Jones <bajones@chromium.org>
2022-09-06 17:38:03 +00:00
dan sinclair
72340d00ce
Add location into `sem::Parameter`.
...
This CL adds a `location` value into the `Parameter` sem object.
This will be set if the parameter has an `@location` attribute
applied.
Bug: tint:1633
Change-Id: I55cb5cbda951f70d071ebe1400865b63af1fb20a
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101065
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-09-06 16:05:54 +00:00
dan sinclair
766a458f53
Store location value into `sem::Function`.
...
This CL adds an optional location value to the `sem::Function`
which will store the resolved `@location` value.
Bug: tint:1633
Change-Id: I95130858d8a1cecae1389be74120da29fec2b448
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101063
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-06 16:00:13 +00:00
Ben Clayton
c8278e5cbd
tint/transform: Fix hasher return type
...
These should return `size_t`, not `uint64_t`.
Fixes x86 build.
Change-Id: I83125afc3bce9a9dab7d53c4818f9de3daf4cfb2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101320
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Auto-Submit: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-06 14:53:33 +00:00
dan sinclair
97c9e0ba9f
Store struct member location into the sem.
...
This CL adds the `@location` of a Struct Member into the
`StructMember` sem object as a `std::optional<uint32_t>`. The
resolver then populates the location value if an attribute is
found during resolution.
This will provide a place to store the evaluated expression value
for a location in the future.
Bug: tint:1633
Change-Id: I6f696968dddf95af1f933d96cdb4a7630badac2e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101062
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
2022-09-06 14:41:16 +00:00
dawn-autoroll
8dc97a8e3d
Roll vulkan-deps from e3fa08b13e32 to 68fbfeef41d3 (1 revision)
...
https://chromium.googlesource.com/vulkan-deps.git/+log/e3fa08b13e32..68fbfeef41d3
Changed dependencies:
* vulkan-validation-layers: b50285d33d..25c1a732b6
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-dawn-autoroll
Please CC shrekshao@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: shrekshao@google.com
Change-Id: I427b9915ea97f137b82f079b02602549c8274da4
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101400
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-06 14:10:53 +00:00
Dawn Autoroller
9f1a79ab34
Roll ANGLE from 1b39c610c4b9 to c2ad74e4e519 (1 revision)
...
1b39c610c4..c2ad74e4e5
2022-09-06 angle-autoroll@skia-public.iam.gserviceaccount.com Roll Chromium from c709ec453fcb to 1c4ee1412503 (1424 revisions)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC shrekshao@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: shrekshao@google.com
Change-Id: I9ebf1f701bebcecc637bbf044fd82d1c5d7e1aa9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101380
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-06 14:01:03 +00:00
dawn-autoroll
90c66e4747
Roll vulkan-deps from afc444a0f49a to e3fa08b13e32 (1 revision)
...
https://chromium.googlesource.com/vulkan-deps.git/+log/afc444a0f49a..e3fa08b13e32
Changed dependencies:
* vulkan-validation-layers: 360165e0ef..b50285d33d
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-dawn-autoroll
Please CC shrekshao@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: shrekshao@google.com
Change-Id: If9533987ede9e72d39eda660cc03d1aa7e6af84d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101340
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-09-06 01:14:52 +00:00
Ben Clayton
d7d71889d8
tint: Add FriendlyName() to Program
...
Use this instead of ProgramBuilder::FriendlyName() in the Std140 transform.
If this were called, we'd ICE that the program ids wouldn't match the type, as the type belongs to the source program, not the target program builder.
Change-Id: I29066b18789493c231a89f7ee1dbc24d7e66d33f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101180
Auto-Submit: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
2022-09-05 20:51:23 +00:00
dawn-autoroll
8a25fd2002
Roll vulkan-deps from ad7395b46266 to afc444a0f49a (1 revision)
...
https://chromium.googlesource.com/vulkan-deps.git/+log/ad7395b46266..afc444a0f49a
Changed dependencies:
* spirv-cross: 9fcf62784b..210a800130
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-dawn-autoroll
Please CC bajones@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: bajones@google.com
Change-Id: I44180854426c9b7f8eb9af1382b1274b6b3828b2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101302
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-05 12:21:02 +00:00
Dawn Autoroller
4a87b614b7
Roll ANGLE from ba721efd696f to 1b39c610c4b9 (1 revision)
...
ba721efd69..1b39c610c4
2022-09-05 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from f0db6df92f88 to be37d7fbc94f (6 revisions)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC bajones@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: bajones@google.com
Change-Id: I031c8b40b8f5a3f7898d0a8e58341725755f4ca7
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101301
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-05 12:09:42 +00:00
Ben Clayton
0cd830c571
tint: Fix type is_signed_integer helpers which were ignoring abstracts
...
Abstracts are now considered scalars, so these should be returning true for abstract-integers.
Change-Id: If15f87932d412663d2aef4f9737675a8ece9e551
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101181
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-09-05 10:43:03 +00:00
Antonio Maiorano
3740ac6092
tint: implement const eval of binary divide
...
Bug: tint:1581
Change-Id: I72f7f34046086ad00d3bf8f21d67db831903d60b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100861
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-09-03 22:42:51 +00:00
Antonio Maiorano
679cf4f351
tint: HLSL and GLSL backends now emit 0 for inf and nan
...
Bug: tint:1581
Change-Id: I62dcde177c3b82408cd8d737526d10d481b48a17
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101240
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-09-03 21:43:01 +00:00
Antonio Maiorano
1741f4443e
tint: add CheckedDiv for abstract numbers
...
Bug: tint:1581
Change-Id: Iafed168a916ac3a1062bcf53299e8ff17fc389fb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101041
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-09-03 21:31:23 +00:00
dawn-autoroll
5dcdf5d910
Roll vulkan-deps from 16d6c09db632 to ad7395b46266 (9 revisions)
...
https://chromium.googlesource.com/vulkan-deps.git/+log/16d6c09db632..ad7395b46266
Changed dependencies:
* glslang: 69ae9e7460..a53aa3e94f
* spirv-tools: 4c456f7da6..5f45f793ae
* vulkan-loader: efe6aa4f3f..fdfdef6d1b
* vulkan-tools: 088cfe8047..1ef7bc1547
* vulkan-validation-layers: 0a39833305..360165e0ef
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-dawn-autoroll
Please CC bajones@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: bajones@google.com
Change-Id: I4f8dc664d21fd9784a4e246730c505b77ca31731
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101260
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-09-03 07:11:00 +00:00
Dawn Autoroller
e6b9f8858e
Roll ANGLE from 2e142b7f08e8 to ba721efd696f (3 revisions)
...
2e142b7f08..ba721efd69
2022-09-02 syoussefi@chromium.org Vulkan: FIx Android AHB format mapping
2022-09-02 eddiehatfield@google.com Infra: Enable angle_deqp_gl46_tests on SwiftShader
2022-09-02 natsu@google.com Tests external image uploads with colorspace
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC bajones@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: bajones@google.com
Change-Id: Ifb3c0ef74dd6bc161f7eacb9b02552c7e046005f
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101261
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-09-03 06:41:50 +00:00
Dawn Autoroller
6046ef6ef9
Roll SwiftShader from b1bf623ee5ad to be37d7fbc94f (2 revisions)
...
https://swiftshader.googlesource.com/SwiftShader.git/+log/b1bf623ee5ad..be37d7fbc94f
2022-09-02 sugoi@google.com Fix dynamic rendering layer clear
2022-09-02 swiftshader.regress@gmail.com Regres: Update test lists @ b1bf623e
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC bajones@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: bajones@google.com
Change-Id: I26c75929ae275d3b09b5544ace7ae0eec459e7a3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101201
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-09-03 04:05:50 +00:00
Robert Stewart
89dd52881c
spirv-reader: Fix for SelectUsingReferenceVariable
...
Started from https://dawn-review.googlesource.com/c/dawn/+/99220/2
Fixed: tint:1650
Change-Id: Ic5e097135a54c68e2cb9736198082179b522a4ba
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101069
Commit-Queue: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2022-09-03 00:10:30 +00:00
Antonio Maiorano
8478dfca56
tint: improve error message for const eval operator overflow
...
Bug: tint:1581
Change-Id: I112c7981d6b1998dd8133d1f80409fdc12a16a21
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101042
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Antonio Maiorano <amaiorano@google.com>
2022-09-02 23:01:00 +00:00
Stephen White
863d9edf59
GLSL: Change Add[Spirv]BlockAttribute to support GLSL
...
Modify the AddSpirvBlockAttribute transform to fix top-level structure
access of uniform, storage and push-constant buffers for use in the
GLSL backend. The small change to the transform makes the transform
wrap host-sharable buffers, if they're also used as a
non-host-sharable structure. Also rename the transform to
AddBlockAttrbibute in order to reflect its wider applicability.
Change-Id: Ib2bf4ebf6bce72790791dbae9387032be765e4b9
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101061
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Stephen White <senorblanco@chromium.org>
2022-09-02 19:19:10 +00:00
David Neto
822de46c74
spirv-reader: fix image write texel conversion for scalar integer cases
...
Started with https://dawn-review.git.corp.google.com/c/dawn/+/98980 ,
then took ownership to add tests and land.
Change-Id: I8da4d5e626be3a5cadc6addb36cdbe00a87b8a3c
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101064
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Auto-Submit: David Neto <dneto@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
2022-09-02 18:09:30 +00:00
Dawn Autoroller
5b0824787a
Roll ANGLE from e8b6cd217495 to 2e142b7f08e8 (3 revisions)
...
e8b6cd2174..2e142b7f08
2022-09-02 angle-autoroll@skia-public.iam.gserviceaccount.com Roll vulkan-deps from 40446ec62941 to c4e128e05c38 (14 revisions)
2022-09-02 abdolrashidi@google.com Fix adding imageless FBO to enabled extensions
2022-09-02 cclao@google.com OpenGL: Pass EGL_GL_COLORSPACE_KHR to OGL backend
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC bajones@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: bajones@google.com
Change-Id: I05b0e40201b9bb137b12b9ee3f9f2d63dae8cc2d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101200
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-02 17:28:41 +00:00
Robert Stewart
ece807852d
spirv-reader: Fix texel type confusion in loop
...
Started from https://dawn-review.googlesource.com/c/dawn/+/99001
Fixed: tint:1642
Change-Id: Ia5d7e45dc3de5de8303a2f161c9bf365227f9b5e
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101068
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-02 16:48:32 +00:00
dawn-autoroll
434d6edd2b
Roll vulkan-deps from c4e128e05c38 to 16d6c09db632 (1 revision)
...
https://chromium.googlesource.com/vulkan-deps.git/+log/c4e128e05c38..16d6c09db632
Changed dependencies:
* spirv-cross: c93ee9261e..9fcf62784b
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-dawn-autoroll
Please CC bajones@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: bajones@google.com
Change-Id: I0668ad9e4a7684e8fe9f1d3950b0a136afcca391
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101023
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-02 16:34:10 +00:00
Stephen White
ae4d073b49
Revert "Skip tests about writeonly storage texture In render pass on ANGLE"
...
This reverts commit d144805688
.
Reason for revert: offending ANGLE problem should be fixed now
ANGLE bug was fixed here: https://chromium-review.googlesource.com/c/angle/angle/+/3790473
Original change's description:
> Skip tests about writeonly storage texture In render pass on ANGLE
>
> StorageTextureTests.WriteonlyStorageTextureInFragmentShader and
> StorageTextureZeroInitTests.
> WriteonlyStorageTextureClearsToZeroInRenderPass starts to fail on
> the bots after the latest roll of ANGLE, so we have to temporarily
> suppress them.
>
> Bug: dawn:1503
> Test: dawn_end2end_tests
> Change-Id: Id8abf7c0a5bd30e5de12c838f871e1ab896ab4fd
> Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/97127
> Reviewed-by: Ben Clayton <bclayton@google.com>
> Kokoro: Kokoro <noreply+kokoro@google.com>
> Commit-Queue: Ben Clayton <bclayton@google.com>
# Not skipping CQ checks because original CL landed > 1 day ago.
Bug: dawn:1503
Change-Id: I339eb503b2f8156899b7db3358c9948d58de308d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101066
Reviewed-by: Stephen White <senorblanco@chromium.org>
Reviewed-by: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Ben Clayton <bclayton@google.com>
2022-09-02 14:05:20 +00:00
Ben Clayton
8b30ca3efa
tint/transform: Fix FoldTrivialSingleUseLet for abstracts
...
If the let initializer was an abstract numeric that was implicitly materialized to a concrete type, then we could inlining the initializer into the use without the implicit materialization cast.
This could lead to validation errors, and subtly different results in the program.
In this situation, add an explicit cast to keep the types the same before and after inlining.
Fixed: tint:1664
Change-Id: Icca980cf8af74673906ad6c681a6b07d0c1932fd
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101160
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-02 13:58:00 +00:00
Robert Stewart
188be384f7
spirv-reader: UnwrapRef on image coords
...
The coordinate value may have been hoisted into a 'var'.
So when inspecting the coordinate type, UnwrapRef first.
Fixed: tint:1646
Change-Id: I713018e1dc37d820fdda5694fa214db84cad8ac3
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101067
Kokoro: David Neto <dneto@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
Commit-Queue: David Neto <dneto@google.com>
Auto-Submit: David Neto <dneto@google.com>
2022-09-02 13:52:25 +00:00
Ben Clayton
648bd7b4be
tint: Add TINT_REFLECT() & ForeachField()
...
This uses template and macro magic to reflect the fields of a class.
Dawn:
* Reflect the fields of the types that are used by Dawn's stream::Stream<T> specializations, and use tint::ForeachField() to call StreamIn().
Fuzzers:
* Replace tint::fuzzers::DataBuilder::BuildImpl<T> specializations with the new reflection system.
* static_assert that the type is either POD or reflected. Add a specialization for std::optional which was missing.
Move tint::transform::BindingPoints into MultiplanarExternalTexture, as this is only used by MultiplanarExternalTexture.
All this reduces fragility of the struct declarations slipping out of sync with the uses.
Bug: tint:1640
Change-Id: I08729c1c356f1b427e85983efe3c2678fc2ce717
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101001
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
2022-09-02 11:40:19 +00:00
Dawn Autoroller
bd6bcf1e0c
Roll SwiftShader from 78cfdcddd8c7 to b1bf623ee5ad (2 revisions)
...
https://swiftshader.googlesource.com/SwiftShader.git/+log/78cfdcddd8c7..b1bf623ee5ad
2022-09-01 capn@google.com Add a reference implementation for frexp()
2022-09-01 swiftshader.regress@gmail.com Regres: Update test lists @ f0db6df9
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC bajones@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: bajones@google.com
Change-Id: I6b173702c22d1881a909d5b4dd37015bc5cada75
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101022
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-09-02 07:12:50 +00:00
Dawn Autoroller
5ef43e5f1f
Roll ANGLE from cec499f28957 to e8b6cd217495 (11 revisions)
...
cec499f289..e8b6cd2174
2022-09-01 jonahr@google.com Skip VulkanPerformanceCounterTest.EndXfbAfterRenderPassClosed
2022-09-01 jonahr@google.com Skip EmulateCopyTexImage2DFromRenderbuffers tests on Win/Intel
2022-09-01 cclao@google.com Vulkan: Dont skip texture upload if only color space differs
2022-09-01 jmadill@chromium.org Frame Capture: Remove MEC active variable.
2022-09-01 jmadill@chromium.org Move entry point classifier helpers into angle_common.
2022-09-01 romanl@google.com Revert "EndXfbAfterRenderPassClosed expectation (0,0) -> (w/2,h/2)"
2022-09-01 syoussefi@chromium.org Map RGBX AHB back to GL_RGB8 for OpenGL
2022-09-01 romanl@google.com EndXfbAfterRenderPassClosed expectation (0,0) -> (w/2,h/2)
2022-09-01 yuxinhu@google.com Vulkan: Fix Framebuffer Fetch Test Failure
2022-09-01 chris@rive.app Add noncoherent PLS tests
2022-09-01 angle-autoroll@skia-public.iam.gserviceaccount.com Roll SwiftShader from ecba967ea71f to f0db6df92f88 (5 revisions)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/angle-dawn-autoroll
Please CC bajones@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: bajones@google.com
Change-Id: I90935d488782c989b702141f50e33c1da0b86644
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101021
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-09-02 03:05:30 +00:00
dawn-autoroll
e6bb20d3ab
Roll vulkan-deps from 1d36249fb716 to c4e128e05c38 (15 revisions)
...
https://chromium.googlesource.com/vulkan-deps.git/+log/1d36249fb716..c4e128e05c38
Changed dependencies:
* spirv-headers: 93754d52d6..87d5b782be
* spirv-tools: b5d1040b94..4c456f7da6
* vulkan-headers: 715673702f..9f4c61a314
* vulkan-loader: 095a7bf60b..efe6aa4f3f
* vulkan-tools: 77cf67df07..088cfe8047
* vulkan-validation-layers: d8c7808f87..0a39833305
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-dawn-autoroll
Please CC bajones@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: bajones@google.com
Change-Id: I1a0403a60b421805ed8d8cb5dcd81d949413a2e6
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101122
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
2022-09-02 02:13:09 +00:00
Ben Clayton
657e61d43d
tint: Add and use new Std140 transform
...
This transform breaks up matNx2<f32> matrices used in uniform buffers
into column vectors, which fixes std140 layout rules.
Used by the SPIR-V and GLSL backends.
Re-enable tests that were disabled for these cases.
Bug: tint:1632
Change-Id: I596d016582b4189a0b413d762b3e7eabd3504b22
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100907
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
2022-09-01 22:12:19 +00:00
dan sinclair
644d23b3f8
Update sample code WGSL.
...
This CL fixes up the sample code to use ',' instead of ';' for
struct members. This allows the Animometer and ComputeBoids samples
to execute again after the Tint change.
Change-Id: I96fae4fe3b96b0a6cc596edfd73013f2aa6ef0da
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101060
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Auto-Submit: Dan Sinclair <dsinclair@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
2022-09-01 18:19:19 +00:00
Dawn Autoroller
efa5d3e3d3
Roll SwiftShader from f0db6df92f88 to 78cfdcddd8c7 (2 revisions)
...
https://swiftshader.googlesource.com/SwiftShader.git/+log/f0db6df92f88..78cfdcddd8c7
2022-09-01 sugoi@google.com Remove the "--cached" flag from clang formatting
2022-09-01 sugoi@google.com Allow ExecutionModeStencilRefReplacingEXT execution mode
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/swiftshader-dawn-autoroll
Please CC bajones@google.com on the revert to ensure that a human
is aware of the problem.
To file a bug in SwiftShader: https://bugs.chromium.org/p/swiftshader/issues/entry
To file a bug in Dawn: https://bugs.chromium.org/p/dawn/issues/entry
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/main/autoroll/README.md
Bug: None
Tbr: bajones@google.com
Change-Id: Ibde5b0e07d1347938278179e24baaf85e98f2f38
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101020
Commit-Queue: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Bot-Commit: Dawn Autoroller <dawn-autoroll@skia-public.iam.gserviceaccount.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-01 17:59:09 +00:00
Ben Clayton
655db07022
tint/sem: Rename sem::Manager to TypeManager
...
This used to live in a `type` namespace, and wasn't prefixed when types were moved to sem.
Change-Id: Ic7a08c2fb40aff034247524c755d9f66157e4da2
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/101000
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
2022-09-01 17:35:39 +00:00
Ben Clayton
ad22c3e7ab
Update doxygen to 1.9.5
...
The older 1.8.14 has package dependencies on things that are no longer
provided by major linux package distributions.
Change-Id: Ifd3e1911faf6635db3ea7fc346302ea19401cecb
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100900
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@chromium.org>
Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
2022-09-01 16:47:59 +00:00