Commit Graph
389 Commits
Author SHA1 Message Date
angle-autoroll d6029d65fd Roll VK-GL-CTS from 524e5bcfba33 to 41331850eb21 (39 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/524e5bcfba33..41331850eb21

2020-12-03 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.5 into vk-gl-cts/master
2020-12-03 [email protected] Shorten the ray so that it can't hit other cells
2020-12-03 [email protected] Only use AABBs for the shader record tests
2020-12-03 [email protected] Enable VK_KHR_ray_tracing_pipeline only if needed
2020-12-03 [email protected] Simplify geometry to reduce AABB precision issues
2020-12-03 [email protected] Test terminateInvocation with frag shader side effects
2020-12-03 [email protected] Fix test using protected features without creating a device with them enabled
2020-12-03 [email protected] Fix image cube array tests support checks
2020-12-03 [email protected] Use shader to calculate sample point
2020-12-03 [email protected] Add tests for VK_EXT_4444_formats
2020-12-03 [email protected] Enable random writes for storage texel buffers
2020-12-03 [email protected] Test reading primitive id from frag shader after tessellation
2020-12-03 [email protected] Add a batch of GraphicsFuzz tests
2020-12-03 [email protected] Add a batch of GraphicsFuzz coverage tests
2020-11-27 [email protected] Update AccessInstance::verifyResult() to support 64-bit types
2020-11-26 [email protected] Add dEQP-VK.pipeline.creation_cache_control.*
2020-11-26 [email protected] Add support for ABGR texture formats
2020-11-26 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
2020-11-26 [email protected] Force thread count in deferred host operations
2020-11-26 [email protected] Zero out the hit stride for miss SBT tests
2020-11-26 [email protected] Fix validation errors in terminate invocation tests
2020-11-26 [email protected] Add sliced 3D compressed texture test
2020-11-26 [email protected] Initialize resourceImgLayout before use for all code paths
2020-11-26 [email protected] ExtensionUse variable not set for 1D and 3D images
2020-11-26 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
2020-11-26 [email protected] Test vkCmdBindVertexBuffers2EXT with size and offset
2020-11-26 [email protected] Test SPIR-V switch case jumping to the merge block
2020-11-25 [email protected] Fixes for image format properties tests
2020-11-25 [email protected] Add tests for YCbCr chromaFilter linear filtering
2020-11-24 [email protected] Add ArrayStride decorations in TerminateInvocation tests
2020-11-24 [email protected] Add ray tracing extensions to list of known extensions
2020-11-24 [email protected] Merge vk-gl-cts/vk_khr_ray_tracing into vk-gl-cts/master
2020-11-24 [email protected] Update glslang, SPIR-V headers, tools
2020-11-24 [email protected] Add sparse tests shader_image_atomic_int64
2020-11-24 [email protected] Add tests shader_image_atomic_int64 robustness2
2020-11-24 [email protected] Switch spirv-binaries to Release build
2020-11-20 [email protected] Add tests shader_image_atomic_int64 robustness
2020-11-20 [email protected] Add tests for VK_EXT_shader_image_atomic_int64
2020-11-20 [email protected] Update SPIR-V Tools/Headers, glslang

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vk-gl-cts-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/+doc/master/autoroll/README.md

Bug: None
Tbr: [email protected],[email protected]
Change-Id: Ifb8d1402514edffbaccc84ee83ae288fad881c16
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2574175
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-12-04 15:18:08 +00:00
Mohan Maiya 8670d6183a Add support for GL_EXT_debug_label
Add support for labeling of GL objects for debug purposes.

Tests: DebugTest.ObjectLabelsEXT*
Bug: angleproject:5337
Change-Id: I792a27c69395ed62da70c3f619bef71776fba432
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2568711
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Mohan Maiya <[email protected]>
2020-12-03 00:49:07 +00:00
Shahbaz Youssefi abe9657839 Vulkan: I/O blocks: Support unsized arrays
Geometry shader inputs have an extra array dimension, which can be
unsized as it can be derived from the primitive type.  This change fixes
the grammar to support such arrays.

Additionally, it enables EXT_shader_io_blocks automatically with
EXT_geometry_shader and EXT_tessellation_shader per spec.

Bug: angleproject:3580
Change-Id: Ia7eb3e8be28c2eef2072dbe2a546fa34973104ab
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2568242
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Mohan Maiya <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2020-12-02 21:39:07 +00:00
Shahbaz Youssefi 8797714c4a Vulkan: Support OES_shader_io_blocks
Enables OES/EXT_shader_io_blocks extensions in Vulkan backends.

With shader I/O blocks, the varyings can now be an array of struct (the
block itself) of struct (nested in the block).

This change is missing a number of features.  In particular, if the
shader I/O block has a location decoration in the middle of the block,
that is not handled yet.

Based on changes from [email protected] and [email protected].

Bug: angleproject:3580
Tests: dEQP-GLES31.functional.shaders.linkage.es31.io_block.*
 dEQP-GLES31.functional.separate_shader.validation.es31.io_blocks.*
 dEQP-GLES31.functional.program_interface_query.program_input.*
 dEQP-GLES31.functional.program_interface_query.program_output.*
Change-Id: I593840475d2365ff6c9ce7b2290f5ee462a30dfb
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2567645
Reviewed-by: Mohan Maiya <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2020-12-02 19:32:07 +00:00
Jamie Madill 234fccfb18 Entry Points: Add egl:: namespace to Display.
This will prevent symbol collision with X11. This fixes the
build integration with Skia.

Bug: angleproject:2621
Bug: angleproject:5416
Change-Id: I6949a375cf9fcdd790b4c40ffb82c7c25bc15315
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2567644
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2020-12-01 20:32:20 +00:00
Jamie Madill 0be3f2962a Entry Points: Combine desktop GL minor versions.
This reduces the proliferation of small entry point files.

Bug: angleproject:2621
Change-Id: Ib882fd9e32e165279439d5d6cab7205eae0732ac
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2566592
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2020-12-01 16:58:50 +00:00
Jamie Madill 6edaf0986f Entry Points: Clean up versions lists.
This reduces code duplication in a few generator scripts. The version
lists are now located in registry_xml.

Bug: angleproject:2621
Change-Id: Ia1470f2863753d78d8def1132a20e81d3f8ec4a3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2566591
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-12-01 16:53:09 +00:00
Jamie Madill 3f564fc76e EGL: Generate entry points.
This adds two final auto-generated files for the EGL and EXT extension
entry points. It adds a new data file that stores a mapping between
object types and entry points for associating labeled objects with
certain methods. When we generate errors we record the associated
object in the debug message output.

This places the remainder of the hand-written code in "stub" files.
Going forward the work for implementing new extension entry points
for EGL will be to update the registry XML files and then implement
the corresponding stub methods. Event logging, parameter packing,
and validation are all handled by the auto-generated code.

Bug: angleproject:2621
Change-Id: I28153432802c37b929ff2ea1e1a3e3ce9de91605
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2562680
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2020-11-30 21:29:39 +00:00
Jamie Madill 1a8eec63cd Rename FromGL to PackParam.
This will allow us to use the same method with EGL without
complications.

Bug: angleproject:2621
Change-Id: I03dea2291adc13025723fe02eb47b76a74cef911
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2562679
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2020-11-30 20:48:41 +00:00
Jamie Madill 9528641bf1 EGL: Generalize the entry point enum.
This both generalizes the GL entry point enum to include other APIs
like EGL and inserts the EGL and WGL entry points into the enum.

This will faciliate EGL entry point auto-generation and also frame
capture for EGL entry points.

Bug: angleproject:2621
Change-Id: Iaf4310e03b3d55839dd1328362fb29dcef918fab
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2555861
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2020-11-30 20:30:09 +00:00
Shahbaz Youssefi 01e8b67560 Fix ordering of stages in gl::ShaderType
When iterating over a bitset of stages, they are now processed in the
same order as the rendering pipeline.

Bug: angleproject:5405
Change-Id: If9e0f24be047b060f759e0e1db622a91e24e9646
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2564008
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2020-11-30 17:53:19 +00:00
Jamie Madill 2114fcf2aa More cleanups to run_code_generation.
Moves some include definition blocks into constants. Also fixes a
small case error in the capture headers.

Bug: angleproject:2621
Change-Id: I0e5eadcfd8e16969f3502339f58dbf13eb53f43c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2555860
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-11-26 18:22:37 +00:00
Shahbaz Youssefi 939fcd1a14 Vulkan: Pass in emulated alpha value to ConvertVertex
In prepration for EXT_copy_image taking advantage of ConvertVertex.
Also a small optimization to this ALU heavy shader.

Bug: angleproject:5278
Change-Id: I6520391fe1af608db66f8c362f1038786b2c65e7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2556466
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2020-11-26 02:29:47 +00:00
Jamie Madill 23d4b64a3b EGL: Auto-generate Windows .def file.
Several entry points were missing from the .def file. The auto-
generation ensures we remain consistent.

Bug: angleproject:2621
Change-Id: Icb4089c4235f43e76ebd588216d4b988e3a2f0f3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2552775
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2020-11-25 17:02:09 +00:00
Jamie Madill 0a5bc0ce4f EGL: Auto-generate "libEGL" export cpp file.
This steps towards full auto-generation of EGL entry point files.

Bug: angleproject:2621
Change-Id: I629447bb6754ee1e87bef020de21b28e37e20eaf
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2552774
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2020-11-25 16:19:49 +00:00
Jamie Madill 732dc29520 Fix auto-generated export file comment.
The comment incorrectly was missing the _autogen suffix.

Bug: angleproject:2621
Change-Id: Iaeb1bc5b8a1b7174e6c3699162720e0e77eff667
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2552773
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2020-11-25 13:49:49 +00:00
Jamie Madill 11c815340f EGL: Auto-generate entry point headers.
This steps towards the goal of auto-generating EGL entry points.
Also cleans up some EP definition inconsistencies.

Bug: angleproject:2621
Change-Id: I94dcf3d080b6864bca3f9db6c4c01429f4f8b91f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2553968
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2020-11-25 13:47:39 +00:00
Jamie Madill 3efa290d95 EGL: Auto-generate validation header.
This is a first step towards auto-generating more EGL code. It
includes format handling for all the EGL parameter types, type
reinterpretation for EGL types using the "packed enum" handling,
and code refactoring to support the new consistent validation
entry point pattern.

Bug: angleproject:2621
Change-Id: I2740e82928db311aa934825cbe74bd75bf49c33c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2552976
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2020-11-25 01:49:45 +00:00
Jamie Madill 1b413197a6 generate_entry_points.py clean-ups.
Use all upper-case for Python constants. Also use line breaks to make
the templates more readable.

No functional changes, refactoring only.

Bug: angleproject:2621
Change-Id: I3ec1c07089b33fd1655ffbacc8c3a8cdcb919a3b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2553967
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
2020-11-24 01:36:07 +00:00
Jamie Madill 309bd3b6ea Use hard-coded year in generate_entry_points.
Using a dynamic year isn't fully supported as it makes the auto-
generation depend on the date. Also we do not need to update the
year in the copyright notices for any files in ANGLE.

Bug: angleproject:2621
Change-Id: I123864e77bffe8e04e5b299f0c58853c89287372
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2552980
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
2020-11-24 01:07:29 +00:00
Cody Northrop e51c9068a8 Tests: Add Google Maps trace
TBR: [email protected],[email protected]
Test: angle_perftests --gtest_filter="*google_maps*"
Bug: b/172977194
Change-Id: I1e2a2ed7af95069d30fd4d0fede036555688e98b
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2530456
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2020-11-21 00:26:52 +00:00
Cody Northrop 565f1b16c3 Tests: Add LEGO Legacy trace
Requires GL_EXT_shadow_samplers which is not exposed by Qualcomm's
native driver on Pixel 4 XL.

Test: angle_perftests --gtest_filter="*lego_legacy*"
Bug: b/161716126
Bug: angleproject:5373
Bug: angleproject:5374
Change-Id: Ifff9c5e878b7fe9a3ade684ae5f8e57167f01a25
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2477441
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
2020-11-20 23:41:32 +00:00
angle-autoroll 7784fce44d Roll VK-GL-CTS from 3f73b676d6e8 to 524e5bcfba33 (3 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/3f73b676d6e8..524e5bcfba33

2020-11-20 [email protected] Update tests to not trigger undefined behaviour in framebuffer_fetch cases
2020-11-20 [email protected] Add a batch of GraphicsFuzz coverage tests
2020-11-20 [email protected] Add tests for empty structs in UBOs and SSBOs

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vk-gl-cts-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/+doc/master/autoroll/README.md

Bug: None
Tbr: [email protected],[email protected]
Change-Id: Iefb4f6764338906e64f87ea070448ffd9cf2054f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2552421
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-11-20 13:25:03 +00:00
angle-autoroll 6bdeacb1e3 Roll VK-GL-CTS from 4fe17f3425ee to 3f73b676d6e8 (9 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/4fe17f3425ee..3f73b676d6e8

2020-11-19 [email protected] Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
2020-11-19 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
2020-11-18 [email protected] Add external memeory tests for the VK_EXT_device_memory_report extension
2020-11-18 [email protected] Enable random writes for storage images
2020-11-18 [email protected] Fix depth/stencil image logging in renderpass tests
2020-11-18 [email protected] Fix initial layout of depth stencil attachment
2020-11-18 [email protected] Fix tests dEQP-VK.draw.depth_clamp
2020-11-18 [email protected] Avoid advertising disabled robustness2 features
2020-11-18 [email protected] Fix regressions in renderpass tests

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vk-gl-cts-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/+doc/master/autoroll/README.md

Bug: None
Tbr: [email protected],[email protected]
Change-Id: I286bac4e33496b1aebaa7a5e2b576e3b5771d201
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2551395
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-11-19 22:29:57 +00:00
Mohan Maiya 8a401051a8 Vulkan: Support OES_sample_variables extension
Enable OES_sample_variables extension on Vulkan backend.
Add support for built-in variables, uniform state and constants
- gl_SampleId, gl_SamplePosition, gl_SampleMask,
  gl_SampleMaskIn
- gl_NumSamples
- gl_MaxSamples

Bug: angleproject:3588
Tests: dEQP-GLES31.functional.shaders.sample_variables.*
       KHR-GLES31.core.sample_variables.*
Change-Id: Idf37c7b4ccb0331dbda7acd6389ff4e1022ba959
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2477907
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-11-19 17:47:55 +00:00
Shahbaz Youssefi 8d63a7fc49 Basic support for running deqp khr gles32 tests
Bug: angleproject:3647
Change-Id: Ia707ffcd41926662d1513f1a3bf49149b76f6b9c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2544920
Commit-Queue: Shahbaz Youssefi <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-11-19 05:54:18 +00:00
Mohan Maiya 738092aead Add auto generated code for GL_EXT_tessellation_shader
To support tessellation, code and auto generated code are added.
Entry points function, ShaderTypes, built in variables and constants,
builtin function barrier and patch keyword are added.

Bug: angleproject:3572
Change-Id: Ia5fe473e884466cb88cea7138e13377a1d7b4fa0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2538393
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-11-18 17:27:55 +00:00
Mohan Maiya cc4ae6da79 Vulkan: Add EXT_separate_shader_objects entry points
Addition of the entry points for EXT_separate_shader_objects extension.

Bug: angleproject:3570
Change-Id: I95a1342bb3322b49997125a17367590183134c84
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2539120
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2020-11-17 16:55:56 +00:00
angle-autoroll c09ef1b361 Roll VK-GL-CTS from 9e07e4424cd4 to 4fe17f3425ee (12 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/9e07e4424cd4..4fe17f3425ee

2020-11-09 [email protected] Tests for VK_KHR_shader_terminate_invocation
2020-11-06 [email protected] Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
2020-11-06 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.4 into vk-gl-cts/master
2020-11-06 [email protected] Reset texture data to 0 after each 16 iterations to avoid overflow
2020-11-06 [email protected] Update Amber to fix Clang 11 build
2020-11-06 [email protected] Fix multisample resolve compatibility tests
2020-11-06 [email protected] Create debug report recorder earlier
2020-11-06 [email protected] Add tests for oob access in unexecuted shader paths
2020-11-06 [email protected] Add subpass self dependency test with a single attachment
2020-11-06 [email protected] Re-enable cube.*.mag_filter.linear test
2020-11-06 [email protected] Add VkDeviceMemory tests for the VK_EXT_device_memory_report extension
2020-11-04 [email protected] Check images can use external host memory before creating them

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/vk-gl-cts-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/+doc/master/autoroll/README.md

Bug: None
Tbr: [email protected],[email protected]
Change-Id: Icf36b0b648dd45f2cd0b60c0c4a6ba3300ef1807
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2543806
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-11-17 15:06:55 +00:00
Mohan Maiya 4f96bf1994 Remove duplicate entry of glProgramUniformMatrix4fvEXT in gl.xml
The GL_EXT_separate_shader_objects section of gl.xml has duplicate
entries for glProgramUniformMatrix4fvEXT. Remove that locally, while
this khronos bug -
 https://github.com/KhronosGroup/OpenGL-Registry/issues/443
tracks the upstream fix.

Also add an assert in the script to error out when duplicates exist.

Bug: angleproject:3570
Change-Id: Id0799b0e4f5ec6bc6beb3e18b5f888afec8ac169
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2539119
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-11-17 01:23:07 +00:00
James Darpinian 3f741f0d29 Remove trailing whitespace.
This whitespace inside a string is ignored by our presubmit but WebKit's
doesn't like it.

Bug: angleproject:5351
Change-Id: I8385c9a49332a92ce16b170bc1a22408bd387f30
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2541823
Commit-Queue: James Darpinian <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-11-16 21:48:17 +00:00
Geoff Lang 5b419533e5 GL: Implement EXT_YUV_target
Add test coverage of YUV format sampling as RGB or directly as YUV and
rendering as YUV using layout(yuv).

Initializing YUV AHardwareBuffers requires Android API 29 so ANGLE must
be compiled with:
android32_ndk_api_level = 29
android64_ndk_api_level = 29

The following tests can still run with Android API 26 because they don't
need to initialize the buffer:
ImageTestES3.ClearYUVAHB
ImageTestES3.YUVValidation

Bug: angleproject:4852
Bug: b/172649538
Change-Id: I4fe9afb2a68fb827dc5a5732b213b5eb60d585ac
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2517562
Commit-Queue: Geoff Lang <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-11-16 20:38:46 +00:00
angle-autoroll 59bddcfb2c Roll Vulkan-Headers from 670ffea9d61b to 11c6670b4a4f (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/670ffea9d61b..11c6670b4a4f

2020-11-16 [email protected] Update for Vulkan-Docs 1.2.161

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

Change-Id: Iabd1eab36736ca79fb9bbe20a0e396b823cb7a6d
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2538728
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-11-16 12:05:29 +00:00
Cody Northrop d276773af2 Tests: Add Real Commando Secret Mission trace
Test: angle_perftests --gtest_filter="*real_commando_secret_mission*"
Bug: b/172979023
Change-Id: Ifcb283d06bea78732d0f5daf9b1dfbb915fb9fab
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2530458
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
Commit-Queue: Cody Northrop <[email protected]>
2020-11-13 15:25:47 +00:00
Jamie Madill 98035e11d9 Capture/Replay: Split into separate shared libaries.
This will produce several smaller shared libs rather than one very
large one. Involves moving the trace loader to its own shared module
as well. Because the traces didn't have export labels on most of the
affected functions I had to use a "force include" argument on the
compiler. We can remove this once we re-capture.

This is a first step towards testing one trace at a time on an Android
device.

Includes a complete set of new regenerated traces.

Bug: angleproject:5133
Change-Id: If984de34af21fce48b0832401dbe5aa4b002ce95
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2506199
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Ian Elliott <[email protected]>
2020-11-10 16:35:37 +00:00
Mohan Maiya 9217d49db0 Vulkan: Add EXT_external_buffer entry points
Addition of the entry points for EXT_external_buffer extension.

Bug: angleproject:5073
Change-Id: I5dc9f74dfd68c1e83e17ca15166df4cd4c20fca2
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2525104
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-11-09 16:21:53 +00:00
angle-autoroll 2e236c33e9 Roll Vulkan-Headers from 87451c55aa8b to 670ffea9d61b (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/87451c55aa8b..670ffea9d61b

2020-11-09 [email protected] Update for Vulkan-Docs 1.2.160

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

Change-Id: Ia6d4d889cf62e7dc38a9fcb6de223fb256f21bbd
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2525861
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-11-09 11:06:05 +00:00
Jamie Madill aca3d40810 Fix return value of cube map array imageStore.
Should be void according to the spec. Noticed while working on texture
buffer.

Bug: angleproject:3584
Change-Id: I79a671c82fa117bab69bc2e6b35c840aa30429c5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2521241
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-11-07 20:02:29 +00:00
Jamie Madill 43acf3badf GL: Compiler changes for GL_OES_texture_buffer
This extension is core in GLES 3.2
This CL enables the extension, added 412 new dEQP tests for texture
buffer. 410 of these tests pass, but there are two tests that fail,
detailed in anglebug.com/4933

Also includes a fix for completeness checks.

Based on a CL by Jonah Ryan-Davis.

Bug: angleproject:3573
Bug: angleproject:4933
Change-Id: I45759d765c88c64f21b592eab01d910dc4bc8da3
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2521239
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2020-11-06 23:09:57 +00:00
Cody Northrop 6507c1edc1 Tests: Add Clash of Clans trace
Note: Hand edits required to compile this trace.
ANGLE_REPLAY_EXPORT was removed from each of the entry points in the
header. See build logs in patch set 1 of this CL for full output.

Test: angle_perftests --gtest_filter="*clash_of_clans*"
Bug: b/172626835
Change-Id: I63bab8f059a2c73c0a2fcd5b70fd92abf3bd4650
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2521180
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-11-06 19:11:59 +00:00
Jamie Madill f2a789263b Symbol Table: Error on duplicate group keys.
This prevents newer group keys from overwriting old ones.
Prevents bugs from creeping in like happened during texture buffer
development.

Bug: angleproject:3573
Change-Id: Iea69cac988e2cf4802a9f64c54cb694d32f1d3e1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2521238
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-11-06 16:11:04 +00:00
Jamie Madill fbaae6ce3e GL: Add support for GL_OES/EXT_texture_buffer
This extension is core in 3.2

Based on a CL by Jonah Ryan-Davis.

Bug: angleproject:3573
Bug: angleproject:4933
Change-Id: Ib5ce038414075a5cdce36e9404e25d7af33fb39c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2519401
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-11-06 00:38:23 +00:00
Alexey Knyazev 56ea854ec5 Metal: Allow unswizzled BC1 RGB
Refine DXT1CompressedTextureTest.DXT1Alpha to pass on more
configurations.

Fix the test's payload so that all 16 pixels use code 3.

Refine texture swizzling detection.

Bug: angleproject:2634
Bug: angleproject:5049
Change-Id: If9e1ab63220170a54954234ea205e19583b0df0a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2467896
Reviewed-by: Geoff Lang <[email protected]>
Reviewed-by: Le Hoang Quyen <[email protected]>
Commit-Queue: Alexey Knyazev <[email protected]>
2020-11-05 19:24:42 +00:00
Le Hoang Quyen 9ff063e9c0 Metal: fix max varyings, copyImage between mips, depth fmt
- GLSLTest_ES3.MaxVaryingWithFeedbackAndGLline failed before because
  gl_Position takes up one slot from max varyings on Metal back-end.
  FIXED

- Previously, copyImage() between mips of the same texture would fail.
  Due to the read RenderTargetMtl is released before the copy happens.
  FIXED

- GL_DEPTH_COMPONENT24 texture data upload didn't work due to the source
  32 bit depth data wasn't handled properly.  FIXED

- D24S8 format will be disabled on AMD for now, it will be converted to
  D32S8 instead.

Bug: angleproject:2634
Bug: angleproject:5235
Bug: angleproject:5242
Change-Id: Ie7082f0545c0885ce5ec72df8a7ec4ee5d5de4b1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2494525
Commit-Queue: Le Hoang Quyen <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-11-04 12:27:56 +00:00
Le Hoang Quyen cb6176f3a8 Metal: Support tri-fan & line-loop with primitive restart
Triangle fan:
- If primitive restart is NOT enabled and there is no active render
  pass, use Compute Shader to generate indices.
- If primitive restart is enabled, use CPU to generate indices.

Line loop:
- If draw non-instanced without primitive restart, generate and
  draw only one additional last segment (fastest).
- If draw instanced, primitive restart is NOT enabled, and there is no
  active render pass, use Compute Shader to generate indices (OK).
- Otherwise, use CPU to generate indices (slowest).

Also Disable OcclusionQueriesTest.ClearNotCounted failure on NVIDIA.

Bug: angleproject:2634
Bug: angleproject:5307
Change-Id: Ia5529825807a964f5fcb2a4af8844778896cd42a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2435859
Commit-Queue: Le Hoang Quyen <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-11-04 10:13:16 +00:00
angle-autoroll 74aa2f96e1 Roll Vulkan-Headers from 320af06cbdd2 to 87451c55aa8b (1 revision)
https://chromium.googlesource.com/external/github.com/KhronosGroup/Vulkan-Headers.git/+log/320af06cbdd2..87451c55aa8b

2020-11-02 [email protected] Update for Vulkan-Docs 1.2.159

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

Change-Id: Ia7e9110a6b26d2ec995b82c56d23c4466d43f6bd
Bug: None
Tbr: [email protected]
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2512391
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: angle-autoroll <[email protected]>
2020-11-02 11:48:20 +00:00
Le Hoang Quyen 8a50b42b01 Metal: Convert index & vertex format on GPU when possible.
- When converting vertex buffer:
  - if there is no render pass active, use compute shader to convert.
  - if there is a render pass active and device supports explicit memory
    barrier then convert the buffer in vertex shader with direct buffer
    write and insert a memory barrier.
  - if there is a render pass active and device doesn't support explicit
    memory barrier then convert the buffer on CPU.

Bug: angleproject:2634
Change-Id: I5346e3a2adb855f40e46a3912d9db404a4482e0f
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2434025
Commit-Queue: Le Hoang Quyen <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Jonah Ryan-Davis <[email protected]>
2020-10-31 22:03:13 +00:00
Jamie Madill bef8124fa7 Output unknown enum to aid debugging
When investigating issues with apps it's handy to see the actual enum
value, not just that it's an invalid value.

Based on http://crrev.com/c/2182578 by Courtney Goeltzenleuchter.

Bug: b/155487768
Change-Id: I91611cb620a3bf2d302d667e0f168ca5cb6c9d3c
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2507637
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Courtney Goeltzenleuchter <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2020-10-30 16:36:47 +00:00
Jamie Madill 42ad027982 Omit types in EVENT macros.
The type information is redundant with the parameters. Cleans up both
the debugger and text-based traces.

Bug: b/170249632
Change-Id: I00f96dc1d69ec7a8c5ca24b1a275f3bc7c29d376
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2507636
Reviewed-by: Ian Elliott <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-10-30 14:11:08 +00:00
Mohan Maiya e895ced6d4 Vulkan: Add OES_shader_image_atomic support
Add support for shader builtins and enable the extension.

Bug: angleproject:3578
Tests: dEQP-GLES31.functional.*image_atomic*
Change-Id: Idd45b2ee62efe1474c6c5947c77da64ff2221bf6
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2505540
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-10-29 20:43:25 +00:00