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:27:14 +0000 (18:27 +0000)]
Merge "Add support for EGL_EXT_pixel_format_float" into nougat-cts-dev
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
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
Daniel Xie [Tue, 13 Sep 2016 17:08:42 +0000 (17:08 +0000)]
Merge "CP: Require 'master' config to be supported in Android CTS" into nougat-cts-dev am:
84173082ee am:
72e1df9930
am:
f750d4ffc3
Change-Id: Ic95669b52788fb2db64600d60d81dedb9922e131
Pyry Haulos [Tue, 13 Sep 2016 17:08:41 +0000 (17:08 +0000)]
CP: Require 'master' config to be supported in Android CTS am:
03d217bb53 am:
e0c1316159
am:
a2d72443d6
Change-Id: I9357289519bb18cf7edeac5c8d6cf333ee7f42a8
Daniel Xie [Tue, 13 Sep 2016 17:08:41 +0000 (17:08 +0000)]
Merge "CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests" into nougat-cts-dev am:
1ad2703e25 am:
d93a153fd4
am:
2e528153da
Change-Id: If4ff2c47885f0687d3a81bff6b5bd2fabaccf36b
Pyry Haulos [Tue, 13 Sep 2016 17:08:40 +0000 (17:08 +0000)]
CP: Handle EGL_EXT_yuv_surface in eglChooseConfig() tests am:
521bb16575 am:
fdd3db3693
am:
16ba586a00
Change-Id: I8f963a73bb5babe30698640a09c94fe86b00653b
Daniel Xie [Tue, 13 Sep 2016 17:08:40 +0000 (17:08 +0000)]
Merge "Remove a few EGL tests using RGBA4 format from mustpass" into nougat-cts-dev am:
451fa7c581 am:
99925909af
am:
1820fdbedc
Change-Id: Ic9f6e63ad79f6d28fc6bc83d064cbb29f982e145
Pyry Haulos [Tue, 13 Sep 2016 17:06:10 +0000 (17:06 +0000)]
Remove a few EGL tests using RGBA4 format from mustpass am:
3ffc2f243a am:
04c959ca67
am:
9833f3493e
Change-Id: I11a46eae2fa503c7f727c7aa4263808575f63796
Daniel Xie [Tue, 13 Sep 2016 17:06:09 +0000 (17:06 +0000)]
Merge "CP: Reduce max iter count in alloc_callback_fail.device" into nougat-cts-dev am:
a268fcbaff am:
a489f7548d
am:
9efea4025d
Change-Id: Ied051797fc0515252976bc51aa79b378e002d027
Pyry Haulos [Tue, 13 Sep 2016 17:06:09 +0000 (17:06 +0000)]
CP: Reduce max iter count in alloc_callback_fail.device am:
ef5688dda6 am:
69c9f158f3
am:
41d571f045
Change-Id: I4ba241c492ae1f3d2b268c66374b344615414928
Daniel Xie [Tue, 13 Sep 2016 17:05:14 +0000 (17:05 +0000)]
Merge changes I212a8bc2,I476b6586 into nougat-cts-dev am:
83683a367f am:
b97e86700f
am:
91a977c1d3
Change-Id: I66df11cc48ca8bda0a0f828bc39a8ed364511976
Pyry Haulos [Tue, 13 Sep 2016 17:05:10 +0000 (17:05 +0000)]
DO NOT MERGE Allow old behavior in image format property tests am:
0825a289c0 -s ours am:
29574ad7e7
am:
48cfb69133
Change-Id: Ieaef8c30c57fb48c10cf37d2de3c11c8d1069707
Nanley Chery [Tue, 13 Sep 2016 17:05:06 +0000 (17:05 +0000)]
CP: Fix required sample count tests am:
f6a815214a am:
dd22d24f36
am:
8b3a1c98ee
Change-Id: Ifb8ea4ff7f2e517b9a1207915cae9f354ce63bb8
Daniel Xie [Tue, 13 Sep 2016 17:05:06 +0000 (17:05 +0000)]
Merge "CP: Fix ext check in EXT_draw_buffers_indexed negative tests" into nougat-cts-dev am:
f594c550af am:
c961253471
am:
52d1a05322
Change-Id: I4e00125e90b728dba8fc6b67caa5592acfd812d6