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: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
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
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
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
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
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
Mark Adams [Wed, 14 Dec 2016 22:02:52 +0000 (17:02 -0500)]
Add support for EGL_EXT_pixel_format_float
This updates the egl.xml version and identifies/skips the float configs
Bug:
32969314
Change-Id: Iacfdf6b1c32c86ea0e6f80ca7ebaaeef583d1135
Merged-In: Iadeb0d4a76a06b2be716f3e76a1cc9fb69aff16a
Pyry Haulos [Wed, 4 Jan 2017 16:20:43 +0000 (08:20 -0800)]
DO NOT MERGE: Remove changed texel buffer access tests from mustpass
NYC CTS bug-fix changes the SPIR-V for these tests causing drivers that
passed old CTS fail the new version.
Bug:
33041922
Change-Id: I7e23a700693d5e6ee7c4264e05d449f49f820516
Pyry Haulos [Wed, 4 Jan 2017 00:45:19 +0000 (16:45 -0800)]
DO NOT MERGE: Remove a few changed Vulkan tests from mustpass
Original NYC CTS was decorating struct member locations differently and
this was later fixed causing drivers that pass original NYC CTS fail.
Bug:
34060750
Bug:
33041922
Change-Id: I3fe33960a74fb8f568aa7e1327bc09de8bc3df41
Tina Zhou [Wed, 21 Dec 2016 22:32:08 +0000 (22:32 +0000)]
Merge "Blacklist match_different_[member_]struct_names SSO validation tests." into nougat-cts-dev
Tina Zhou [Wed, 21 Dec 2016 22:31:04 +0000 (22:31 +0000)]
Merge "Change GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax to 2048" into nougat-cts-dev
Tina Zhou [Wed, 21 Dec 2016 22:30:03 +0000 (22:30 +0000)]
Merge changes I7c2ffd66,Ib53b245d,I4862cca3 into nougat-cts-dev
* changes:
Update glslang to d02dc5d
Cherry-pick SPIR-V ClipDistance validation fixes
Cherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev
Nicolas Boichat [Tue, 20 Dec 2016 18:55:24 +0000 (18:55 +0000)]
GetDevices: Also allow `\.` to be part of the host name
am:
dbf9715509
Change-Id: I659ce579867c7ca0c9b47e3b53a734265e0fbb26
Kenneth Graunke [Thu, 8 Dec 2016 22:09:31 +0000 (14:09 -0800)]
Blacklist match_different_[member_]struct_names SSO validation tests.
This patch blacklists the following tests:
- dEQP-GLES31.functional.separate_shader.validation.varying.match_different_struct_names
- dEQP-GLES31.functional.separate_shader.validation.io_blocks.match_different_member_struct_names
The resolution of Khronos 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.
See https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15866 and Khronos
legacy CTS commit
1607a3ce7caa5736471fb460d08130e62d689351.
Bug:
33457655
Nicolas Boichat [Wed, 30 Nov 2016 04:14:52 +0000 (12:14 +0800)]
GetDevices: Also allow `\.` to be part of the host name
Useful when connecting over TCP to a device with a given IP.
Change-Id: Ibe3b75e5ba3ab0ff90219bb31d45e21d8f5fd61b
Pyry Haulos [Tue, 29 Nov 2016 23:24:17 +0000 (15:24 -0800)]
Update glslang to d02dc5d
Bug:
33041922
(cherry picked from commit
4e1f56d2457e0c8736e3e92c48bd8df0c309d600)
Change-Id: I7c2ffd66f55cafa402ffc7a0222973e282f4825f
Pyry Haulos [Wed, 23 Nov 2016 00:13:32 +0000 (16:13 -0800)]
Cherry-pick SPIR-V ClipDistance validation fixes
These fixes are needed in order for SPIR-V validation to pass when
shaders are compiled with a newer glslang version.
Bug:
33041922
Explicitly declare gl_PerVertex block
This fixes SPIR-V validation error in shaders generated from GLSL (not ES)
due to missing ClipDistance capability.
(cherry picked from commit
0a6fe1448b303a6a4e4ab48712eaf1c0b16d75b1)
Explicitly declare gl_PerVertex in push constant tests
(cherry picked from commit
cba5d02d184b771bc4a21b8aecbbde3377d86167)
Change tes/geom shaders in timestamp tests use 310 es
Vertex and fragment shaders were already using that GLSL version.
(cherry picked from commit
d47309690aa9b2e685b267ea6395e88b32c855a8)
Change ubo and ssbo tests to use 310 es shaders
(cherry picked from commit
4d36051923691c5f92cf3615e82d30d54ed3b09b)
Explicitly declare gl_PerVertex in dynamic viewport state tests
(cherry picked from commit
816c46d518d08a4ff321ca93780f2786fa86ba60)
Explicitly declare gl_PerVertex in occlusion query tests
(cherry picked from commit
a1257f69aa6008d4e5a22148a43d59692eb24822)
Change-Id: Ib53b245d25c6cbc345a88e8b247f01ac7cf8a541
Pyry Haulos [Mon, 21 Nov 2016 23:54:55 +0000 (15:54 -0800)]
Cherry-pick dEQP-VK.pipeline.cache fixes to nougat-cts-dev
Bug:
33041922
Validation fixes in dEQP-VK.pipeline
- Corrected out of range minDepthBounds value
- Added missing image layout transitions
- timestamp, cache tests: pass data through geometry shader
- cache test: use correct initialLayout in attachment when starting
a second render pass
(cherry picked from commit
1d3585c5ec71cf90d6519913db6a01ef2c0f840c)
Fix use of out-of-scope struct in pipeline cache tests
Fixes #363
(cherry picked from commit
1ec71c633e5755a1932c1da7692aef69b66999db)
Pipeline cache test: fix SPIRV validation error
(cherry picked from commit
89cce75bae9beb123311281386fb59b8da59052b)
Change-Id: I4862cca352955c33d04540f2f881760f4e4ffd65
Pyry Haulos [Tue, 15 Nov 2016 18:34:57 +0000 (10:34 -0800)]
Change GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS minmax to 2048
Google bug:
33105204
Khronos bug: 12823
(cherry picked from commit
fe6bb67987a4d7fc59739c878e658f2a6d071cde)
Change-Id: I56fcc4ce527c31e48004c43e43e2ec994675e1b4
Tina Zhou [Thu, 17 Nov 2016 17:10:28 +0000 (17:10 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmallow-cts-dev
am:
a5af1b076f
Change-Id: I01c65d693d7ad5befe9244cb0d24814750a80bd2
Kenneth Graunke [Thu, 17 Nov 2016 17:10:28 +0000 (17:10 +0000)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA.
am:
ea5589c748
Change-Id: I7358276f100608371da5b44ebc8e102a54706197
Tina Zhou [Thu, 17 Nov 2016 17:10:12 +0000 (17:10 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev
am:
d962b86909
Change-Id: I6a82d71f2fed9f848a953ae21c30079bacb07052
Kenneth Graunke [Thu, 17 Nov 2016 17:10:05 +0000 (17:10 +0000)]
Fix internal format/type for 3D + depth/stencil negative API tests.
am:
d2f3b468db
Change-Id: Id43b369d67e04cf3a6d6b5b4e3303f02c7a35b87
Tina Zhou [Thu, 17 Nov 2016 17:03:36 +0000 (17:03 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmallow-cts-dev
Tina Zhou [Thu, 17 Nov 2016 17:02:44 +0000 (17:02 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev
Tina Zhou [Thu, 17 Nov 2016 00:43:40 +0000 (00:43 +0000)]
Merge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev
am:
6cea9dbc62
Change-Id: I3525d88dbc3e04b702cef54d1759f406222047b2
Chun-Ta Lin [Thu, 17 Nov 2016 00:43:39 +0000 (00:43 +0000)]
Add the support to device connection via TCP/IP
am:
4ccc9fd56c
Change-Id: I16ab5038ff64448458aaafc7bda43128e0941e4e
Tina Zhou [Thu, 17 Nov 2016 00:38:13 +0000 (00:38 +0000)]
Merge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev
Aaron Holden [Tue, 15 Nov 2016 01:47:00 +0000 (17:47 -0800)]
Add runtime to CtsDeqpTestCases
Test: cts-tradefed run cts -m CtsDeqpTestCases
Bug:
32843094
Change-Id: I6ea71f0d6658b1f06354374ece54743609472345
Tina Zhou [Wed, 19 Oct 2016 16:20:00 +0000 (16:20 +0000)]
Merge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into nougat-cts-dev am:
544e0e3b1d am:
af005183c6
am:
3af556fa23
Change-Id: I9a5b99b40e09e860493289e2f3973693dfae4e1b
Pyry Haulos [Wed, 19 Oct 2016 16:19:50 +0000 (16:19 +0000)]
Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch am:
37e360591e am:
b403d93667
am:
7d57783e07
Change-Id: Ic6c1712918f49ea26ba6e1b04df3a89a70ed183f
Tina Zhou [Wed, 19 Oct 2016 16:19:40 +0000 (16:19 +0000)]
Merge "CP: Use empty region when buffer age is not supported" into nougat-cts-dev am:
b82263e2ad am:
bde74aec80
am:
c3471eb1c7
Change-Id: Iacdc2ad1d317c6f9d7493e55b7fa2b0e1b7d57b0
Kalle Raita [Wed, 19 Oct 2016 16:19:30 +0000 (16:19 +0000)]
CP: Use empty region when buffer age is not supported am:
8230646213 am:
3e8d57ed32
am:
24169a1c92
Change-Id: Ib438b68f3350ad8d6151bded88655ac018266beb
Tina Zhou [Wed, 19 Oct 2016 16:19:20 +0000 (16:19 +0000)]
Merge "Fix deStrnlen fall-back implementation" into nougat-cts-dev am:
a04db6628e am:
4e28a717a1
am:
9bcd2cdcae
Change-Id: If301d2d8f861b82163e8bb994e6a9c0f17b4856f
Pyry Haulos [Wed, 19 Oct 2016 16:19:10 +0000 (16:19 +0000)]
Fix deStrnlen fall-back implementation am:
54ebe093a9 am:
7595269a79
am:
a1e1fe14f0
Change-Id: I598d2d500934589cb72020e765db4f6e64a5a139
Tina Zhou [Wed, 19 Oct 2016 16:19:00 +0000 (16:19 +0000)]
Merge "Remove a few preprocessor cases testing undefined behavior" into nougat-cts-dev am:
4275d2099c am:
6fd85eb3eb
am:
2ba9b99e0a
Change-Id: I9c3d6299bbf151b67388d8134074c10296c4a6e7
Pyry Haulos [Wed, 19 Oct 2016 16:18:50 +0000 (16:18 +0000)]
Remove a few preprocessor cases testing undefined behavior am:
e5f7483417 am:
b9a2f1b768
am:
d280df3576
Change-Id: Id3487e97793d846b6bc94b74f0fdd7451c5b1854
Tina Zhou [Wed, 19 Oct 2016 16:18:39 +0000 (16:18 +0000)]
Merge "Check for shader type support in negative precise tests" into nougat-cts-dev am:
c30d04b8e7 am:
3766bd80e2
am:
298ccacd02
Change-Id: Iaf1631e7e6e8a1cafb87ada92ea19b98ea8678b3
Pyry Haulos [Wed, 19 Oct 2016 16:18:30 +0000 (16:18 +0000)]
Check for shader type support in negative precise tests am:
4a3a2d79a0 am:
dd142e90db
am:
def3338070
Change-Id: I3aa2f3fed7c80c8bc73fa0a7739e9cabcb334e57
Tina Zhou [Wed, 19 Oct 2016 16:18:20 +0000 (16:18 +0000)]
Merge "Check for shader type support in negative shader directive tests" into nougat-cts-dev am:
a3513e86ff am:
5b8758faed
am:
17116fd375
Change-Id: Ifd080a3bb8d7bb3577f5e449021e00df0c482922
Pyry Haulos [Wed, 19 Oct 2016 16:18:10 +0000 (16:18 +0000)]
Check for shader type support in negative shader directive tests am:
cf6e6ab134 am:
b9611b0106
am:
86ccb86120
Change-Id: Idf4a87f74cbc3811f34fbbf4faed61de5e0787eb
Tina Zhou [Wed, 19 Oct 2016 16:12:06 +0000 (16:12 +0000)]
Merge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into nougat-cts-dev am:
544e0e3b1d
am:
af005183c6
Change-Id: I3e3e1d659be0fc0578865a3337e0b57a06faf61e
Pyry Haulos [Wed, 19 Oct 2016 16:11:57 +0000 (16:11 +0000)]
Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch am:
37e360591e
am:
b403d93667
Change-Id: If4fd03357aa68b214494c8929b9cf66b466776fe
Tina Zhou [Wed, 19 Oct 2016 16:11:48 +0000 (16:11 +0000)]
Merge "CP: Use empty region when buffer age is not supported" into nougat-cts-dev am:
b82263e2ad
am:
bde74aec80
Change-Id: I2cc5a7e5167269fc6d645ba4c38d293326f35a1b
Kalle Raita [Wed, 19 Oct 2016 16:11:38 +0000 (16:11 +0000)]
CP: Use empty region when buffer age is not supported am:
8230646213
am:
3e8d57ed32
Change-Id: I87a375b2e1bf59cd6e37e25448efabd9b95d2417
Tina Zhou [Wed, 19 Oct 2016 16:11:26 +0000 (16:11 +0000)]
Merge "Fix deStrnlen fall-back implementation" into nougat-cts-dev am:
a04db6628e
am:
4e28a717a1
Change-Id: I6569f8641fe6100c2fbc55f5d1acc16656a96714
Pyry Haulos [Wed, 19 Oct 2016 16:11:15 +0000 (16:11 +0000)]
Fix deStrnlen fall-back implementation am:
54ebe093a9
am:
7595269a79
Change-Id: Ia25c802d2e44c303f4a806f5d1a4192d57812def
Tina Zhou [Wed, 19 Oct 2016 16:11:05 +0000 (16:11 +0000)]
Merge "Remove a few preprocessor cases testing undefined behavior" into nougat-cts-dev am:
4275d2099c
am:
6fd85eb3eb
Change-Id: Ib02b23f1e4d5228e5f6083356e3f0a3e097b7de1
Pyry Haulos [Wed, 19 Oct 2016 16:10:54 +0000 (16:10 +0000)]
Remove a few preprocessor cases testing undefined behavior am:
e5f7483417
am:
b9a2f1b768
Change-Id: Iea559ff6b6034b32acaaa281517d4273e685a625
Tina Zhou [Wed, 19 Oct 2016 16:10:43 +0000 (16:10 +0000)]
Merge "Check for shader type support in negative precise tests" into nougat-cts-dev am:
c30d04b8e7
am:
3766bd80e2
Change-Id: Id9c518c494b6819864067fbed557e49a06e9e7fd
Pyry Haulos [Wed, 19 Oct 2016 16:10:31 +0000 (16:10 +0000)]
Check for shader type support in negative precise tests am:
4a3a2d79a0
am:
dd142e90db
Change-Id: I0c5c34b72bd25a57a580862513b5f3645c508818
Tina Zhou [Wed, 19 Oct 2016 16:10:20 +0000 (16:10 +0000)]
Merge "Check for shader type support in negative shader directive tests" into nougat-cts-dev am:
a3513e86ff
am:
5b8758faed
Change-Id: Ia547c4b669db5dc68cc8cd7e88d69fac14492ece
Pyry Haulos [Wed, 19 Oct 2016 16:10:10 +0000 (16:10 +0000)]
Check for shader type support in negative shader directive tests am:
cf6e6ab134
am:
b9611b0106
Change-Id: I3b20c7bfd20498fb30435c43c83eb48950048c79
Tina Zhou [Wed, 19 Oct 2016 16:03:30 +0000 (16:03 +0000)]
Merge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into nougat-cts-dev
am:
544e0e3b1d
Change-Id: I439ee038030d31d881b960e18e74c90ad5aaa715
Pyry Haulos [Wed, 19 Oct 2016 16:03:28 +0000 (16:03 +0000)]
Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch
am:
37e360591e
Change-Id: Id51782afaadec6423de58d37244379f2c7735c33
Tina Zhou [Wed, 19 Oct 2016 16:03:10 +0000 (16:03 +0000)]
Merge "CP: Use empty region when buffer age is not supported" into nougat-cts-dev
am:
b82263e2ad
Change-Id: I230028994f151af0e6217a19cd6bf8a844a04c18
Kalle Raita [Wed, 19 Oct 2016 16:03:09 +0000 (16:03 +0000)]
CP: Use empty region when buffer age is not supported
am:
8230646213
Change-Id: I1e8ab9b30a092e01819b6407355afdbb45cf58f3
Tina Zhou [Wed, 19 Oct 2016 16:02:52 +0000 (16:02 +0000)]
Merge "Fix deStrnlen fall-back implementation" into nougat-cts-dev
am:
a04db6628e
Change-Id: I4b9714e9f3ba652f3189eff0c3b6b03ca7ac6bb3
Pyry Haulos [Wed, 19 Oct 2016 16:02:51 +0000 (16:02 +0000)]
Fix deStrnlen fall-back implementation
am:
54ebe093a9
Change-Id: If90c8f969bd9cf37b9ddbe9c31a08122c1598915
Tina Zhou [Wed, 19 Oct 2016 16:02:34 +0000 (16:02 +0000)]
Merge "Remove a few preprocessor cases testing undefined behavior" into nougat-cts-dev
am:
4275d2099c
Change-Id: I514595f06bdb6696df75ae43c48d17eaad639142
Pyry Haulos [Wed, 19 Oct 2016 16:02:33 +0000 (16:02 +0000)]
Remove a few preprocessor cases testing undefined behavior
am:
e5f7483417
Change-Id: I31e3ce2fa07318eb8ea9e66477feec0a14c99be9
Tina Zhou [Wed, 19 Oct 2016 16:02:16 +0000 (16:02 +0000)]
Merge "Check for shader type support in negative precise tests" into nougat-cts-dev
am:
c30d04b8e7
Change-Id: Ice84fe27adfd1431ccea1ce4447c6f0c35b6829f
Pyry Haulos [Wed, 19 Oct 2016 16:02:15 +0000 (16:02 +0000)]
Check for shader type support in negative precise tests
am:
4a3a2d79a0
Change-Id: I692aa0dee742a63681c63a9d456abf23524a48d7
Tina Zhou [Wed, 19 Oct 2016 16:01:56 +0000 (16:01 +0000)]
Merge "Check for shader type support in negative shader directive tests" into nougat-cts-dev
am:
a3513e86ff
Change-Id: I0fbd1021df1228603f6f1a796ca0a33228fd709b
Pyry Haulos [Wed, 19 Oct 2016 16:01:56 +0000 (16:01 +0000)]
Check for shader type support in negative shader directive tests
am:
cf6e6ab134
Change-Id: I6f0f66275bc56d78f5afd0410cc3a51dae7afad2
Tina Zhou [Wed, 19 Oct 2016 15:59:19 +0000 (15:59 +0000)]
Merge "Check for EXT_color_buffer_float in read_pixels_fbo_format_mismatch" into nougat-cts-dev
Tina Zhou [Wed, 19 Oct 2016 15:58:07 +0000 (15:58 +0000)]
Merge "CP: Use empty region when buffer age is not supported" into nougat-cts-dev
Tina Zhou [Wed, 19 Oct 2016 15:56:53 +0000 (15:56 +0000)]
Merge "Fix deStrnlen fall-back implementation" into nougat-cts-dev
Tina Zhou [Wed, 19 Oct 2016 15:56:21 +0000 (15:56 +0000)]
Merge "Remove a few preprocessor cases testing undefined behavior" into nougat-cts-dev
Tina Zhou [Wed, 19 Oct 2016 15:52:15 +0000 (15:52 +0000)]
Merge "Check for shader type support in negative precise tests" into nougat-cts-dev
Tina Zhou [Wed, 19 Oct 2016 15:50:37 +0000 (15:50 +0000)]
Merge "Check for shader type support in negative shader directive tests" into nougat-cts-dev
Kenneth Graunke [Sun, 4 Sep 2016 07:34:47 +0000 (00:34 -0700)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA.
The dEQP-GLES31.functional.shaders.sample_variables.sample_mask_in.
bit_count_per_two_samples.multisample_{texture,renderbuffer}_{1,2}
tests report:
Verifying gl_SampleMaskIn.
Fragment shader may be invoked [ceil(numSamples/2), numSamples] times.
=> gl_SampleMaskIn should have the number of bits set in range
[1, numSamples - ceil(numSamples/2) + 1]:
which suggests that maxBitCount should be ceil(2/2) + 1 = 1 + 1 = 2.
However, it then says:
Setting minBitCount = 1, maxBitCount = 1.
Having two bits should be acceptable for 2x MSAA.
This patch drops the special case for 1x/2x MSAA, making them work
like all the other MSAA levels.
Change-Id: Ie615c82150588dab53226dc46670182a29d85ef5
(cherry picked from commit
724519b8fda9c2a92d646c3dfd1478e0daa282e9)
Kenneth Graunke [Mon, 12 Sep 2016 19:37:08 +0000 (12:37 -0700)]
Fix internal format/type for 3D + depth/stencil negative API 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.
Change-Id: I44bf607533b59f93fa42415bd6cad8783352582d
(cherry picked from commit
ae7f8e0a07730e693b24d3dc7a23d2372319145e)
Pyry Haulos [Thu, 7 Jul 2016 21:58:52 +0000 (14:58 -0700)]
Fix deStrnlen fall-back implementation
Fixes #423
Bug:
31952754
(cherry picked from commit
038db60bcbb1cdaf0157e5176af6422bda13ff28)
Change-Id: I7f22c2f0d325ecd2a57462f324214b7009c18782
Pyry Haulos [Wed, 12 Oct 2016 17:38:47 +0000 (17:38 +0000)]
Cherry-pick image_format_properties changes from upstream am:
43227ff1db am:
2ede225b00
am:
12ead731f2
Change-Id: I2f27c7ccae2459bd61ae73bd3a803f77ba4bd598
Pyry Haulos [Wed, 12 Oct 2016 17:31:47 +0000 (17:31 +0000)]
Cherry-pick image_format_properties changes from upstream am:
43227ff1db
am:
2ede225b00
Change-Id: I8373112a6c00da3c0edae493981e9e033d27d47d
Pyry Haulos [Wed, 12 Oct 2016 17:25:16 +0000 (17:25 +0000)]
Cherry-pick image_format_properties changes from upstream
am:
43227ff1db
Change-Id: Iba326543c4e2217759996d5ec5ff5184174f1d67
Pyry Haulos [Tue, 11 Oct 2016 17:24:27 +0000 (10:24 -0700)]
Cherry-pick image_format_properties changes from upstream
Bug:
31732496
Contains 4 commits:
1: Fix dEQP-VK.api.info.image_format_properties - TRANSIENT usage flag used with DMA flags
(cherry picked from commit
83f90be9118a121b47f5e16f04029e205c68f994)
2: Fix VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT handling in query tests
83f90be9 added a check that was intended to make tests treat combination
of TRANSIENT_ATTACHMENT_BIT with non-RT usages invalid. However, that
change was buggy and lead the tests to treat _all_ usages of
TRANSIENT_ATTACHMENT_BIT invalid and thus skip testing them.
(cherry picked from commit
570326e5c8d85fe16fa6ce36de73c8f9bcba4d3e)
3: Do not require TRANSIENT usage support without other RT usages
Affects dEQP-VK.api.info.image_format_properties.*
See CTS issue #507 and spec issue #540
(cherry picked from commit
377ad0ad5962351d14badb1857b55dc8e8e49218)
4: Fix required sample counts per spec issue 478
Affects dEQP-VK.api.info.image_format_properties.*
See CTS issue #507 and spec issue #478
(cherry picked from commit
02c61e30f50cb04505f421b1ebe07c4a42864acf)
Change-Id: I4c714f887c1554994f90ec361ed44876465cd5a3
Pyry Haulos [Tue, 11 Oct 2016 15:57:23 +0000 (15:57 +0000)]
Revert "DO NOT MERGE Check only valid usages in image format query tests"
Bug:
31732496
This reverts commit
c41d4d842779226853f8338e45aa3336b92e2699.
Change-Id: Ie27f075e0f0abb9e5172e2b0420b87d0d08750ad
Mika Isojärvi [Fri, 7 Oct 2016 00:26:22 +0000 (17:26 -0700)]
DO NOT MERGE Check only valid usages in image format query tests
Skip image usage flags that contain VK__IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT
and some incompatible bits or only VK__IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT.
Bug:
31732496
Change-Id: I24a688005aaa2c1546842148492831e66b76c5e6
Pyry Haulos [Thu, 29 Sep 2016 17:11:52 +0000 (10:11 -0700)]
Remove a few preprocessor cases testing undefined behavior
Bug:
27126954
Change-Id: I1ee7ca0c0102b6273b1bc165b3d1ad24cee449e2
Pyry Haulos [Wed, 31 Aug 2016 16:45:39 +0000 (09:45 -0700)]
DO NOT MERGE Allow old behavior in image format property tests
Vulkan API specification has changed in respect to what sample counts
vkGetPhysicalDeviceImageFormatProperties() should report. The change has
been made after initial Android Nougat drivers were frozen. For NYC CTS
we need to tolerate the old behavior and issue compatibility warning
instead.
Bug:
30739954
Bug:
31516480
(cherry picked from commit
0825a289c0d3fc796906790e0190e5771843c4e1)
Change-Id: I40168152251c7ae55d3eaa995bcf44e9f7cec04f
Daniel Xie [Wed, 14 Sep 2016 18:47:57 +0000 (18:47 +0000)]
Merge "CP: Split load/store image tests into sub-groups" into nougat-cts-dev am:
ec5c5c216e am:
c992a8ba9d
am:
9ddfc1fee2
Change-Id: Id818e9ab4a7dda439ed497a4d01d0bd2fe782533
Kalle Raita [Wed, 14 Sep 2016 18:47:56 +0000 (18:47 +0000)]
CP: Split load/store image tests into sub-groups am:
b172f9eb57 am:
8afe1d6b23
am:
26df49710f
Change-Id: I8cb807ff774d7073519206e098e12966a61e7871
Daniel Xie [Wed, 14 Sep 2016 18:41:54 +0000 (18:41 +0000)]
Merge "CP: Split load/store image tests into sub-groups" into nougat-cts-dev am:
ec5c5c216e
am:
c992a8ba9d
Change-Id: I56c5d4e1a0ca5fdb91b2bf6a3b72a4590ce8ed48
Kalle Raita [Wed, 14 Sep 2016 18:41:54 +0000 (18:41 +0000)]
CP: Split load/store image tests into sub-groups am:
b172f9eb57
am:
8afe1d6b23
Change-Id: Ib26511830bd315177922615543f9592c2496564a
Daniel Xie [Wed, 14 Sep 2016 18:38:57 +0000 (18:38 +0000)]
Merge "CP: Split load/store image tests into sub-groups" into nougat-cts-dev
am:
ec5c5c216e
Change-Id: Ie5a92b067caf223b0df3b07f451579454bd1debc
Kalle Raita [Wed, 14 Sep 2016 18:38:57 +0000 (18:38 +0000)]
CP: Split load/store image tests into sub-groups
am:
b172f9eb57
Change-Id: I073d39676cbe70007fa730e6279cea49c1f3758a
Daniel Xie [Wed, 14 Sep 2016 18:15:10 +0000 (18:15 +0000)]
Merge "CP: Split load/store image tests into sub-groups" into nougat-cts-dev