Commit Graph
799 Commits
Author SHA1 Message Date
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 <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-01-09 03:01:13 +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 <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-01-08 22:52:05 +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 <[email protected]>
Commit-Queue: Mohan Maiya <[email protected]>
2021-01-08 17:55:59 +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 <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Peng Huang <[email protected]>
2021-01-07 18:29:03 +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 <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Tim Van Patten <[email protected]>
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 <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
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 <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2021-01-06 18:40:58 +00:00
Jamie Madill e91097bf3a Vulkan: Clean up "actual"/"intended" naming.
Clarifies that the GL internal format is an "intended" format
and the Vulkan formats are "actual" formats. This makes all the format
fields use the same consistent naming pattern.

Bug: angleproject:5438
Change-Id: I935a49895109e9e06eae5ef98d5614dfd1128ff8
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2605728
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2021-01-05 18:34:33 +00:00
Peng Huang 47ee6a7b09 Add build flags to disable desktop gl backend
This change saves about 100KB on Android

Bug: angleproject:5490
Change-Id: Ieca0e597423f74a917197f381560af5409a9e874
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2601341
Reviewed-by: Jonah Ryan-Davis <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Peng Huang <[email protected]>
2020-12-29 19:42:01 +00:00
Jonah Ryan-Davis 88fec1e88f Code generation for NV_framebuffer_blit
Generate the entry points for NV_framebuffer_blit.

Bug: angleproject:5474
Bug: chromium:1157057
Change-Id: Iadffa24ce7368d8ab6c4bf9d5b6c016276e762f5
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2602242
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Jonah Ryan-Davis <[email protected]>
2020-12-23 23:39:50 +00:00
angle-autoroll 5c0ba5437b Roll VK-GL-CTS from 54509765b18d to b29bf0434c16 (15 revisions)
Manually update deqp.gni to include new es3cNumberParsingTests files.

https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/54509765b18d..b29bf0434c16

2020-12-19 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.5 into vk-gl-cts/master
2020-12-18 [email protected] Raise min CMake version to 3.10.2
2020-12-18 [email protected] Fix Renderpass storeOp synchronization hazards
2020-12-18 [email protected] Fix back-to-back transfer command synchronization hazards
2020-12-18 [email protected] Simplify code for subgroup builtin mask tests
2020-12-18 [email protected] Fix end of Renderpass synchronization hazards
2020-12-18 [email protected] Fix additional RenderPass loadOp/stencilLoadOp sync hazards.
2020-12-18 [email protected] Fix RenderPass stencilLoadOp synchronization hazards.
2020-12-18 [email protected] Fix RenderPass loadOp synchronization hazards.
2020-12-17 [email protected] Tests for GLES3 number parsing
2020-12-17 [email protected] Tests for multiple clears within render pass
2020-12-17 [email protected] Enable nullDescriptor for AS ray query tests
2020-12-15 [email protected] Test dynamic indexing of AS
2020-12-15 [email protected] Test dynamic indexing of ray queries
2020-12-13 [email protected] Test procedural geometry with complex BB sets

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: I59e4aabcfbf496d02e18ba7b7aa06391ba90f434
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2600639
Reviewed-by: Yuly Novikov <[email protected]>
Reviewed-by: angle-autoroll <[email protected]>
Commit-Queue: Yuly Novikov <[email protected]>
2020-12-23 00:21:35 +00:00
Jamie Madill 653f6196ce Import Vulkan DEPS from the new vulkan-deps repo.
This will allow the entire set of Vulkan DEPS to be rolled as one.

Bug: angleproject:5390
Change-Id: I10ca4f966f986baf3aab7250935802a3ed1065f1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2587671
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Yuly Novikov <[email protected]>
2020-12-18 18:09:50 +00:00
Paul Thomson 4abf378831 Tests: update WhatsApp trace
The WhatsApp trace was previously captured with the
GL_NV_shader_noperspective_interpolation extension enabled. This
re-capture was made with the extension disabled so the trace can
replayed on devices that don't support the extension.

Test: angle_perftests --gtest_filter="*whatsapp*"
Bug: b/174256233
Change-Id: I9dbf580ed5849b919a72944879be35193632e34a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2593191
Commit-Queue: Cody Northrop <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
2020-12-15 23:09:35 +00:00
Mohan Maiya 8f9e17d529 Add EXT_clip_cull_distance extension autogen code
Addition of shader autogen code for EXT_clip_cull_distance extension.

Bug: angleproject:5458
Change-Id: I299528957c0e747fd84987c420588c314f54aae0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2590989
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-12-15 21:54:35 +00:00
Mohan Maiya f32fbb51e8 Add EXT_shader_framebuffer_fetch_non_coherent entry points
Addition of the entry points for
EXT_shader_framebuffer_fetch_non_coherent extension.

Bug: angleproject:5454
Change-Id: I2b8ba5141eed61a0c3ba58aeb2eec12a2071e7f1
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2590991
Commit-Queue: Mohan Maiya <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
2020-12-15 19:45:15 +00:00
Shahbaz Youssefi d9318acc24 Roll VK-GL-CTS from 41331850eb21 to 54509765b18d (18 revisions)
https://chromium.googlesource.com/external/github.com/KhronosGroup/VK-GL-CTS.git/+log/41331850eb21..54509765b18d

