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
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
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