Pyry Haulos [Fri, 21 Apr 2017 00:06:00 +0000 (00:06 +0000)]
Update Android CTS Vulkan waivers list to match Khronos CTS
am:
96cb702688
Change-Id: I1fec35b071d94ca81a3dcaa96cb111fa3f7101bc
Pyry Haulos [Thu, 20 Apr 2017 22:36:04 +0000 (15:36 -0700)]
Update Android CTS Vulkan waivers list to match Khronos CTS
Bug:
36817508
Change-Id: Ib394652ca3229a06704a83bea53806a3397c7ec3
Jamie Madill [Thu, 20 Apr 2017 19:11:08 +0000 (15:11 -0400)]
Remove printfs from qpTestLog
These clutter up the standard output with shader compile times.
Also remove qpTestLog_writeMessage since it didn't seem to be used.
Change-Id: I218651f37ff6c9f40f6e81115f7fc64adb8d8500
Pyry Haulos [Thu, 20 Apr 2017 17:20:14 +0000 (10:20 -0700)]
Merge vk-gl-cts/master into aosp/deqp-dev
Chris Forbes [Wed, 31 Aug 2016 00:13:10 +0000 (17:13 -0700)]
Add tests for storage buffer unsized array length
Verifies that the length observed in the shader is correct, when binding
a portion of a buffer. Covers both the case where an explicit length of
the binding is given, and when VK_WHOLE_SIZE is used.
VK-GL-CTS issue: 449
Components: Vulkan
Change-Id: I9e30b2b56e4de888bb02fef3de1370fcd106c845
Mika Isojärvi [Tue, 28 Mar 2017 20:45:01 +0000 (13:45 -0700)]
Add render pass multisample resolve tests
- Check that attachment components are resolved consistently
- Check that attachments are resolved consistently
- Check that integer formats always resolve to one of the samples
- Check that empty sample mask doesn't change values
- Check that all possible sample combinations of 1.0 and 0.0 values
resolve to 0.5 on average.
VK-GL-CTS issues: 96
Components: Vulkan
Change-Id: I18b92ed713175cd935651575f4e48d9fd207ef00
Mika Isojärvi [Tue, 21 Mar 2017 23:12:51 +0000 (16:12 -0700)]
Add multisample renderpass input attachment tests
VK-GL-CTS issues: 96
Components: Vulkan
Change-Id: I9ea87736c82148515da3c2d95301e6302be4257d
Pyry Haulos [Thu, 20 Apr 2017 16:32:30 +0000 (09:32 -0700)]
Merge aosp/deqp-dev into vk-gl-cts/master
Change-Id: Ib50d43dd6d3ba38a146e5266f1036fd27beb279b
Components: AOSP
Pyry Haulos [Thu, 20 Apr 2017 16:27:29 +0000 (09:27 -0700)]
Fix GCC 6.3 warnings in SRGB write control tests
Change-Id: I6f0f2054a50288a1c65bbd9693e9382d8f69bbcd
Alexander Galazin [Wed, 19 Apr 2017 16:39:18 +0000 (16:39 +0000)]
Ensure expected error in copytexsubimage2d_incomplete_framebuffer
am:
89bb39d249
Change-Id: I43f1e866fb5b932720623e55b1ee2aa2f14bb1d2
Alexander Galazin [Wed, 19 Apr 2017 15:44:36 +0000 (17:44 +0200)]
Update KC CTS reference
Affects:
GTF-GLES2.gtf.GL2ExtensionTests.egl_create_context.egl_create_context
Components: OpenGL
VK-GL-CTS issue: 353
Change-Id: I95dd480216a685e79c5dc936f1ee59c4eda714aa
Alexander Galazin [Wed, 19 Apr 2017 06:33:39 +0000 (08:33 +0200)]
Ensure expected error in copytexsubimage2d_incomplete_framebuffer
The GLES2 version of the copytexsubimage2d_incomplete_framebuffer test could
potentially throw INVALID_OPERATION instead of expected INVALID_FRAMEBUFFER_OPERATION
due to the cubemap texture not being defined by a previous TexImage2D.
This change re-uses the GLES3 version of the same test and ensures that
INVALID_FRAMEBUFFER_OPERATION is thrown.
Affects:
dEQP-GLES2.functional.negative_api.texture.copytexsubimage2d_incomplete_framebuffer
Change-Id: I7b3f770ff31c73d770a53f6b6bdae3ea4a37b63a
Components: AOSP
Google bug:
37497541
Alexander Galazin [Wed, 19 Apr 2017 15:23:58 +0000 (17:23 +0200)]
Exclude dEQP-GLES2.functional.negative_api.texture.copytexsubimage2d_incomplete_framebuffer
Affects:
dEQP-GLES2.functional.negative_api.texture.copytexsubimage2d_incomplete_framebuffer
Components: OpenGL
VK-GL-CTS issue: 380
Change-Id: Ie30686686d9c2829e23f86b3ff1292ddcb2614fe
Alexander Galazin [Wed, 5 Apr 2017 13:08:54 +0000 (15:08 +0200)]
Add negative tests for implicit conversions
Implicit conversion are forbidden in GLES
unless GL_EXT_shader_implicit_conversions is supported.
This change adds negative tests for implicit conversions.
GL_EXT_shader_implicit_conversions is specified against
ESSL 3.10, therefore it should be fine to add the negative
tests to dEQP-GLES2/dEQP-GLES3
Components: AOSP
Affects:
dEQP-GLES2.functional.shaders.invalid_implicit_conversions.*
dEQP-GLES3.functional.shaders.invalid_implicit_conversions.*
VK-GL-CTS issue: 142
Change-Id: I3afb0a5f2074868f882644ad830e4159747e4b14
Alexander Galazin [Tue, 18 Apr 2017 11:30:18 +0000 (13:30 +0200)]
Exclude dEQP-GLES2.functional.flush_finish.flush
Affects:
dEQP-GLES2.functional.flush_finish.flush
Components: OpenGL
VK-GL-CTS issue: 375
Change-Id: I1751a07886650114734ed656c30f754cb470b1c1
Alexander Galazin [Tue, 18 Apr 2017 11:20:06 +0000 (13:20 +0200)]
Exclude dEQP-GLES2.functional.polygon_offset.*render_with_units
Affects:
dEQP-GLES2.functional.polygon_offset.default_render_with_units
dEQP-GLES2.functional.polygon_offset.fixed16_render_with_units
Components: OpenGL
VK-GL-CTS issue: 374
Change-Id: I51b635df479215e5a5886e0a2ff23ec8363b1acf
Alexander Galazin [Tue, 18 Apr 2017 10:46:17 +0000 (12:46 +0200)]
Exclude few dEQP-GLES2.functional.*.nested_structs_arrays tests
Affects:
dEQP-GLES2.functional.uniform_api.info_query.nested_structs_arrays.mat4_mat2_vertex
dEQP-GLES2.functional.uniform_api.info_query.nested_structs_arrays.mat4_mat2_both
dEQP-GLES2.functional.uniform_api.value.initial.get_uniform.nested_structs_arrays.mat4_mat2_vertex
dEQP-GLES2.functional.uniform_api.value.initial.get_uniform.nested_structs_arrays.mat4_mat2_both
dEQP-GLES2.functional.uniform_api.value.initial.render.nested_structs_arrays.mat4_mat2_vertex
dEQP-GLES2.functional.uniform_api.value.initial.render.nested_structs_arrays.mat4_mat2_both
dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_uniform.nested_structs_arrays.mat4_mat2_vertex
dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.get_uniform.nested_structs_arrays.mat4_mat2_both
dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.render.nested_structs_arrays.mat4_mat2_vertex
dEQP-GLES2.functional.uniform_api.value.assigned.by_pointer.render.nested_structs_arrays.mat4_mat2_both
Components: OpenGL
VK-GL-CTS issue: 373
Change-Id: I343b177810bc37d6199c0135a591e2148f687ebd
Alexander Galazin [Tue, 18 Apr 2017 10:39:00 +0000 (12:39 +0200)]
Exclude dEQP-GLES2.functional.attribute_location.bind_aliasing.max_cond*
Affects:
dEQP-GLES2.functional.attribute_location.bind_aliasing.max_cond_float
dEQP-GLES2.functional.attribute_location.bind_aliasing.max_cond_vec2
dEQP-GLES2.functional.attribute_location.bind_aliasing.max_cond_vec3
dEQP-GLES2.functional.attribute_location.bind_aliasing.max_cond_vec4
dEQP-GLES2.functional.attribute_location.bind_aliasing.max_cond_mat2
dEQP-GLES2.functional.attribute_location.bind_aliasing.max_cond_mat3
dEQP-GLES2.functional.attribute_location.bind_aliasing.max_cond_mat4
Components: OpenGL
VK-GL-CTS issue: 372
Change-Id: I74de43935fc3ead5008ce5f31439716f5600ef35
Pyry Haulos [Tue, 18 Apr 2017 00:09:01 +0000 (00:09 +0000)]
DEPTH_STENCIL_OES as tex format requires OES_depth_texture
am:
8290443470
Change-Id: I84e9f7f9e732a2b5c728dd2cd35a68198d091fad
Pyry Haulos [Mon, 17 Apr 2017 19:34:26 +0000 (12:34 -0700)]
DEPTH_STENCIL_OES as tex format requires OES_depth_texture
Affects:
dEQP-GLES2.functional.fbo.completeness.*
dEQP-GLES3.functional.fbo.completeness.*
Bug:
36727598
Change-Id: Ic79408c21b80ea458baecf79c042e2694e72e0b2
Brian Anderson [Wed, 12 Apr 2017 21:35:14 +0000 (21:35 +0000)]
eglGetFrameTimestamps: Use reserved enum values.
am:
84574b5c7b
Change-Id: I00ff6beadd8056729afb3f607efb4786b4287fbb
Brian Anderson [Wed, 12 Apr 2017 21:35:12 +0000 (21:35 +0000)]
eglGetFrameTimestamps: Allow optional present support.
am:
afb7428641
Change-Id: Ie0bdecf04dca30dfe9aa6e3e600c81317df15b7d
Brian Anderson [Wed, 12 Apr 2017 21:35:10 +0000 (21:35 +0000)]
eglGetFrameTimestamps: pending vs. invalid timestamps.
am:
b4e217e4a1
Change-Id: Ie88254e6829e2f5526240ad05a7d6b3e4010b3c8
Brian Anderson [Wed, 12 Apr 2017 00:06:53 +0000 (17:06 -0700)]
eglGetFrameTimestamps: Use reserved enum values.
Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Brian Anderson [Wed, 5 Apr 2017 19:42:52 +0000 (12:42 -0700)]
eglGetFrameTimestamps: Allow optional present support.
Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: I5cfb334966f7f2794fe0043e1809de324a6e3d0e
Brian Anderson [Tue, 21 Mar 2017 20:03:33 +0000 (13:03 -0700)]
eglGetFrameTimestamps: pending vs. invalid timestamps.
Test: --deqp-case=dEQP-EGL*get_frame_timestamps*
Change-Id: I27718995c82748b55bc53e4d78a7f572e16a45ab
Alexander Galazin [Wed, 12 Apr 2017 15:04:55 +0000 (17:04 +0200)]
Exclude dEQP-GLES2.functional.fragment_ops.depth_stencil.stencil_ops.*
Affects: dEQP-GLES2.functional.fragment_ops.depth_stencil.stencil_ops.*
Components: OpenGL
VK-GL-CTS issue: 370
Change-Id: Ifc25a189fa4ebf6cd36d0f07ec0af1c6f329b24a
Pyry Haulos [Wed, 12 Apr 2017 04:04:36 +0000 (12:04 +0800)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Change-Id: I396972ad31a87e7e88b69c05595393af3f990540
Pyry Haulos [Wed, 12 Apr 2017 03:44:44 +0000 (20:44 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Pyry Haulos [Wed, 12 Apr 2017 03:43:22 +0000 (11:43 +0800)]
Merge vk-gl-cts/vulkan-cts-1.0.0 into vk-gl-cts/vulkan-cts-1.0.1
Change-Id: Iff109ea0dba048599d3deb4d8f42a7cac8b62283
Pyry Haulos [Wed, 12 Apr 2017 03:08:15 +0000 (11:08 +0800)]
Fix typo in dE-IT.build_info.de_endianness_consistent name
Components: AOSP
Change-Id: Ie2cb1335834c010251021bac6b3882a37ede3f75
Ian Romanick [Tue, 11 Apr 2017 17:22:52 +0000 (17:22 +0000)]
Merge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts-dev am:
aeef6dd8f5 am:
a4ddab16dd
am:
8ca5b73a02
Change-Id: I278dbd93f410e6880a0a9d5b10d0c1268fa43f26
Ian Romanick [Tue, 11 Apr 2017 17:17:48 +0000 (17:17 +0000)]
Merge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts-dev am:
aeef6dd8f5
am:
a4ddab16dd
Change-Id: I18fe6a8ba3ba328513afdf1f5e5d32db6de32373
Ian Romanick [Tue, 11 Apr 2017 17:13:17 +0000 (17:13 +0000)]
Merge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts-dev
am:
aeef6dd8f5
Change-Id: I8300511b30c7bd03885a6cb019970852f7e72693
Treehugger Robot [Tue, 11 Apr 2017 16:56:42 +0000 (16:56 +0000)]
Merge "Try harder to defeat GLSL compiler dead-code optimizations" into nougat-cts-dev
Ian Romanick [Thu, 10 Nov 2016 01:29:01 +0000 (17:29 -0800)]
Try harder to defeat GLSL compiler dead-code optimizations
A number of CTS tests generate shaders like like:
#version 310 es
buffer TargetInterface
{
highp float target;
};
highp vec4 readInputs()
{
highp vec4 retValue = vec4(0.0);
retValue += vec4(float(target));
return retValue;
}
void writeOutputs(in highp vec4 dummyValue)
{
target = float(dummyValue.y);
}
void main()
{
writeOutputs(readInputs());
}
After various common optimizations this becomes:
buffer TargetInterface
{
highp float target;
};
void main()
{
target = target;
}
In the absence of memoryBarrier() or qualifiers on the buffer, there is
no guarantee about the order of writes to the buffer. Since this write
is not guaranteed to be visible either on the GPU or the CPU, we
eliminate it. Since there is no access to target in the shader, we
report GL_REFERENCED_BY_FRAGMENT_SHADER = GL_FALSE. The tests expect
GL_TRUE.
The vectored versions of this test swizzle the value read from the
buffer before writing it back. These writes are not eliminated.
Adding a uniform instead of a literal constant also prevents the reads
and writes of the SSBO from being eliminated.
v2: Ignore the uniform named "zero" in
ResourceListTestCase::verifyResourceList. The alternative was to add
zero to the resource list, but that required making small changes
(mostly removing const) from over a dozen places in the code. This
slightly hacky, but localized, change seemed better.
v3: Various coding standards fixes suggested by Alexander Galazin and
Pyry. Add getDummyZeroUniformName to query name of the zero uniform and
a lot more documentation. Both suggested by Pyry.
The following tests are affected:
- dEQP-GLES31.functional.program_interface_query.buffer_variable.random.6
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.compute.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.separable_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_fragment_only_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_geo_fragment_only_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_geo_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_tess_fragment_only_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_tess_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_tess_geo_fragment_only_fragment.unnamed_block.float
- dEQP-GLES31.functional.program_interface_query.buffer_variable.referenced_by.vertex_tess_geo_fragment.unnamed_block.float
Change-Id: I867ad32476269ac1272c09672be0a6d6fe37e31e
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Bugzilla: https://cvs.khronos.org/bugzilla/show_bug.cgi?id=16114
Google bug:
37228062
Kalle Raita [Fri, 7 Apr 2017 19:46:05 +0000 (19:46 +0000)]
Merge "Allow robustness tests on GLES 3.0"
am:
ab3013ef10
Change-Id: If45ff3202fd0a0683567d879d188cae2833ceece
Kalle Raita [Fri, 7 Apr 2017 19:42:06 +0000 (19:42 +0000)]
Merge "Allow robustness tests on GLES 3.0"
Kalle Raita [Thu, 30 Mar 2017 17:23:47 +0000 (10:23 -0700)]
Allow robustness tests on GLES 3.0
Allow selected robustness tests run on GLES 3.0 instead of always
requiring 3.1.
Affects: dEQP-EGL.functional.robustness.*
Bug:
36428911
Test: dEQP-EGL.functional.robustness.* on Pixel XL
Change-Id: I78f543dcd667b5121f61150b082fd4a4a9c14b23
Adam Czupryna [Fri, 3 Mar 2017 14:31:25 +0000 (15:31 +0100)]
Add CTS_ARB_indirect_parameters specification proposal
This is CTS_ARB_indirect_parameters specification proposal.
components: OpenGL
VK-GL-CTS issue: 194
Change-Id: I3c59cedfe75f4c757bae3fbfb2a6b3759f5903a9
Adam Czupryna [Fri, 10 Mar 2017 14:46:53 +0000 (15:46 +0100)]
Add CTS_ARB_indirect_parameters implementation
This is CTS_ARB_indirect_parameters tests implementation
Affects:
GL45-CTS.indirect_parameters_tests.*
Components: OpenGL, Framework
VK-GL-CTS issue: 194
Change-Id: Ibddff6daf485a9d673cf1b09554c01b8b83958e1
Slawomir Cygan [Wed, 5 Apr 2017 10:05:52 +0000 (12:05 +0200)]
copy_image test: do not require compressed formats on CM_ARRAY
Spec:
"An INVALID_OPERATION error is generated by TexImage3D if internalformat
is one of the EAC, ETC2, or RGTC compressed formats and either border is non-zero,
or target is not TEXTURE_2D_ARRAY."
Affects:
GL44-CTS.copy_image.incompatible_formats_compression
Components: OpenGL
VK-GL-CTS issue: 352
Change-Id: I77cbc09c2383d7d055776e1665f25b8c6051ee7d
Weiwan Liu [Fri, 31 Mar 2017 22:51:24 +0000 (15:51 -0700)]
Redeclare built-in variables in separable shaders
Change adds redeclaration of the built-in gl_perVertex struct
before using any of its member variables. Per spec, it is
necessary to do so for separable shaders.
Affects:
KHR-GL45.shader_image_size.* (46 tests)
Component: OpenGL
VK-GL-CTS issue: 343
Change-Id: I53372e9d98ee96201ab7f760e7ed16d78832f283
James Helferty [Thu, 6 Apr 2017 18:55:44 +0000 (14:55 -0400)]
Allow PROVOKING_VERTEX for LAYER_PROVOKING_VERTEX
OpenGL differs from ES in that it allows GL_PROVOKING_VERTEX as a valid
response to a query about GL_LAYER_PROVOKING_VERTEX. In this case, the
test needs to then retrieve and use the value of GL_PROVOKING_VERTEX.
Affects:
KHR-GLES31.core.geometry_shader.layered_rendering.layered_rendering
KHR-GLES32.core.geometry_shader.layered_rendering.layered_rendering
KHR-GL44.geometry_shader.layered_rendering.layered_rendering
KHR-GL45.geometry_shader.layered_rendering.layered_rendering
(without the mustpass list patch applied, KHR-GLxx.* are GLxx-CTS.*)
Components: OpenGL
VK-GL-CTS issue: 341
Change-Id: I3fbd87f1ec47ee08f6584c4be27b41e80bc4e750
Kenneth Graunke [Fri, 24 Mar 2017 15:59:04 +0000 (08:59 -0700)]
Set nearest filtering in GL CopyImage tests.
glCopyImageSubData requires textures to be mipmap complete. These
tests create integer textures, but left the default min filter of
GL_NEAREST_MIPMAP_LINEAR or GL_LINEAR (for rectangle textures) in
place. The completeness rules say that integer textures cannot be
mipmap complete with linear filtering.
Affects:
- GL45-CTS.copy_image.smoke_test
- GL45-CTS.copy_image.incompatible_formats
- GL45-CTS.copy_image.incompatible_formats_compression
Components: OpenGL
Khronos bugzilla: 16224
VK-GL-CTS issue: 330
Change-Id: I9554402ce348eb7dda63bf01b0548f68374d334a
Thomas Spurden [Thu, 23 Mar 2017 13:58:40 +0000 (13:58 +0000)]
Enable rasterizer discard for fma_precision tests
The gpu_shader5.fma_precision_* tests do not write to gl_Position in the
vertex shader as the only useful output from the tests is from transform
feedback. This leaves the gl_Position value undefined, causing
inconsistent results in our regression tests. Other similar tests (e.g.
fma_accuracy) do enable rasterizer discard.
Affects:
KHR-GLES31.core.gpu_shader5.fma_precision_float
KHR-GLES31.core.gpu_shader5.fma_precision_vec2
KHR-GLES31.core.gpu_shader5.fma_precision_vec3
KHR-GLES31.core.gpu_shader5.fma_precision_vec4
KHR-GLES32.core.gpu_shader5.fma_precision_float
KHR-GLES32.core.gpu_shader5.fma_precision_vec2
KHR-GLES32.core.gpu_shader5.fma_precision_vec3
KHR-GLES32.core.gpu_shader5.fma_precision_vec4
KHR-GLESEXT.gpu_shader5.fma_precision_float
KHR-GLESEXT.gpu_shader5.fma_precision_vec2
KHR-GLESEXT.gpu_shader5.fma_precision_vec3
KHR-GLESEXT.gpu_shader5.fma_precision_vec4
Components: OpenGL
VK-GL-CTS issue: 324
Change-Id: I955cf1bd7a31c1e67ecb613ecd0cedb58c8befe2
Slawomir Cygan [Mon, 20 Mar 2017 18:49:34 +0000 (19:49 +0100)]
Fix unaligned XFB stores in GL44-CTS.gpu_shader_fp64.built_in_functions test
This change aligns all values in result buffer passed through transform
feedback to component size. This is done by aligning each variable in
result, so as per-vertex stride.
Spec:
"The results of appending a
varying variable to a transform feedback buffer are undefined if any
component of that variable would be written at an offset not aligned to
the size of the component."
Components: OpenGL
VK-GL-CTS issue: 263
Affects test:
GL44-CTS.gpu_shader_fp64.built_in_functions
Change-Id: I74a02b161c06d8fb2d755d0fcf6211677a003e17
Alejandro Piñeiro [Wed, 22 Feb 2017 10:57:08 +0000 (11:57 +0100)]
DirectStateAccessTexturesTests: fixes for textures_storage_errors
This commit fixes two situations while testing
TextureStorage2DMultisample and TextureStorage3DMultisample:
1. While testing a wrong target, the test was expecting
INVALID_ENUM. But, from OpenGL 4.5 spec, section 8.19
Immutable-Format Texture Images:
"An INVALID_ENUM error is generated by TexStorage2DMultisample if
target is not TEXTURE_2D_MULTISAMPLE or
PROXY_TEXTURE_2D_MULTISAMPLE.
An INVALID_OPERATION error is generated by
TextureStorage2DMultisample if the effective target is not
TEXTURE_2D_MULTISAMPLE."
2. While testing samples > MAX_SAMPLES, the test was expecting
INVALID_VALUE. But from OpenGL 4.5 spec, section 8.19
Immutable-Format Texture:
"Calling TexStorage2DMultisample is equivalent to calling
TexImage2DMultisample with the equivalently named parameters set
to the same values, except that the resulting texture has
immutable format."
so going back to OpenGL 4.5 spec, section 8.8 Multisample
Textures:
"An INVALID_OPERATION error is generated if samples is greater than
the maximum number of samples supported for this target and
internalformat. The maximum number of samples supported can be
determined by calling GetInternalformativ with a pname of SAMPLES
(see section 22.3)."
Affects:
GL45-CTS.direct_state_access.textures_storage_errors
Components: OpenGL
VK-GL-CTS issue: 183
Change-Id: I7484afba1bbadb1ab6ad8fc1a9e4a455ec2f84f5
Alexander Galazin [Fri, 7 Apr 2017 07:57:27 +0000 (09:57 +0200)]
Update GLES mustpass after AOSP merge
Components: OpenGL
Change-Id: Ie89739862c0d5bf7995f341cb626b1a5ddfb2d5b
Pyry Haulos [Thu, 6 Apr 2017 22:35:17 +0000 (22:35 +0000)]
Merge vulkan-cts-1.0.2 into aosp/master
am:
55da06144c
Change-Id: I6f5bb189fa1db31bc18acc50340113dd359da968
Pyry Haulos [Thu, 6 Apr 2017 22:05:11 +0000 (15:05 -0700)]
Merge vk-gl-cts/master into aosp/deqp-dev
Pyry Haulos [Thu, 6 Apr 2017 22:04:12 +0000 (22:04 +0000)]
Merge "x11_egl: search for glesv1_cm, toggle DEQP_SUPPORT_GLES1 on if found"
am:
89c3844ccb
Change-Id: I173509e62c9d905f6dcf4b5163c98d2ba82e7473
Pyry Haulos [Thu, 6 Apr 2017 22:02:17 +0000 (15:02 -0700)]
Merge vulkan-cts-1.0.2 into aosp/master
Contains following fixes that have been made after vulkan-cts-1.0.2.2:
* Fix - uniform buffer incorrectly dereferenced
* Use vkGetInstanceProcAddr(NULL) to load platform funcs
* Imgtec Waiver for texture_gather*cube*depth32f*
* Add VK_KHR_incremental_present to the list of allowed device
extensions
* Use -std=c++03 with GCC and clang
* Fix GCC 6.3 warnings in vulkan-cts-1.0.2
* Improve check_build_sanity.py
* Relax image verification in anisotropic filtering tests
* Respect maxColorAttachments in image tests
* Fix SPIR-V generation in dEQP-VK.spirv_assembly
* Fix - depth/stencil images mandatory only for VK_IMAGE_TYPE_2D
* Add missing barrier in ssbo layout tests
This merge doesn't match any Vulkan CTS release tag.
Bug:
36899783
Bug:
36817508
Change-Id: I5dff02835e5296e1c25ba67675c06e2261e5c476
Pyry Haulos [Thu, 6 Apr 2017 22:00:39 +0000 (22:00 +0000)]
Merge "x11_egl: search for glesv1_cm, toggle DEQP_SUPPORT_GLES1 on if found"
Pyry Haulos [Thu, 6 Apr 2017 18:04:38 +0000 (11:04 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Change-Id: I17256fdcfe30d879548307bf5feb61a3ecd4ff39
Pyry Haulos [Thu, 6 Apr 2017 18:04:35 +0000 (11:04 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: Iaedfbb3579c55d33ebfc415197a67b8145725f4f
Marcin Kańtoch [Tue, 4 Apr 2017 12:31:34 +0000 (14:31 +0200)]
Fix - uniform buffer incorrectly dereferenced
Uniform buffer is incorrectly dereferenced in
ssbo layout tests.
Affected tests: dEQP-VK.ssbo.layout.*
Change-Id: I5831ad75f558f8992bed6bdc48b1833d2ee13d26
Pyry Haulos [Wed, 5 Apr 2017 18:05:03 +0000 (11:05 -0700)]
Use vkGetInstanceProcAddr(NULL) to load platform funcs
Vulkan specification says that only vkGetInstanceProcAddr() has to be
loaded using platform-specific means. Other 'platform'-class functions,
listed below, can be loaded using vkGetInstanceProcAddr(NULL, pName).
Following functions are loaded with vkGetInstanceProcAddr():
* vkEnumerateInstanceExtensionProperties
* vkEnumerateInstanceLayerProperties
* vkCreateInstance
Change-Id: Iab0657bf93d3a36e4f4dda4a1f1550024db0890e
Pyry Haulos [Thu, 6 Apr 2017 17:45:23 +0000 (17:45 +0000)]
Do not re-init GL functions after context reset
am:
72c880b4c9
Change-Id: Ibe9564fccb61261dffba6f5fdefcccad755b31ba
Pyry Haulos [Thu, 6 Apr 2017 16:03:37 +0000 (09:03 -0700)]
Do not re-init GL functions after context reset
SharedContextResetCase was calling initGLFunctions() using a context
belonging to a share group where context reset has occurred.
initGLFunctions() calls glGetError() internally and at that point it
would return GL_CONTEXT_LOST.
Affects:
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.shared_context_status.vertex
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.shared_context_status.fragment
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.shared_context_status.vertex_and_fragment
dEQP-EGL.functional.robustness.reset_context.shaders.infinite_loop.shared_context_status.compute
Bug:
37077017
Change-Id: I27ae0951565760dee0bcc5040bb02a45c8f568f3
Pyry Haulos [Wed, 5 Apr 2017 18:34:56 +0000 (11:34 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.2 into vk-gl-cts/master
Change-Id: I8acaa616704915c8cb487ff9be2445b6b9ba26be
Pyry Haulos [Wed, 5 Apr 2017 18:34:23 +0000 (11:34 -0700)]
Merge vk-gl-cts/vulkan-cts-1.0.1 into vk-gl-cts/vulkan-cts-1.0.2
Change-Id: I2614d3a7ce451d47418e7c850a7c2c372f2189a9
Alex Walters [Mon, 3 Apr 2017 10:46:36 +0000 (11:46 +0100)]
Imgtec Waiver for texture_gather*cube*depth32f*
Some versions of Imagination Technologies G6200, G6230, G6400, and
G6430 Rogue Series 6 GPU's are unable to correctly filter CEM corners
with F32 textures, this includes the ability to gather texels for texel
gather instructions.
This CL excludes the affected tests from mustpass.
Affects:
All dEQP-VK.glsl.texture_gather.basic.cube.depth32f* tests except:
dEQP-VK.glsl.texture_gather.basic.cube.depth32f.no_corners*
Components: Vulkan
VK-GL-CTS issue: 336
Change-Id: I4e20d887ad2901f78a7af326035d7a2a9ae5e76a
Alexander Galazin [Wed, 5 Apr 2017 16:50:08 +0000 (18:50 +0200)]
Exclude tests that require non-default context
Components: OpenGL
Affects:
KHR-GLES32.context_flags.*
KHR-GLES32.robust.*
VK-GL-CTS issue: 354
Change-Id: I3103afa5d8a284919b5edb9e5fa2113e0236be86
Alexander Galazin [Wed, 5 Apr 2017 16:10:08 +0000 (16:10 +0000)]
Fix shader bugs in OOB tests
am:
cf65c56fb4
Change-Id: I317e6a3e2db1bf7b4dcfd19f5664ce1046237350
Daniel Koch [Sat, 25 Mar 2017 15:19:06 +0000 (11:19 -0400)]
Avoid resource errors on Android
- Specify offscreen surface for debug tests
- avoid creating additional contexts for fbo configs
Some platforms cannot create more than one native window,
so specify an offscreen surface for windowed mode tests
and make the tests unsupported in fbo-based runs
(which don't respect the surface type requests).
These all work now with the window config pass, and return
NOT_SUPPORTED on the fbo passes. Ideally we'd have a new
test run for this type of test that doesn't create it's own
context in the first place, but that is more involved than
we want to handle currently.
VK-GL-CTS Issue: 328, 333
Component: OpenGL
Affects:
KHR-GL45.khr_debug.* (or GL45-CTS.khr_debug.* if not using new mustpass)
KHR-GL45.robustness.* (or GL45-CTS.robustness.* if not using new mustpass)
KHR-GLES32.robust.robustness.*
KHR-GLES32.context_flags.*
Change-Id: I76b89e9b025a26314004093a1781ba4e887604be
Tapani Pälli [Wed, 5 Apr 2017 06:39:17 +0000 (09:39 +0300)]
x11_egl: search for glesv1_cm, toggle DEQP_SUPPORT_GLES1 on if found
Some tests require GLES1 support and report test failure if support
has not been built. Patch changes build time configure to check GLES1
via pkg-config. If it is found, we turn on GLES1 support so that tests
will run and pass.
Change-Id: I586464c5fb7bffc40355caf57b30438f37ce1f6c
Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Alexander Galazin [Wed, 5 Apr 2017 07:30:06 +0000 (09:30 +0200)]
Fix shader bugs in OOB tests
1. Check that the required number of vertex shader storage blocks is supported,
throw NotSupported otherwise.
2. Use an array instead of a vector in local_array tests.
3. Try harder to defeat compiler optimizations on arrays, i.e. initialize it
with different values.
Components: AOSP
Affects:
dEQP-EGL.functional.robustness.reset_context.shaders.out_of_bounds_non_robust.*.shader_storage_block.vertex*
dEQP-EGL.functional.robustness.reset_context.shaders.out_of_bounds_non_robust.*.local_array.*
Google bug:
36891454
Change-Id: I2aeb2d454295993126d4048759e5981421d5c0db
Iago Toral Quiroga [Tue, 4 Apr 2017 09:50:37 +0000 (11:50 +0200)]
Add VK_KHR_incremental_present to the list of allowed device extensions
Otherwise dEQP-VK.api.info.device.extensions will fail
for drivers that expose the extension.
Components: Vulkan
VK-GL-CTS issue: 346
Affects:
dEQP-VK.api.info.device.extensions
Change-Id: If1a5d971226adca2bfd1586cb1f568e2ca244b6d
Pyry Haulos [Tue, 4 Apr 2017 21:52:52 +0000 (14:52 -0700)]
Merge aosp/master into aosp/deqp-dev
Pyry Haulos [Tue, 4 Apr 2017 19:24:22 +0000 (12:24 -0700)]
Fix warnings reported by VS2013
Change-Id: Ic8af18719b586d974917258d7cd51dd4b6305eb6
Components: Vulkan
Pyry Haulos [Tue, 4 Apr 2017 19:04:40 +0000 (19:04 +0000)]
Merge "merge in nyc-mr1-release history after reset to nyc-mr1-dev am:
868a8938ca am:
aea1bbfaa2 am:
5c1cc6ba46 am:
f7c84f0b66" into nyc-mr2-dev-plus-aosp
am:
dbffc02c54
Change-Id: Id237c5b8b3ee060a4b588449786699dec7b60e39
Pyry Haulos [Tue, 4 Apr 2017 19:04:25 +0000 (19:04 +0000)]
merge in nyc-mr1-release history after reset to nyc-mr1-dev am:
868a8938ca am:
aea1bbfaa2 am:
5c1cc6ba46 am:
faa38a20ac
am:
5d20376574
Change-Id: I0b53d03d09f02c14fc8c6a305b202d93d89e7e22
Kalle Raita [Tue, 4 Apr 2017 19:03:52 +0000 (19:03 +0000)]
Merge "Non-compressed copy image target size (64,64,8)" am:
beba5d481a am:
9bbc395b49 am:
c842de9d14
am:
392263d752
Change-Id: I0007ed9a7a65cd3e7f553989241a379e4fd20401
Jamie Madill [Tue, 4 Apr 2017 19:03:39 +0000 (19:03 +0000)]
Merge "Allow ANGLE_depth_texture for FBO completeness." am:
a8249e3a00 am:
8542846868 am:
c7265ec450
am:
41bf5eddb0
Change-Id: I3875c23842f3236babbabebd2554060fb031ead6
John Richardson [Tue, 4 Apr 2017 19:03:22 +0000 (19:03 +0000)]
Merge "Extend primitive_bounding_box negative tests" am:
1975e3bd28 am:
4983f5a49f am:
a4941127f1
am:
a4ffba40b9
Change-Id: I8ad270531112937e443e0b924278563191c639e4
John Richardson [Tue, 4 Apr 2017 19:03:10 +0000 (19:03 +0000)]
Add shader storage negative coverage tests am:
51e20f1e25 am:
299bbc9a59 am:
c960c8b34e
am:
d9e474e1dc
Change-Id: I8a72c871885eea9849d376809a2af400e118747f
Jamie Madill [Tue, 4 Apr 2017 19:02:56 +0000 (19:02 +0000)]
Encode es3pBufferDataUploadTests.cpp as utf-8 am:
455d82c60b am:
ee11c5503a am:
48a17ce6e5
am:
d026022f0b
Change-Id: Ia733f8ffa3c7eb36feee62ebf3e5ae5c9604f822
Pyry Haulos [Tue, 4 Apr 2017 19:02:42 +0000 (19:02 +0000)]
Merge gerrit/vulkan-cts-1.0-dev into aosp/master am:
6c4fe5bd7a am:
ebebe7d3b9 am:
99ddee4d78
am:
95e52cd9ec
Change-Id: I47ca80abdb9b5d5ec845d5ba59ee3bc59ee46605
Tina Zhou [Tue, 4 Apr 2017 19:02:29 +0000 (19:02 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmallow-cts-dev am:
a5af1b076f am:
c1a3067570 am:
effd4e62e5 am:
225502d2cc am:
4d04016fad am:
67dc3662e1 am:
d64c35a5e6 am:
87a4ffcd07 am:
1094f351d1 am:
03feaffb1a
am:
efcf4f78ee
Change-Id: I56bd784bc1d4743ccd7324629d8842bea8f1e0bf
Kenneth Graunke [Tue, 4 Apr 2017 19:01:48 +0000 (19:01 +0000)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA. am:
ea5589c748 am:
5613abd15f am:
1d0056de13 am:
a4c8f24941 am:
1f1491167d am:
5ac1b7c804 am:
f9ca1468a7 am:
9ee0dc70fc am:
62d5098093 am:
e312424670
am:
9af7fa21c6
Change-Id: I9d650c7d426bc2d60d76ba655e957daca4540e66
Tina Zhou [Tue, 4 Apr 2017 19:01:33 +0000 (19:01 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev am:
d962b86909 am:
b5ef7ae649 am:
5702f3e5ae am:
a8564b49db am:
3126b25e64 am:
d1109cef09 am:
bd34d84e25 am:
94862a44ee am:
ec07f24c86 am:
5ed58f8a01
am:
4e8fdb91b5
Change-Id: Ibad2e9e21334ebcf35f6f626ba2b4b0525ac51ba
Kenneth Graunke [Tue, 4 Apr 2017 19:01:21 +0000 (19:01 +0000)]
Fix internal format/type for 3D + depth/stencil negative API tests. am:
d2f3b468db am:
1d20a4108b am:
200b407779 am:
c6382e2e23 am:
a9d8fe46b4 am:
4cf7816eac am:
ca0f4e0cbb am:
84b462d0fb am:
7551b11773 am:
4fd6e71479
am:
ca6b5e82b6
Change-Id: I040711790269c6d8e5da6d03419930909de3ba29
Tina Zhou [Tue, 4 Apr 2017 19:01:09 +0000 (19:01 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmallow-cts-dev am:
a5af1b076f am:
c2c27aa562 am:
e5d1db1d75 am:
5eed9806da am:
ac4f7241a1 am:
5fa7a52fee am:
9a321f7ce8
am:
bffab895c0
Change-Id: Ic2aa5f17252570924d4c249c124479e2729ee58c
Kenneth Graunke [Tue, 4 Apr 2017 19:00:58 +0000 (19:00 +0000)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA. am:
ea5589c748 am:
ab691d3f7e am:
5a273080f0 am:
6558869cb1 am:
f9dac85ad7 am:
d0e437bcd7 am:
6e33228e52
am:
f91febb8f8
Change-Id: Ibb4e7c8f10a65a4eb0dd79e9cdba177adee4cc8c
Tina Zhou [Tue, 4 Apr 2017 19:00:47 +0000 (19:00 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev am:
d962b86909 am:
080d0d5005 am:
fa420a10e2 am:
54684887a6 am:
4c9703fccd am:
ac60fa9f6c am:
0fa50ddbfb
am:
d815f2956a
Change-Id: I540b213b800a8bc436bdc924f884205077515487
Kenneth Graunke [Tue, 4 Apr 2017 19:00:36 +0000 (19:00 +0000)]
Fix internal format/type for 3D + depth/stencil negative API tests. am:
d2f3b468db am:
f5414b15bb am:
3a520ad416 am:
24aa8651ff am:
081007dbd3 am:
0209a8e015 am:
c8400b10a3
am:
11b6b6353f
Change-Id: I3ec1544a13927f84ba265166140d9ced0ed1ed91
Tina Zhou [Tue, 4 Apr 2017 19:00:24 +0000 (19:00 +0000)]
Merge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev am:
6cea9dbc62 am:
fa02db7127 am:
c099989faf am:
6570dc4744 am:
2cb5f272cf am:
1dabb154d5 am:
a7d55ba5a8 am:
ab0806ca20 am:
4b9b3cda97 am:
3cddb833e9
am:
0eb4e456b9
Change-Id: Ibdeb84179be504fd098715db35b420028407600c
Chun-Ta Lin [Tue, 4 Apr 2017 19:00:12 +0000 (19:00 +0000)]
Add the support to device connection via TCP/IP am:
4ccc9fd56c am:
548e356569 am:
cceb936715 am:
c627567fb6 am:
41db2c5a2a am:
71e9173e0f am:
f1855db31d am:
da8bbdcb87 am:
a01270f22a am:
9f9439f10a
am:
91dd1a43d2
Change-Id: Ib79845834b3f34ccc9196d550debe8063310725f
Tina Zhou [Tue, 4 Apr 2017 19:00:00 +0000 (19:00 +0000)]
Merge "Add the support to device connection via TCP/IP" into marshmallow-cts-dev am:
6cea9dbc62 am:
87d5ca1e30 am:
7ab3863a95 am:
889e4ea697 am:
e82b53127b am:
2b6f277417 am:
4eb2933ecd
am:
87d753030d
Change-Id: Ic19d6d2303a623cc3f008f76d7c4eac413154b7c
Chun-Ta Lin [Tue, 4 Apr 2017 18:59:46 +0000 (18:59 +0000)]
Add the support to device connection via TCP/IP am:
4ccc9fd56c am:
7e2d9f83ff am:
1fcf1c0083 am:
6cab656d32 am:
f6caf46da6 am:
ba4c42a3d4 am:
a91e820425
am:
2d0071593e
Change-Id: Idc3b5bfd85936d8668ec4398ae1bbcef0753789f
Aaron Holden [Tue, 4 Apr 2017 18:59:33 +0000 (18:59 +0000)]
Add runtime to CtsDeqpTestCases am:
bf0076a424 am:
dc61e9cf25 am:
b2c1391b7b am:
7e127cca59 am:
3b7ad55647 am:
08aa70d2e1
am:
87aab30098
Change-Id: I206968659b17107c0f3d3a94f5ea3db7f808794f
Pyry Haulos [Tue, 4 Apr 2017 18:59:22 +0000 (18:59 +0000)]
Do not remove old SPIR-V binaries before running vk-build-programs am:
b28ca98dd6 am:
799a2912dc am:
f252de8900
am:
44272886a5
Change-Id: Icf7cf2747a8c727e5bba43c5c7b063ff123f2a9b
Pyry Haulos [Tue, 4 Apr 2017 18:59:10 +0000 (18:59 +0000)]
Merge aosp/upstream-vulkan-cts-1.0-dev into aosp/master am:
c9061d1b52 am:
3e3c5a179e am:
249f158858
am:
1c1ca2aea2
Change-Id: I0955212485688623fec59e38c6364c74f5246b0b
Tina Zhou [Tue, 4 Apr 2017 18:58:56 +0000 (18:58 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmallow-cts-dev am:
a5af1b076f am:
c1a3067570 am:
effd4e62e5 am:
225502d2cc am:
4d04016fad am:
67dc3662e1 am:
d64c35a5e6 am:
87a4ffcd07 am:
1094f351d1 am:
5d63743a35
am:
a1b92b6629
Change-Id: I97e11d642265ef5812840a511baae6779fc43433
Kenneth Graunke [Tue, 4 Apr 2017 18:58:35 +0000 (18:58 +0000)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA. am:
ea5589c748 am:
5613abd15f am:
1d0056de13 am:
a4c8f24941 am:
1f1491167d am:
5ac1b7c804 am:
f9ca1468a7 am:
9ee0dc70fc am:
62d5098093 am:
c32e4661f4
am:
d6c2c7e3ec
Change-Id: I1e6268d6ec6ad2da42e22241206903db3d82d143
Tina Zhou [Tue, 4 Apr 2017 18:58:14 +0000 (18:58 +0000)]
Merge "Fix internal format/type for 3D + depth/stencil negative API tests." into marshmallow-cts-dev am:
d962b86909 am:
b5ef7ae649 am:
5702f3e5ae am:
a8564b49db am:
3126b25e64 am:
d1109cef09 am:
bd34d84e25 am:
94862a44ee am:
ec07f24c86 am:
f7f5ebb64f
am:
cb58846360
Change-Id: I61102f26e76c0bce0771a03b1974f805f33d2ac8
Kenneth Graunke [Tue, 4 Apr 2017 18:57:56 +0000 (18:57 +0000)]
Fix internal format/type for 3D + depth/stencil negative API tests. am:
d2f3b468db am:
1d20a4108b am:
200b407779 am:
c6382e2e23 am:
a9d8fe46b4 am:
4cf7816eac am:
ca0f4e0cbb am:
84b462d0fb am:
7551b11773 am:
74de83305b
am:
be0897e375
Change-Id: Ia94f409e8a79c6f73087dd52432a12ebda0038c3
Tina Zhou [Tue, 4 Apr 2017 18:57:37 +0000 (18:57 +0000)]
Merge "Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA." into marshmallow-cts-dev am:
a5af1b076f am:
c2c27aa562 am:
e5d1db1d75 am:
5eed9806da am:
ac4f7241a1 am:
5fa7a52fee am:
1a64a06d85
am:
d7549d5820
Change-Id: I0aff70a01960edcc0fab0e012ba4fa6d82fe1f23
Kenneth Graunke [Tue, 4 Apr 2017 18:57:18 +0000 (18:57 +0000)]
Fix sample_mask_in.bit_count_per_two_samples tests for 2x MSAA. am:
ea5589c748 am:
ab691d3f7e am:
5a273080f0 am:
6558869cb1 am:
f9dac85ad7 am:
d0e437bcd7 am:
11905e704d
am:
9264518ac0
Change-Id: Ic55bd094b4f1b0103d1c26a1c2ed64168bf164d8