2020-12-10 [email protected] Basic tests for VK_EXT_conservative_rasterization
2020-12-10 [email protected] Add test for image copy special case
2020-12-10 [email protected] Add tests for GLES3 vector construction from other types
2020-12-10 [email protected] Merge vk-gl-cts/opengl-es-cts-3.2.6 into vk-gl-cts/master
2020-12-09 [email protected] Merge vk-gl-cts/vulkan-cts-1.2.5 into vk-gl-cts/master
2020-12-09 [email protected] Add drawing tests for Android hardware buffer based color buffer
2020-12-09 [email protected] Test data spilling and unspilling around RT shader calls
2020-12-09 [email protected] Add new tests that verify IgnoreIntersection/TerminateRay corner cases.
2020-12-09 [email protected] Test maxPipelineRayRecursionDepth can be zero
2020-12-09 [email protected] Enable YCbCr filtering tests for non-separable chroma
2020-12-07 [email protected] Fix clang 10.0 build of ray tracing control flow tests
2020-12-07 [email protected] Remove merge conflict markers from mandatory_features.txt
2020-12-07 [email protected] Vulkan Portability support
2020-12-07 [email protected] Disable conflicting fragment shading rate features
2020-12-07 [email protected] Update Vulkan headers
2020-12-07 [email protected] Select SPIR-V for the robustness' compute shaders
2020-12-07 [email protected] Fix buffer offsets in push descriptor tests
2020-12-07 [email protected] Destroy deferred ops before destroying devices

Bug: angleproject:5461
Change-Id: I86f70ea9b77c114ed9495215d83a6fee61adc76a
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2586995
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2020-12-11 17:04:20 +00:00
Kaiyi Li 8707811d6b Add an option to copy the artifact to vendor partition
Add a --copy-to-vendor-partition optional argument to both roll_aosp.sh
and generate_android_bp.py. When specified the root targets will be
generated with vendor: true and a relative install path to egl folder,
so that we can use ANGLE as the Android OpenGLES driver when the system
starts up.

Test: run roll_aosp.sh --copy-to-vendor-partion, build the Android image
with m -j72, load the image with the Android emulator and find all ANGLE
related *.so's are under the /vendor/lib/egl folder.

Bug: angleproject:5456
Change-Id: I38c64e8ea3ad5f5d0cc0b8cd77856f49109b23c7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2568907
Commit-Queue: Tim Van Patten <[email protected]>
Reviewed-by: Tim Van Patten <[email protected]>
2020-12-10 17:57:38 +00:00
Xiaoxuan Liu 108b759ef9 EGL: Update EGL headers/xml
The new EGL headers introduced 'EGL_NO_X11' which we could use
for ANGLE vulkan display/headless backend.

Changes in CL:

1. Updated include/EGL/egl*.h and scripts/egl.xml based on latest
   EGL repo: https://github.com/KhronosGroup/EGL-Registry
   Note: local modifications to the file were preserved in
   eglext.h, search keyword 'eglext_angle.h' for detail
2. run scripts to update entry_points/loader
   scripts/generate_entry_points.py
   scripts/generate_loader.py
   scripts/run_code_generation.py
3. Update ANGLE code on API 'eglSwapBuffersWithDamage'
4. Format with 'git cl format'

Bug: angleproject:5260
Change-Id: I70ed0dccecf0426929ef8b4775605554d66c5724
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2576314
Commit-Queue: Jamie Madill <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Shahbaz Youssefi <[email protected]>
2020-12-10 14:46:28 +00:00
Paul Thomson 463e0b19e3 Tests: add WhatsApp trace
Test: angle_perftests --gtest_filter="*whatsapp*"
Bug: b/174256233
Change-Id: Ie6abb3beae8e184633005a325c5dce51f0afff40
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2574837
Reviewed-by: Jamie Madill <[email protected]>
Reviewed-by: Cody Northrop <[email protected]>
Commit-Queue: Paul Thomson <[email protected]>
2020-12-07 17:38:23 +00:00
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 5968da649c code gen: Be more robust to dirty hashes.
If any JSON files get out of whack this will print which file is
malformed. Also will show any temporary files (e.g. .rej or .orig)
as untracked in the code generation hashes dir.

Bug: angleproject:3691
Change-Id: I534e87bd2ea692182aa558bb80e09fb526e441b0
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2564000
Reviewed-by: Shahbaz Youssefi <[email protected]>
Commit-Queue: Jamie Madill <[email protected]>
2020-11-30 14:26:25 +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
Geoff Lang a5e98a83db roll_aosp: Pass more forceful args to gclient sync
Gclient sync would get stuck if the deps were left in a bad state
from a previous failed roll.  Pass the same args as the Chrome bots
to forcefully sync.

Bug: b/150458033
Change-Id: I6bd1aefbd7e4db22dd08acf781b6a08985f600da
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2551533
Reviewed-by: Geoff Lang <[email protected]>
2020-11-19 20:53:12 +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