Tina Zhou [Fri, 20 Jan 2017 18:31:08 +0000 (18:31 +0000)]
Merge "Fix internal format/type for ES3 3D + depth/stencil negative API tests." into nougat-cts-dev
am:
0991459ed1
Change-Id: Iaad1f68482163e3e8940baf9139b29b66c4ed6f2
Kenneth Graunke [Fri, 20 Jan 2017 18:31:07 +0000 (18:31 +0000)]
Fix internal format/type for ES3 3D + depth/stencil negative API tests.
am:
2ed3a5a66f
Change-Id: I979d7d709017237a7e201017b270aacaefc01013
Tina Zhou [Fri, 20 Jan 2017 18:31:04 +0000 (18:31 +0000)]
Merge "Remove tests affected by NV/OES_viewport_array extension" into nougat-cts-dev
am:
e98444b9bf
Change-Id: I03190aa34e911cb4a8b174d1251a354ff6e34718
Pyry Haulos [Fri, 20 Jan 2017 18:31:02 +0000 (18:31 +0000)]
Remove tests affected by NV/OES_viewport_array extension
am:
267c765690
Change-Id: I74f0255f38b618d9c72e1e48fabbda9636daf14d
Tina Zhou [Fri, 20 Jan 2017 18:30:48 +0000 (18:30 +0000)]
Merge "Generate flat triangles in polygon offset tests." into nougat-cts-dev
am:
61d6d95a66
Change-Id: Ia7141732269df847c13bbb8b36e9f911c76d8753
Alexander Galazin [Fri, 20 Jan 2017 18:30:47 +0000 (18:30 +0000)]
Generate flat triangles in polygon offset tests.
am:
975a59ebca
Change-Id: If91ab1b34f3215705636abaa4dc52ebad5d3d3a7
Tina Zhou [Fri, 20 Jan 2017 18:30:36 +0000 (18:30 +0000)]
Merge "Relax line width verification in primitive bbox tests" into nougat-cts-dev
am:
312a550657
Change-Id: Ia8465e3ae1fb9d80125305134c157857e5e339b1
Pyry Haulos [Fri, 20 Jan 2017 18:30:35 +0000 (18:30 +0000)]
Relax line width verification in primitive bbox tests
am:
ba45591407
Change-Id: Ia0f71e5511d1bf4bf449ef71ecf5bb822311cf08
Tina Zhou [Fri, 20 Jan 2017 18:30:23 +0000 (18:30 +0000)]
Merge "Fix eglBindAPI negative test" into nougat-cts-dev
am:
6068dfbf3a
Change-Id: I4ca862cbe3c17c0887437a98570f16e1bfc19d34
Nicolas Boichat [Fri, 20 Jan 2017 18:30:22 +0000 (18:30 +0000)]
Fix eglBindAPI negative test
am:
09784f8510
Change-Id: I9f1246736de39cfc6bc6593bad465fa881f55e29
Tina Zhou [Fri, 20 Jan 2017 18:30:11 +0000 (18:30 +0000)]
Merge "Drop incorrect framebuffer texture subtests." into nougat-cts-dev
am:
3baf7e3be2
Change-Id: I2f95c748059d7aea5f1899ff6ee6c0fe96ea7245
Kenneth Graunke [Fri, 20 Jan 2017 18:30:10 +0000 (18:30 +0000)]
Drop incorrect framebuffer texture subtests.
am:
625d685874
Change-Id: I7b1cab296c2a61ed3e05ae52dd21fd62bc6d3c8a
Tina Zhou [Fri, 20 Jan 2017 18:29:58 +0000 (18:29 +0000)]
Merge "Optimize swapchain OOM tests" into nougat-cts-dev
am:
c811d42d99
Change-Id: I06e852cc34ee156dbd66ac36fbb052a2db8ec36f
Pyry Haulos [Fri, 20 Jan 2017 18:29:57 +0000 (18:29 +0000)]
Optimize swapchain OOM tests
am:
1614827a71
Change-Id: I5ac33602999153d04624eb32504437ffff9b3b51
Tina Zhou [Fri, 20 Jan 2017 18:29:46 +0000 (18:29 +0000)]
Merge "Fix internal format/type for ES3 3D + depth/stencil negative API tests." into nougat-cts-dev
am:
0991459ed1
Change-Id: If9f75801b7ea26bec470e4dd11b318431ed56352
Kenneth Graunke [Fri, 20 Jan 2017 18:29:45 +0000 (18:29 +0000)]
Fix internal format/type for ES3 3D + depth/stencil negative API tests.
am:
2ed3a5a66f
Change-Id: I9439b037614e52368b771e1b7a84bd4930bfbf6a
Tina Zhou [Fri, 20 Jan 2017 18:29:33 +0000 (18:29 +0000)]
Merge "Add support for EGL_EXT_pixel_format_float" into nougat-cts-dev
am:
13a05434cc
Change-Id: Ic956c9c223aef327c2614b3f52ecf5c1166bec22
Mark Adams [Fri, 20 Jan 2017 18:29:32 +0000 (18:29 +0000)]
Add support for EGL_EXT_pixel_format_float
am:
521bf8a7c3
Change-Id: I64bda78561b2eb598e78bb2ba13b485602ea96e7
Tina Zhou [Fri, 20 Jan 2017 18:29:13 +0000 (18:29 +0000)]
Merge "Add support for EGL_EXT_pixel_format_float" into nougat-cts-dev
am:
13a05434cc -s ours
Change-Id: Ib0bb082d5c906b0b614387c2c7bfab5e5727b160
Mark Adams [Fri, 20 Jan 2017 18:29:10 +0000 (18:29 +0000)]
Add support for EGL_EXT_pixel_format_float
am:
521bf8a7c3 -s ours
Change-Id: I51c41d6dcc7fb454f05dbbefeab1af0413215c4f
Tina Zhou [Fri, 20 Jan 2017 18:28:49 +0000 (18:28 +0000)]
Merge "Remove tests affected by NV/OES_viewport_array extension" into nougat-cts-dev
Tina Zhou [Fri, 20 Jan 2017 18:28:42 +0000 (18:28 +0000)]
Merge "Generate flat triangles in polygon offset tests." into nougat-cts-dev
Tina Zhou [Fri, 20 Jan 2017 18:28:34 +0000 (18:28 +0000)]
Merge "Relax line width verification in primitive bbox tests" into nougat-cts-dev
Tina Zhou [Fri, 20 Jan 2017 18:28:26 +0000 (18:28 +0000)]
Merge "Fix eglBindAPI negative test" into nougat-cts-dev
Tina Zhou [Fri, 20 Jan 2017 18:28:18 +0000 (18:28 +0000)]
Merge "Drop incorrect framebuffer texture subtests." into nougat-cts-dev
Tina Zhou [Fri, 20 Jan 2017 18:27:50 +0000 (18:27 +0000)]
Merge "Optimize swapchain OOM tests" into nougat-cts-dev
Tina Zhou [Fri, 20 Jan 2017 18:27:40 +0000 (18:27 +0000)]
Merge "Fix internal format/type for ES3 3D + depth/stencil negative API tests." into nougat-cts-dev
Tina Zhou [Fri, 20 Jan 2017 18:27:14 +0000 (18:27 +0000)]
Merge "Add support for EGL_EXT_pixel_format_float" into nougat-cts-dev
Pyry Haulos [Thu, 19 Jan 2017 23:22:55 +0000 (23:22 +0000)]
Merge "Revert "Workaround for GCC aarch64 compiler bug""
am:
516ebfdd41
Change-Id: Iebf581676394db8614036086954b9fa432566acb
Treehugger Robot [Thu, 19 Jan 2017 23:18:56 +0000 (23:18 +0000)]
Merge "Revert "Workaround for GCC aarch64 compiler bug""
Pyry Haulos [Thu, 19 Jan 2017 21:37:47 +0000 (21:37 +0000)]
Reverse the expectation in SSO match_different_[member_]struct_names
am:
68f263d56a
Change-Id: Ic386ff47f47d9aa38cedad1089ae34b2be289224
Pyry Haulos [Thu, 19 Jan 2017 21:28:17 +0000 (13:28 -0800)]
Revert "Workaround for GCC aarch64 compiler bug"
dEQP in Android CTS is now built with LLVM exclusively so reverting this
old workaround for GCC compiler bug is safe.
This reverts commit
00b60d29a1da01c554a3af8f96112199231145d2.
Bug:
17907351
Change-Id: I8d118195159e8238e6e4911ed187c2608d8418d3
Pyry Haulos [Thu, 19 Jan 2017 19:43:06 +0000 (11:43 -0800)]
Merge vulkancts/vulkan-cts-1.0.2 into vulkancts/vulkan-cts-1.0.2-extensions
Change-Id: I1c6f35fd8f03e2bd4d72a99b6d062d08703985ff
Pyry Haulos [Thu, 17 Nov 2016 18:21:09 +0000 (10:21 -0800)]
Reverse the expectation in SSO match_different_[member_]struct_names
The resolution of bug #15866 is that the spec should be changed to
require that "structures have the same name" in order for the types
to match during SSO validation. These structures differ in name,
so they should not match, and we should get an SSO validation
failure.
Khronos bug #15866
Google bug:
33457655
Change-Id: Ie1f6bdb625661f0ed4585dfde7a0694f32ff3413
(cherry picked from commit
bcd52533b14b0772dab895d6d449a02c0c34e043)
Pyry Haulos [Thu, 19 Jan 2017 18:57:36 +0000 (18:57 +0000)]
Merge "Use LDR mode in astc.block_size_remainder sRGB cases"
am:
a9633080be
Change-Id: I74736737267268543dae9fda89cc20ee7f697115
Treehugger Robot [Thu, 19 Jan 2017 18:55:26 +0000 (18:55 +0000)]
Merge "Use LDR mode in astc.block_size_remainder sRGB cases"
Pyry Haulos [Thu, 19 Jan 2017 17:10:20 +0000 (09:10 -0800)]
Remove PointCoord test from mustpass
Test doesn't take into account difference between real (unrounded) point
origin and (rounded) texel center when computing PointCoord reference
values.
Vulkan CTS issue: 582
Change-Id: I0ffaf40c1d99247b68d6ee16f2f94df74c832884
Pyry Haulos [Thu, 19 Jan 2017 17:08:02 +0000 (09:08 -0800)]
Remove broken pipeline barrier tests from mustpass
These tests attempt to store a value that doesn't fit in 16-bit uint
into a RelaxedPrecision-qualified uint push constant.
Vulkan CTS issue: 583
Change-Id: I9ae6da8469b8213c2f1d0e5d90b1ada8640bef6e
Pyry Haulos [Thu, 19 Jan 2017 17:07:03 +0000 (09:07 -0800)]
Use LDR mode in astc.block_size_remainder sRGB cases
Bug:
34129132
Change-Id: Ibf6d8bbdab1f105796510dda71333ceeb619b50a
Pyry Haulos [Thu, 19 Jan 2017 16:00:54 +0000 (16:00 +0000)]
Merge "Use LDR mode when decompressing sRGB ASTC formats"
am:
c1c0ce48bb
Change-Id: I0749263435d46a05108fd22f626e06cae6a3658d
Pyry Haulos [Thu, 19 Jan 2017 15:56:48 +0000 (15:56 +0000)]
Merge "Use LDR mode when decompressing sRGB ASTC formats"
Pyry Haulos [Thu, 19 Jan 2017 03:10:08 +0000 (03:10 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
am:
dd398940da
Change-Id: I68d6b77062e52e9e8d4cc2b0382906f26cee77a9
Pyry Haulos [Thu, 19 Jan 2017 01:37:25 +0000 (17:37 -0800)]
Use LDR mode when decompressing sRGB ASTC formats
Bug:
34129132
Change-Id: I0528d2a8001decfd04753d3d91cf7ed08fd31730
Pyry Haulos [Thu, 19 Jan 2017 01:25:44 +0000 (17:25 -0800)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Change-Id: I3d62340294affc97744a3f215a96d00bd47342d5
Pyry Haulos [Wed, 18 Jan 2017 20:28:32 +0000 (12:28 -0800)]
Remove tests affected by NV/OES_viewport_array extension
Tests were not properly taking into account viewport clamping behavior
introduced by GL_NV/OES_viewport_array extensions.
Bug:
34349411
Change-Id: I3eae36359e6408191e0fbefb20cededec2a5bd39
Merged-In: I3d3c2e32d7dd96d1db960aa53dc18cc690187ec0
Anuj Phogat [Wed, 18 Jan 2017 19:37:04 +0000 (19:37 +0000)]
Merge "ES{2,3}: Clamp the x, y location of the viewport's bottom-left corner"
am:
132a3ba810
Change-Id: Idcdfcc00bc08d6ec7e231a7d85919f13b9673da6
Treehugger Robot [Wed, 18 Jan 2017 19:33:46 +0000 (19:33 +0000)]
Merge "ES{2,3}: Clamp the x, y location of the viewport's bottom-left corner"
Alexander Galazin [Wed, 11 Jan 2017 07:50:13 +0000 (08:50 +0100)]
Generate flat triangles in polygon offset tests.
The tests setup triangles with a depth slope and then call
glPolygonOffset(factor, units) with variable units and
always 0 slope scaled factor.
According to the GLES 3.2 spec 13.7.2 Depth Offset:
"void PolygonOffset( float factor, float units );
factor scales the maximum depth slope of the polygon, and units scales an
implementation-dependent constant that relates to the usable resolution of the
depth buffer."
If the polygon has a depth slope,
the depth slope factor has to be not equal to zero.
The rationale of the slope scaled factor is to ensure that the offset
(equation 13.11) is greater than max(dz/dx, dz/dy) for all resolutions,
which may not be the case for the constant offset since it doesn't take
the screen resolution into account.
Changed tests:
dEQP-GLES2.functional.polygon_offset.*_displacement_with_units
dEQP-GLES3.functional.polygon_offset.*_displacement_with_units
Bug:
34386628
Change-Id: Ie8009ba1766eb50c3c5a750122aa8bb231144210
Anuj Phogat [Fri, 30 Sep 2016 17:46:49 +0000 (10:46 -0700)]
ES{2,3}: Clamp the x, y location of the viewport's bottom-left corner
Affected tests:
dEQP-GLES2.functional.state_query.integers.viewport_getfloat
dEQP-GLES2.functional.state_query.integers.viewport_getinteger
dEQP-GLES3.functional.state_query.integers.viewport_getfloat
dEQP-GLES3.functional.state_query.integers.viewport_getinteger
dEQP-GLES3.functional.state_query.integers.viewport_getinteger64
Above CTS tests are not clamping the x, y location of the viewport's
bottom-left corner as recommended by ARB_viewport_array and
OES_viewport_array.
Tests later compare the clamped x, y values read back from the driver
with reference unclamped x, y values resulting in to false failures.
From OES_viewport_array:
"The location of the viewport's bottom-left corner, given by (x,y), are
clamped to be within the implementation-dependent viewport bounds range.
The viewport bounds range [min, max] tuple may be determined by calling
GetFloatv with the symbolic constant VIEWPORT_BOUNDS_RANGE_OES"
Bug:
34349411
Pyry Haulos [Tue, 17 Jan 2017 22:25:00 +0000 (14:25 -0800)]
Merge vulkancts/vulkan-cts-1.0.2 into vulkancts/vulkan-cts-1.0.2-extensions
Change-Id: Ic1ed6a7a99ef999c542677136bbf87f7a3085f84
Pyry Haulos [Tue, 17 Jan 2017 22:24:59 +0000 (14:24 -0800)]
Merge vulkancts/vulkan-cts-1.0.1 into vulkancts/vulkan-cts-1.0.2
Change-Id: I0ddead63d83e79809d35df7f3108ade58a13d0e6
Pyry Haulos [Tue, 17 Jan 2017 22:24:57 +0000 (14:24 -0800)]
Merge vulkancts/vulkan-cts-1.0.0 into vulkancts/vulkan-cts-1.0.1
Change-Id: I4742b81f85d9b09efd77b954d432e28fefabf818
Alexander Galazin [Mon, 16 Jan 2017 08:15:59 +0000 (09:15 +0100)]
Update zlib dependency to zlib 1.2.11
Fixes Vulkan CTS issue: #579
Change-Id: Ib0cd05616cbb4759d63bcf15ba8e8f6f374e291d
Kenneth Graunke [Fri, 6 Jan 2017 08:25:28 +0000 (00:25 -0800)]
Drop incorrect framebuffer texture subtests.
This patch removes two broken subcases of:
dEQP-GLES31.functional.debug.negative_coverage.log.buffer.framebuffer_texture_layer
These were fixed in dEQP master by commit
f28187809176f5eeb1ee25ccfa70d3,
but we cannot backport that to release branches because it changes the
existing expectations, which would break previously passing
implementations. See buganizer
30287182 and
28090252.
The first subtest incorrectly checked layer (array slice) when it should
have checked miplevel. The subtest description says:
"GL_INVALID_VALUE is generated if texture is a 2D multisample array
texture and layer not 0."
which is wrong - array textures can certainly have multiple slices.
The ES 3.1 specification says that:
"An INVALID_VALUE error is generated if texture is not zero and level is
not a supported texture level for texture, as described above."
and miplevel 0 is the only valid miplevel for a multisample texture.
The second subtest is no longer valid according to the resolution of
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15968.
Bug:
34281627
Merged-In: I500074c1777d88291c0b395498bb0f7d5613d27d
Pyry Haulos [Tue, 15 Nov 2016 18:28:48 +0000 (10:28 -0800)]
Relax line width verification in primitive bbox tests
Originally contributed by ARM to Khronos OpenGL ES CTS. Cherry-picked
with permission.
Google bug:
22713865
Khronos OpenGL issue: #19
Change-Id: I95359847611144e179819aaab6ac5dfe4bf4e4da
Pyry Haulos [Fri, 13 Jan 2017 20:20:42 +0000 (12:20 -0800)]
Merge vulkancts/vulkan-cts-1.0.2 into vulkancts/vulkan-cts-1.0.2-extensions
Change-Id: I046575e2c44ec537c1c07581b0100449d9232f61
Maciej Jesionowski [Thu, 12 Jan 2017 12:42:45 +0000 (13:42 +0100)]
Bugfix: Allow UBO sparse allocation larger than maxUniformBufferRange
Modified tests:
- dEQP-VK.sparse_resources.buffer.ubo.*
Fixes #573
Change-Id: I33d2098d5b6b783fa8293c7cb1af7e782b51df77
Pyry Haulos [Thu, 12 Jan 2017 23:27:44 +0000 (15:27 -0800)]
Fix memoryTypeBits validation in memory.requirements.buffer
Memory type bits returned for a subset of all possible usage flags must
be a superset of memory type bits returned for all usage flags case, not
the other way around.
Affects: dEQP-VK.memory.requirements.buffer.*
Vulkan CTS issue: 578
Change-Id: Iff34ffbf571fa7b0bd2d5e769e32d82a4dc9229e
Xin Li [Thu, 12 Jan 2017 23:21:25 +0000 (15:21 -0800)]
Skip commit '
302bd7c6b3d468e33b19b693a25d67f2b54b961c' on
nougat-mr1-cts-dev.
BUG:
33090058
Change-Id: Ife934b6694e07b2231070cc5d05865fed78e67c4
Maciej Jesionowski [Thu, 12 Jan 2017 11:23:44 +0000 (12:23 +0100)]
Bugfix: provide enough VkClearValues in ImageSamplingInstance
Affected tests:
- dEQP-VK.pipeline.image.*
- dEQP-VK.pipeline.image_view.*
Fixes #575
Change-Id: Ie2fbdf9b926c677c54aca4b4cfd6b107be451c7f
Xin Li [Thu, 12 Jan 2017 23:09:38 +0000 (15:09 -0800)]
Merge commit '
09e8b66d03077e9a9b310145112cfd0e747e06f3' from
nougat-cts-dev to nougat-cts-mr1-dev.
BUG:
33090058
Change-Id: I7a8bacd16b5d98255987c5632e73dd823d8643be
Slawomir Cygan [Tue, 10 Jan 2017 15:59:29 +0000 (16:59 +0100)]
Do not require unsupported sparse images in image_format_properties test
Affects tests: dEQP-VK.api.info.image_format_properties*
This change removes the requirement for supporting sparse residency images:
- with compressed format
- with non-color format
- with format of pixel size that is not power ot two (for example: RGB).
Additionally do not require 1D sparse residency images (not in spec),
and require 2D/3D residency images basing on the device capabilities.
Spec 28.1. Sparse Resource Features:
"A sparse image created using VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT
supports all non-compressed color formats with power-of-two element
size that non-sparse usage supports.
(...)
sparseResidencyImage2D: Support for creating 2D single-sampled VkImage
objects with VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT.
sparseResidencyImage3D: Support for creating 3D VkImage objects with
VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT.
"
Fixes bug: gitlab!567
Change-Id: If7d72c4392299e4c449a911140632dcc114fc908
Tapani Plli [Thu, 12 Jan 2017 16:43:39 +0000 (16:43 +0000)]
tcuX11: fix to wait for matching ConfigureNotify
am:
0cfa22d49d
Change-Id: I5b4d57a781ab1179ef8e10fdc538bf128d1d4981
Alexander Galazin [Thu, 12 Jan 2017 11:53:30 +0000 (12:53 +0100)]
Fix VkCmdImageBlit usage in blitting tests
Some tests call VkCmdImageBlit with a 2D destination image and a region
with dstOffset[0].z=1, dstOffset[1].z=0.
The spec says that it should be the opposite.
Affects:
dEQP-VK.api.copy_and_blit.blit_image.simple_tests.mirror_xy_nearest
dEQP-VK.api.copy_and_blit.blit_image.simple_tests.mirror_y_nearest
Components: Vulkan
Fixes Vulkancts issue: #576
Change-Id: Iaa05f3b38cd46c39d313bd044b37535c112b77dd
Tapani Pälli [Wed, 11 Jan 2017 06:37:54 +0000 (08:37 +0200)]
tcuX11: fix to wait for matching ConfigureNotify
Patch adds a loop to setDimensions that spins until exact
matching ConfigureNotify event is caught. This is done to make
sure X has updated the window size before we get further.
New processEvent method is added so that we can handle possible
WM_DELETE_WINDOW message during the loop as suggested by Pyry.
Test: run dEQP-EGL.functional.resize* on different configurations
Change-Id: Ic32243e9b25ea6cbdb5a7ab6bfccc7a196f1a5b8
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Pyry Haulos [Tue, 10 Jan 2017 22:13:08 +0000 (22:13 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
am:
47d74e847e
Change-Id: Idc25bc42a5fd9dd34828348b82265d6adf02229b
Pyry Haulos [Tue, 10 Jan 2017 20:34:46 +0000 (12:34 -0800)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Change-Id: I3db5264ca20d64d152a9407fcdd1ac7f7c47b45c
Pyry Haulos [Tue, 10 Jan 2017 20:21:13 +0000 (12:21 -0800)]
Merge gerrit/vulkan-cts-1.0.2 into gerrit/vulkan-cts-1.0.2-extensions
Change-Id: I03ac764c0248a7df434ff871abded41b1b03823e
Pyry Haulos [Tue, 10 Jan 2017 20:20:15 +0000 (12:20 -0800)]
Update mustpass version to 1.0.2 in README.md
Change-Id: Ia683c10238ede6a712a46d14d936ef0032937e9e
Pyry Haulos [Tue, 10 Jan 2017 20:18:31 +0000 (12:18 -0800)]
Merge gerrit/vulkan-cts-1.0.2 into gerrit/vulkan-cts-1.0.2-extensions
Change-Id: I9149408b579c01cd5d7c16bdcdf408aae6819501
Pyry Haulos [Sun, 8 Jan 2017 22:42:32 +0000 (14:42 -0800)]
Allow unknown KHX extensions
Affects:
dEQP-VK.api.info.instance.extensions
dEQP-VK.api.info.device.extensions
Change-Id: Iece3f83514f5f6e197fd0c1e1cf628f7cfe68bd2
Kalle Raita [Mon, 9 Jan 2017 18:44:27 +0000 (18:44 +0000)]
Merge "Remove two read-backs from copy image tests"
am:
7c1eed0087
Change-Id: I7f5dec4e41e0efee7bcb715167165a5af924cb5d
Kalle Raita [Mon, 9 Jan 2017 18:35:10 +0000 (18:35 +0000)]
Merge "Remove two read-backs from copy image tests"
Maciej Jesionowski [Mon, 9 Jan 2017 11:05:32 +0000 (12:05 +0100)]
Remove pooled objects from alloc_callback_fail group
The pooled objects (VkDescriptorSet and VkCommandBuffer) are properly
handled in the alloc_callback_fail_multiple group. The removed cases
were redundant, and also didn't work correctly with pooled objects.
Removed tests:
- dEQP-VK.api.object_management.alloc_callback_fail.descriptor_set
- dEQP-VK.api.object_management.alloc_callback_fail.command_buffer_primary
- dEQP-VK.api.object_management.alloc_callback_fail.command_buffer_secondary
Change-Id: I212b544096e6e1fd5b98c7985d836e41247107e9
Pyry Haulos [Wed, 4 Jan 2017 22:30:07 +0000 (14:30 -0800)]
Optimize swapchain OOM tests
Swapchain OOM tests were hitting timeouts on some platforms. This commit
optimizes the tests in two ways:
* VkInstance, VkDevice, and VkSurface are now re-used across all
sub-cases.
* Loop is re-written to avoid re-creating swapchains for parameters
0..N-1 when testing parameter combination N.
Affects: dEQP-VK.wsi.*.swapchain.simulate_oom.*
Bug:
33555898
(cherry picked from commit
2beac9057d9113ac306632d819ded852691a6842)
Change-Id: I19e9c7c8012a82cd12322a733afab961f4c7a1ae
Alexander Galazin [Mon, 9 Jan 2017 14:17:02 +0000 (15:17 +0100)]
Skip anisotropic filtering tests if the feature is not supported.
dEQP-VK.texture.filtering_anisotropy.* tests assume that an
implementation supports anisotropic filtering and should be skipped in
case VkPhysicalDeviceFeatures::samplerAnisotropy is VK_FALSE.
Fixes #570
Change-Id: I0601fe67a0e81b71670dac7ec8b83b4dc35c576c
Pyry Haulos [Fri, 6 Jan 2017 22:34:22 +0000 (22:34 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
am:
dd932ed858
Change-Id: I9f9dc0b846300251f91415f6f36cc94d76860e8b
Pyry Haulos [Fri, 6 Jan 2017 20:45:52 +0000 (12:45 -0800)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
Change-Id: I650f4ef2c848a0957f652b3bf8b17ee7a7e4319c
Pyry Haulos [Fri, 6 Jan 2017 20:44:57 +0000 (12:44 -0800)]
Merge gerrit/vulkan-cts-1.0.2 into gerrit/vulkan-cts-1.0.2-extensions
Change-Id: I71d19d9c1ad5542f7aa047820b48328e4b0f5c52
Pyry Haulos [Fri, 6 Jan 2017 20:44:56 +0000 (12:44 -0800)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0.2
Change-Id: Ic1b09c684e6535fcaba6e4d7dd407b2fbbe40b6d
Pyry Haulos [Wed, 4 Jan 2017 22:30:07 +0000 (14:30 -0800)]
Optimize swapchain OOM tests
Swapchain OOM tests were hitting timeouts on some platforms. This commit
optimizes the tests in two ways:
* VkInstance, VkDevice, and VkSurface are now re-used across all
sub-cases.
* Loop is re-written to avoid re-creating swapchains for parameters
0..N-1 when testing parameter combination N.
Affects: dEQP-VK.wsi.*.swapchain.simulate_oom.*
Bug:
33555898
Change-Id: Ib5e1a4944e4c400a5d430c5a3d20fe0930c6eed0
Lionel Landwerlin [Fri, 23 Dec 2016 17:11:14 +0000 (17:11 +0000)]
Skip unsupported attachment formats in granularity tests
Change-Id: Iffbd79d0ddb3c212f75895c266b3e3ec7d2a01da
Lionel Landwerlin [Fri, 23 Dec 2016 17:37:56 +0000 (17:37 +0000)]
Fix framebuffer number of layers in granularity tests
Change-Id: Idf2f1ee6f6f9ab5996ad5d07a7fed84241c57e9b
Pyry Haulos [Wed, 4 Jan 2017 21:46:48 +0000 (13:46 -0800)]
Reset Android window state when it is released
This avoids leaking window state between tests in WSI tests.
Affects: dEQP-VK.wsi.android.*
Change-Id: I618485fbbc1bb83c86437bb04fbcbfa65b4c04c2
Kenneth Graunke [Mon, 12 Sep 2016 19:37:08 +0000 (12:37 -0700)]
Fix internal format/type for ES3 3D + depth/stencil negative API tests.
This is a port of commit
ae7f8e0a07730e693b24d3dc7a23d2372319145e from
the ES 3.1 tests to the ES 3.0 tests.
According to the ES 3.2 specification:
"Textures with a base internal format of DEPTH_COMPONENT, DEPTH_STENCIL
or STENCIL_INDEX are supported by texture image specification commands
only if target is TEXTURE_2D, TEXTURE_2D_MULTISAMPLE, TEXTURE_2D_ARRAY,
TEXTURE_2D_MULTISAMPLE_ARRAY, TEXTURE_CUBE_MAP or TEXTURE_CUBE_MAP_ARRAY.
Using these formats in conjunction with any other target will result in
an INVALID_OPERATION error."
This subtest tried to check the above error condition, but it specified
GL_DEPTH_STENCIL / GL_DEPTH_COMPONENT as format, rather than internalFormat.
Since the above text calls out "base internal format", we should specify
it as internalFormat.
We also change GL_DEPTH_STENCIL to use GL_UNSIGNED_INT_24_8 rather than
GL_UNSIGNED_BYTE, as that combination was illegal for a different reason
than the one the test intended to check.
Affects dEQP-GLES3.functional.negative_api.texture.teximage3d.
Bug:
34103293
Change-Id: Ie01e2d130bb1cadc821153487e3e41593e3ca15e
Pyry Haulos [Thu, 5 Jan 2017 17:58:16 +0000 (09:58 -0800)]
Merge gerrit/vulkan-cts-1.0.2 into gerrit/vulkan-cts-1.0.2-extensions
Change-Id: I3f1dee7da1908243688e90bb6e2c577d62b0bae3
Pyry Haulos [Thu, 5 Jan 2017 17:58:15 +0000 (09:58 -0800)]
Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0.2
Change-Id: I4dc1513b1528b8182cfd75f4ed9184fa8f383e47
Pyry Haulos [Thu, 5 Jan 2017 17:58:14 +0000 (09:58 -0800)]
Merge gerrit/vulkan-cts-1.0.0 into gerrit/vulkan-cts-1.0.1
Change-Id: I3ace822f33fb20acd6109886458b0d16c1624bd5
Iago Toral Quiroga [Mon, 2 Jan 2017 11:22:29 +0000 (12:22 +0100)]
Fix assert for combined depth/stencil formats
This was using tcu::isCombinedDepthStencilType(format.type) for this,
but this only checks the type and for 24bit depth formats with a
x8 d24 setup it will incorrectly identify them as combined
depth/stencil even though the underlying format is depth-only. Fix
this by testing if the format has depth and stencil components
instead.
Prevents crashes in tests with the following signature (144 tests):
dEQP-VK.texture.shadow.*x8_d24*
Fixes #563
Change-Id: Ie43e140a0461de49c02e0d97eeed38fa8ef24040
Maciej Jesionowski [Thu, 15 Dec 2016 15:45:31 +0000 (16:45 +0100)]
Fix buffer size and alignment issues in api.buffer
- Don't use maxTexelBufferElements, it doesn't apply here
- Remove unused throw/catch blocks (catch block was never reachable)
- Add a case that exercises huge buffer sizes
- Add a check for sparseAddressSpaceSize
Modified tests:
- dEQP-VK.api.buffer.create_buffer_*
Fixes #558
Change-Id: Ia6b46d8c34a4eef4a6136532d0cb626d0b64b560
Nicolas Boichat [Sun, 18 Dec 2016 16:13:28 +0000 (00:13 +0800)]
Fix eglBindAPI negative test
It is ok for an implementation to not fail eglBindAPI if the current
display does not support the specified client API. However, in that
case, getConfig must not return any configuration for that specific
API.
Bug:
33278378
Affects: dEQP-EGL.functional.negative_api.bind_api
Test: Deploy to elm Chromebook, run with Cherry, test passes.
Change-Id: Idb86971de7a30e1aa78bb0951f971ed2829e2794
Maciej Jesionowski [Thu, 5 Jan 2017 10:21:40 +0000 (11:21 +0100)]
Update zlib and libpng dependencies
Fixes #568
Change-Id: I8ee890a2176bf6d42d3dd8b119b7263034127960
Pyry Haulos [Wed, 4 Jan 2017 19:08:45 +0000 (19:08 +0000)]
Merge "Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master"
am:
736c624044
Change-Id: I2deda8973d9320fa2955bedab4a1f0df91437da8
Pyry Haulos [Wed, 4 Jan 2017 19:08:45 +0000 (19:08 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master
am:
2d64b0f13c
Change-Id: I6687c416da26d524ddcf03ff4f9436e5dfd8980e
Treehugger Robot [Wed, 4 Jan 2017 19:03:50 +0000 (19:03 +0000)]
Merge "Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master"
Pyry Haulos [Wed, 4 Jan 2017 18:59:24 +0000 (18:59 +0000)]
DO NOT MERGE: Remove changed texel buffer access tests from mustpass am:
302bd7c6b3 -s ours
am:
6e07797321 -s ours
Change-Id: I6648789d8233bec4f5f06cf30149aa277af65277
Pyry Haulos [Wed, 4 Jan 2017 18:59:15 +0000 (18:59 +0000)]
DO NOT MERGE: Remove a few changed Vulkan tests from mustpass am:
09e8b66d03 -s ours
am:
bea56ac1e8 -s ours
Change-Id: I022e79b7061b6afe689cf94de6ee6571a0d08ff8
Pyry Haulos [Wed, 4 Jan 2017 18:52:48 +0000 (18:52 +0000)]
DO NOT MERGE: Remove changed texel buffer access tests from mustpass
am:
302bd7c6b3 -s ours
Change-Id: I1cefd7be538f766444576ae02a4b28b639a3e8cb
Pyry Haulos [Wed, 4 Jan 2017 18:52:44 +0000 (18:52 +0000)]
DO NOT MERGE: Remove a few changed Vulkan tests from mustpass
am:
09e8b66d03 -s ours
Change-Id: I595b0c3b589b73c806145602957875b57cffe84a
Mark Adams [Wed, 4 Jan 2017 18:45:13 +0000 (18:45 +0000)]
Add support for EGL_EXT_pixel_format_float
am:
08d24954e0
Change-Id: I40b0f3d8ea9630deceb134487903e2379b72d6de