platform/upstream/VK-GL-CTS.git
7 years agoMerge "Fix image layout in pipeline barrier tests"
Treehugger Robot [Tue, 2 Aug 2016 23:02:21 +0000 (23:02 +0000)]
Merge "Fix image layout in pipeline barrier tests"

7 years agoSuppress the google-explicit-constructor warning locally.
Chih-Hung Hsieh [Tue, 2 Aug 2016 05:33:13 +0000 (22:33 -0700)]
Suppress the google-explicit-constructor warning locally.

* Too many source files and constructors to fix now.

Bug: 28341362
Change-Id: I65c30df6e376cd77a43b80642354ff01d2c0b8df
Test: build with WITH_TIDY=1

7 years agoFix image layout in pipeline barrier tests
Mika Isojärvi [Wed, 15 Jun 2016 18:42:36 +0000 (11:42 -0700)]
Fix image layout in pipeline barrier tests

Change-Id: I8862b728cb9e59d3a115a339badb45fdc0f94067

7 years agoFix misc-macro-parentheses warnings in deqp.
Chih-Hung Hsieh [Thu, 9 Jun 2016 00:45:40 +0000 (17:45 -0700)]
Fix misc-macro-parentheses warnings in deqp.

* Add parentheses around macro parameters beside binary operators.
* Add NOLINT to suppress wrong clang-tidy warnings.

Bug: 28705665
Change-Id: I8cab8cf2df6edb50806d9fd2324dfea31b127916

7 years agoTexture filtering tests in Vulkan
Collin Baker [Mon, 25 Jul 2016 21:32:02 +0000 (14:32 -0700)]
Texture filtering tests in Vulkan

This is a framework for testing image sampling with explicit LOD in vulkan.

Change-Id: I36ea968d9e4624a76b9a918f5ab7e3d5a9039a55

7 years agoMerge "Don't rely on framebuffer contents after eglSwapBuffers"
Pablo Ceballos [Wed, 27 Jul 2016 17:46:20 +0000 (17:46 +0000)]
Merge "Don't rely on framebuffer contents after eglSwapBuffers"

7 years agoUpdate Android CTS mustpass
Pyry Haulos [Wed, 27 Jul 2016 15:42:16 +0000 (08:42 -0700)]
Update Android CTS mustpass

Change-Id: Icb869468a701a7ef664087ff401f80344719134f

7 years agoDon't rely on framebuffer contents after eglSwapBuffers
Pablo Ceballos [Thu, 16 Jun 2016 18:58:18 +0000 (11:58 -0700)]
Don't rely on framebuffer contents after eglSwapBuffers

Bug 27129258

Change-Id: Ic1c58d37c665dc9c35daa2b05ca40ecb969ad5dc

7 years agoMerge upstream vulkan-cts-1.0-dev into AOSP master
Pyry Haulos [Mon, 25 Jul 2016 22:23:26 +0000 (15:23 -0700)]
Merge upstream vulkan-cts-1.0-dev into AOSP master

7 years agoDO NOT MERGE revert CTS integration build changes
Pyry Haulos [Tue, 26 Jul 2016 23:26:54 +0000 (16:26 -0700)]
DO NOT MERGE revert CTS integration build changes

Reverts CTS integration makefiles to match marshmallow-cts-dev

Change-Id: I2b99024cee587bc823003df5aef0b555c265e381

7 years agoAdd new files to Android.mk
Pyry Haulos [Mon, 25 Jul 2016 22:17:36 +0000 (15:17 -0700)]
Add new files to Android.mk

7 years agoFix device mismatch bug by creating allocator for the sparse context too
Peter Siket [Mon, 25 Jul 2016 14:29:00 +0000 (16:29 +0200)]
Fix device mismatch bug by creating allocator for the sparse context too

7 years agoOnly use single-mipped MS images when testing textureSamples()
Dominik Witczak [Fri, 15 Jul 2016 07:15:01 +0000 (09:15 +0200)]
Only use single-mipped MS images when testing textureSamples()

This MR changes two aspects of the
dEQP-VK.glsl.texture_functions.query.texturesamples tests:

 * Only MS images are now bound to sampled image bindings.
 * As per recent spec clarification, MS images should always be
single-mipped.

Fixes #432

7 years agopipeline.spec_constant: Remove the data_size tests
Jason Ekstrand [Tue, 14 Jun 2016 17:04:08 +0000 (10:04 -0700)]
pipeline.spec_constant: Remove the data_size tests

These tests are invalid.  The size of the provided data *must* match the
size of the constant being specialized in the SPIR-V.

See also: https://gitlab.khronos.org/vulkan/vulkan/issues/345

7 years agoFix another set of warnings reported by GCC
Pyry Haulos [Thu, 21 Jul 2016 21:12:26 +0000 (14:12 -0700)]
Fix another set of warnings reported by GCC

7 years agoFix required sample count tests
Nanley Chery [Tue, 19 Apr 2016 19:13:58 +0000 (12:13 -0700)]
Fix required sample count tests

According to,

   Table 11.1. Image and image view parameter compatibility requirements

Only non-cube images with type VK_IMAGE_TYPE_2D can have sample counts
greater than one.

In addition, the following properties should hold for multisampled
images: the formats must support being used in a color or depth/stencil
attachment, or in a storage image when shaderStorageImageMultisample is
supported. Images not fitting the above descriptions may have a sample
count of one or zero (in error conditions). Align tests for sample
counts to this behavior.

7 years agoFix a few warnings
Pyry Haulos [Tue, 19 Jul 2016 22:17:06 +0000 (15:17 -0700)]
Fix a few warnings

7 years agoMerge "Add mipmap.2d.projected tests back to mustpass"
Pyry Haulos [Mon, 18 Jul 2016 22:11:14 +0000 (22:11 +0000)]
Merge "Add mipmap.2d.projected tests back to mustpass"

7 years agoAdded tests for internally synchronized objects
Arkadiusz Sarwa [Wed, 15 Jun 2016 14:52:29 +0000 (16:52 +0200)]
Added tests for internally synchronized objects

7 years agoSynchronization tests
Maciej Jesionowski [Thu, 9 Jun 2016 10:30:55 +0000 (12:30 +0200)]
Synchronization tests

Test fences, semaphores, barriers and events with various API functions
and pipeline stages.

7 years agovktPipelineCacheTests: improved pipeline cache tests
asokolow [Tue, 17 May 2016 05:05:23 +0000 (07:05 +0200)]
vktPipelineCacheTests: improved pipeline cache tests

7 years agoimage_clearing test: lower the threshold for clear validation
scygan [Wed, 1 Jun 2016 13:06:58 +0000 (15:06 +0200)]
image_clearing test: lower the threshold for clear validation

7 years agoSPIR-V Shader Intrinsics for Sparse Images Test
Kantoch [Tue, 12 Apr 2016 08:47:10 +0000 (10:47 +0200)]
SPIR-V Shader Intrinsics for Sparse Images Test

7 years agoUpdate Vulkan CTS mustpass
Kristof Kosztyo [Fri, 15 Jul 2016 16:29:41 +0000 (09:29 -0700)]
Update Vulkan CTS mustpass

7 years agoExtend copyImage tests with all compatible formats
Szilard Ledan [Fri, 15 Jul 2016 16:20:05 +0000 (09:20 -0700)]
Extend copyImage tests with all compatible formats

7 years agoExtend tcu::scale with sRGB conversion
Szilard Ledan [Fri, 15 Jul 2016 16:16:00 +0000 (09:16 -0700)]
Extend tcu::scale with sRGB conversion

7 years agoRemove vk::getFormatComponentMapping()
Pyry Haulos [Thu, 14 Jul 2016 23:51:42 +0000 (16:51 -0700)]
Remove vk::getFormatComponentMapping()

This function is highly misleading and often misused.

As as result image view component mapping is normalized to RGBA in
following tests:

 * pipeline.image
 * pipeline.image_view
 * pipeline.sampler

7 years agoUpdate mustpass and exclude problematic tests
Maciej Jesionowski [Fri, 1 Jul 2016 09:00:47 +0000 (11:00 +0200)]
Update mustpass and exclude problematic tests

7 years agoAdd clipping tests
Maciej Jesionowski [Wed, 29 Jun 2016 10:31:07 +0000 (12:31 +0200)]
Add clipping tests

- primitive clipping against the clip volume
  - depth clipping
  - depthClampEnable
  - large point and wide line clipping
- user-defined clipping planes ClipDistance
  - static and dynamic indexing
  - interaction with CullDistance
  - complementarity criterion

7 years agoEnable all textureproj* tests.
Akos Dirner [Wed, 15 Jun 2016 13:47:36 +0000 (15:47 +0200)]
Enable all textureproj* tests.

7 years agoMerge "switch to default Trade Federation ABI class"
Julius D'souza [Wed, 13 Jul 2016 18:57:05 +0000 (18:57 +0000)]
Merge "switch to default Trade Federation ABI class"

7 years agoUpdate Vulkan CTS mustpass
Pyry Haulos [Wed, 13 Jul 2016 17:24:24 +0000 (10:24 -0700)]
Update Vulkan CTS mustpass

7 years agoMerge in changes from upstream dEQP repository
Pyry Haulos [Wed, 13 Jul 2016 17:19:09 +0000 (10:19 -0700)]
Merge in changes from upstream dEQP repository

7 years agoMerge changes I219c2b3a,I7af6fe67
Pyry Haulos [Wed, 13 Jul 2016 17:18:10 +0000 (17:18 +0000)]
Merge changes I219c2b3a,I7af6fe67

* changes:
  Improve memory tracking in vulkan memory mapping tests
  Optimize random memory mapping tests reference memory

7 years agoImage memory barrier and resolved image load operation fixes.
Peter Siket [Tue, 28 Jun 2016 12:36:28 +0000 (14:36 +0200)]
Image memory barrier and resolved image load operation fixes.

7 years agoFix license header in testlog.xls
Pyry Haulos [Tue, 12 Jul 2016 18:55:17 +0000 (11:55 -0700)]
Fix license header in testlog.xls

Change-Id: I167e3240539e4cdafa5afb86bd2a43d2e79b8576

7 years agoAdd OpImageSparse* instruction tests
Gabor Abraham [Wed, 25 May 2016 15:15:44 +0000 (17:15 +0200)]
Add OpImageSparse* instruction tests

7 years agoClean up code in texture gather tests
Pyry Haulos [Fri, 8 Jul 2016 23:06:54 +0000 (16:06 -0700)]
Clean up code in texture gather tests

Removes use of multiple inheritance and virtual base classes.

7 years agoChange tes/geom shaders in timestamp tests use 310 es
Pyry Haulos [Thu, 7 Jul 2016 21:01:50 +0000 (14:01 -0700)]
Change tes/geom shaders in timestamp tests use 310 es

Vertex and fragment shaders were already using that GLSL version.

7 years agoExplicitly declare gl_PerVertex in push constant tests
Pyry Haulos [Thu, 7 Jul 2016 21:01:30 +0000 (14:01 -0700)]
Explicitly declare gl_PerVertex in push constant tests

7 years agoExplicitly declare gl_PerVertex in occlusion query tests
Pyry Haulos [Thu, 7 Jul 2016 20:58:26 +0000 (13:58 -0700)]
Explicitly declare gl_PerVertex in occlusion query tests

7 years agoExplicitly declare gl_PerVertex in dynamic viewport state tests
Pyry Haulos [Thu, 7 Jul 2016 20:56:21 +0000 (13:56 -0700)]
Explicitly declare gl_PerVertex in dynamic viewport state tests

7 years agoChange ubo and ssbo tests to use 310 es shaders
Pyry Haulos [Thu, 7 Jul 2016 20:55:03 +0000 (13:55 -0700)]
Change ubo and ssbo tests to use 310 es shaders

7 years agoPipeline cache test: fix SPIRV validation error
Slawomir Cygan [Mon, 27 Jun 2016 14:20:30 +0000 (16:20 +0200)]
Pipeline cache test: fix SPIRV validation error

7 years agodEQP-VK.pipeline.spec_constant.*.composite: non-trivial operations on spec_constant...
Slawomir Cygan [Wed, 22 Jun 2016 17:08:54 +0000 (19:08 +0200)]
dEQP-VK.pipeline.spec_constant.*.composite:  non-trivial operations on spec_constant does not yield spec constant

Fixes GLSL compilation issue in following tests:

dEQP-VK.pipeline.spec_constant.*.composite.array.*
dEQP-VK.pipeline.spec_constant.*.composite.vector.*
dEQP-VK.pipeline.spec_constant.*.composite.matrix.*
dEQP-VK.pipeline.spec_constant.*.composite.struct.*

7 years agoFix deStrnlen fall-back implementation
Pyry Haulos [Thu, 7 Jul 2016 21:58:52 +0000 (14:58 -0700)]
Fix deStrnlen fall-back implementation

Fixes #423

7 years agoUse VK_IMAGE_USAGE_TRANSFER_SRC_BIT for source image
Alexander Galazin [Thu, 7 Jul 2016 14:10:04 +0000 (16:10 +0200)]
Use VK_IMAGE_USAGE_TRANSFER_SRC_BIT for source image

The test incorrectly uses VK_IMAGE_USAGE_TRANSFER_DST_BIT for source
images while the spec (section 18.1 says) that
VK_IMAGE_USAGE_TRANSFER_SRC_BIT should be used.

Fixes #424

7 years agoAdd test for gl_FrontFacing
Peter Siket [Tue, 28 Jun 2016 11:18:36 +0000 (13:18 +0200)]
Add test for gl_FrontFacing

Fixes #412

7 years agoRe-build Vulkan CTS mustpass
Pyry Haulos [Thu, 7 Jul 2016 19:34:04 +0000 (12:34 -0700)]
Re-build Vulkan CTS mustpass

7 years agoSparse Image Memory Aliasing Test
Kantoch [Fri, 17 Jun 2016 10:08:59 +0000 (12:08 +0200)]
Sparse Image Memory Aliasing Test

7 years agoRefactoring of existing sparse resources tests to reduce code size
Kantoch [Fri, 17 Jun 2016 10:07:59 +0000 (12:07 +0200)]
Refactoring of existing sparse resources tests to reduce code size

7 years agoFix various barrier issues in resolve_image tests
Dominik Witczak [Wed, 15 Jun 2016 12:54:04 +0000 (14:54 +0200)]
Fix various barrier issues in resolve_image tests

Fixes #405

7 years agoAdd tests for textureSamples, QueryLevels, and QueryLod
Akos Dirner [Wed, 25 May 2016 12:30:11 +0000 (14:30 +0200)]
Add tests for textureSamples, QueryLevels, and QueryLod

Add new tests for textureSamples, textureQueryLevels and
textureQueryLod GLSL functions, extend textureSize test.

See #379

7 years agoAdd OpAtomicLoad, Store, and CompareExchange assembly tests
Csaba Osztrogonác [Fri, 3 Jun 2016 12:58:50 +0000 (14:58 +0200)]
Add OpAtomicLoad, Store, and CompareExchange assembly tests

Fixes #370

7 years agoExtend dEQP-VK.api.image_clearing.clear_color_image tests to perform clears also...
scygan [Wed, 20 Apr 2016 17:08:19 +0000 (19:08 +0200)]
Extend dEQP-VK.api.image_clearing.clear_color_image tests to perform clears also on non-renderable textures

7 years agoAdd dEQP-VK.tessellation.user_defined_io to mustpass
Maciej Jesionowski [Mon, 16 May 2016 08:03:02 +0000 (10:03 +0200)]
Add dEQP-VK.tessellation.user_defined_io to mustpass

Fixes #384

7 years agoFix warnings in shader derivate tests
Pyry Haulos [Thu, 7 Jul 2016 18:50:35 +0000 (11:50 -0700)]
Fix warnings in shader derivate tests

7 years agoUpdate glslang to d02dc5d
Pyry Haulos [Thu, 7 Jul 2016 18:46:50 +0000 (11:46 -0700)]
Update glslang to d02dc5d

7 years agoMerge vulkan-cts-1.0 into vulkan-cts-1.0-dev
Pyry Haulos [Thu, 7 Jul 2016 18:03:51 +0000 (11:03 -0700)]
Merge vulkan-cts-1.0 into vulkan-cts-1.0-dev

7 years agoUpdate glslang to (f5dcdf01) "Front-end: Don't lower precision of bit operations...
scygan [Thu, 16 Jun 2016 12:53:06 +0000 (14:53 +0200)]
Update glslang to (f5dcdf01) "Front-end: Don't lower precision of bit operations taking highp inputs."

Fixes #382

7 years agoswitch to default Trade Federation ABI class
Julius D'souza [Fri, 1 Jul 2016 23:24:23 +0000 (16:24 -0700)]
switch to default Trade Federation ABI class

Bug: 29138689

Change-Id: Ieac16d404d6a51a84187cab8e63121828a25d30c

7 years agoMerge \"Fix build with new Interface am: af51a2acde am: 3b9fe61b5e\" into nyc-mr1...
Julien Desprez [Mon, 27 Jun 2016 19:15:58 +0000 (19:15 +0000)]
Merge \"Fix build with new Interface am: af51a2acde am: 3b9fe61b5e\" into nyc-mr1-dev-plus-aosp
am: 114f46a0dc

Change-Id: Ib1be550cafb93990b67853bc548045461a2de310

7 years agoFix build with new Interface am: af51a2acde am: cee1bcdedd
Julien Desprez [Mon, 27 Jun 2016 19:15:57 +0000 (19:15 +0000)]
Fix build with new Interface am: af51a2acde am: cee1bcdedd
am: 93f94f0d2e

Change-Id: Iadda7383657b4ece448f3d4fb9f9c9d4264d9047

7 years agoMerge "Fix build with new Interface am: af51a2acde am: 3b9fe61b5e" into nyc-mr1-dev...
Android Build Merger (Role) [Mon, 27 Jun 2016 19:11:41 +0000 (19:11 +0000)]
Merge "Fix build with new Interface am: af51a2acde am: 3b9fe61b5e" into nyc-mr1-dev-plus-aosp

7 years agoFix build with new Interface am: af51a2acde
Julien Desprez [Mon, 27 Jun 2016 19:11:30 +0000 (19:11 +0000)]
Fix build with new Interface am: af51a2acde
am: 3b9fe61b5e

Change-Id: Id1ffcd8a9ac7fa216c84014c003498c99226de89

7 years agoFix build with new Interface am: af51a2acde
Julien Desprez [Mon, 27 Jun 2016 19:11:29 +0000 (19:11 +0000)]
Fix build with new Interface am: af51a2acde
am: cee1bcdedd

Change-Id: I52b57b1ca9da796b4576bed79a43662f244ff32c

7 years agoFix build with new Interface
Julien Desprez [Mon, 27 Jun 2016 19:07:32 +0000 (19:07 +0000)]
Fix build with new Interface
am: af51a2acde

Change-Id: Ib044058a7e1638cd51f046998753bb37019a04dc

7 years agoFix build with new Interface
Julien Desprez [Mon, 27 Jun 2016 19:07:29 +0000 (19:07 +0000)]
Fix build with new Interface
am: af51a2acde

Change-Id: Id835f4bb2cfb239f9b551218610058936f68ea59

7 years agoMerge branch '324-shader-texture-function-tests' into 'vulkan-cts-1.0-dev'
Mika Isojarvi [Mon, 27 Jun 2016 18:24:26 +0000 (18:24 +0000)]
Merge branch '324-shader-texture-function-tests' into 'vulkan-cts-1.0-dev'

Add shader texture function tests

Fixes #324

See merge request !471

7 years agoFix build with new Interface
Julien Desprez [Mon, 27 Jun 2016 18:22:07 +0000 (19:22 +0100)]
Fix build with new Interface

Bug: 29622918
Change-Id: I73ccd7891869d2d67a144e8787d2fff8fb9c6878

7 years agoUpdate TF interface for filters am: fa50dbbefa am: 0a44c2b7c9
Julien Desprez [Mon, 27 Jun 2016 17:29:39 +0000 (17:29 +0000)]
Update TF interface for filters am: fa50dbbefa am: 0a44c2b7c9
am: 797bdc12ba

Change-Id: I4c74da6f1cde0a6b6026c06e83f5420a5c58a57e

7 years agoUpdate TF interface for filters am: fa50dbbefa am: bec18ccfde
Julien Desprez [Mon, 27 Jun 2016 17:29:16 +0000 (17:29 +0000)]
Update TF interface for filters am: fa50dbbefa am: bec18ccfde
am: 047ff644a7

Change-Id: I6e8d69275c63a43076b0242df6a937c136ee592c

7 years agoUpdate TF interface for filters am: fa50dbbefa
Julien Desprez [Mon, 27 Jun 2016 17:20:22 +0000 (17:20 +0000)]
Update TF interface for filters am: fa50dbbefa
am: 0a44c2b7c9

Change-Id: I9f077404cc5cfb3cde21aa2bbd92eb0d351e8f62

7 years agoUpdate TF interface for filters am: fa50dbbefa
Julien Desprez [Mon, 27 Jun 2016 17:16:11 +0000 (17:16 +0000)]
Update TF interface for filters am: fa50dbbefa
am: bec18ccfde

Change-Id: I2a5f61f847901c87e93e275e1c394aeb4119d150

7 years agoUpdate TF interface for filters
Julien Desprez [Mon, 27 Jun 2016 17:12:05 +0000 (17:12 +0000)]
Update TF interface for filters
am: fa50dbbefa

Change-Id: I13a4ec614ad57aa590eca698e88b91de42f6c94d

7 years agoUpdate TF interface for filters
Julien Desprez [Mon, 27 Jun 2016 17:11:58 +0000 (17:11 +0000)]
Update TF interface for filters
am: fa50dbbefa

Change-Id: If46a38484a6175f11a5df71f6e3f094ea3b2642d

7 years agoUpdate TF interface for filters
Julien Desprez [Mon, 27 Jun 2016 09:47:19 +0000 (10:47 +0100)]
Update TF interface for filters

Bug: 29622918
Change-Id: I5832fadb1b88426677e87de86f0bc51194548ada

7 years agoMerge branch '395-convert-assembly-fix-arraystride' into 'vulkan-cts-1.0-dev'
Mika Isojarvi [Fri, 24 Jun 2016 17:28:13 +0000 (17:28 +0000)]
Merge branch '395-convert-assembly-fix-arraystride' into 'vulkan-cts-1.0-dev'

Fix missing ArrayStride decorator.

Fix the missing ArrayStride decorator in OpSConvert and OpUConvert tests.

See merge request !578

7 years agoShaderRenderDerivateTests: fix threshold calculation.
Akos Dirner [Thu, 23 Jun 2016 12:14:23 +0000 (14:14 +0200)]
ShaderRenderDerivateTests: fix threshold calculation.

7 years agoAdd more texture function tests to the exclude list, regenerate mustpass list.
Akos Dirner [Tue, 21 Jun 2016 11:47:26 +0000 (13:47 +0200)]
Add more texture function tests to the exclude list, regenerate mustpass list.

7 years agoAdd more texture function tests to the exclude list, regenerate mustpass list.
Akos Dirner [Mon, 20 Jun 2016 12:10:06 +0000 (14:10 +0200)]
Add more texture function tests to the exclude list, regenerate mustpass list.

7 years agoMerge branch '392-split-tests' into 'vulkan-cts-1.0-dev'
Pyry Haulos [Fri, 17 Jun 2016 16:10:51 +0000 (16:10 +0000)]
Merge branch '392-split-tests' into 'vulkan-cts-1.0-dev'

Fix issues with undefined levels in tess primitive discard tests

In certain cases less than 1 inner tessellation levels result in
implementation-dependent number of vertices to be generated. Relax
verification in those cases, and add separate tests that exercise only
valid (>= 1) inner levels.

Fixes #392

See merge request !592

7 years agoExclude some failing tests from mustpass.
Akos Dirner [Fri, 17 Jun 2016 15:01:16 +0000 (17:01 +0200)]
Exclude some failing tests from mustpass.

7 years agoFix issues with undefined levels in tess primitive discard tests
Pyry Haulos [Thu, 16 Jun 2016 20:50:55 +0000 (13:50 -0700)]
Fix issues with undefined levels in tess primitive discard tests

In certain cases less than 1 inner tessellation levels result in
implementation-dependent number of vertices to be generated. Relax
verification in those cases, and add separate tests that exercise only
valid (>= 1) inner levels.

Fixes #392

7 years agoImprove memory tracking in vulkan memory mapping tests
Mika Isojärvi [Tue, 7 Jun 2016 19:39:37 +0000 (12:39 -0700)]
Improve memory tracking in vulkan memory mapping tests

- Round up allocation size to multiple of page size for
  memory usage tracking.
- Update reference memory usage tracking to follow new reference memory
  implementation.

Change-Id: I219c2b3abe0ee0731f5a7e2bb44492e5b85b95c2

7 years agoOptimize random memory mapping tests reference memory
Mika Isojärvi [Tue, 7 Jun 2016 18:21:46 +0000 (11:21 -0700)]
Optimize random memory mapping tests reference memory

Change-Id: I7af6fe67a25462dcb0acc66c238a8708157060df

7 years agoUpdate Khronos mustpass list
Mika Isojärvi [Thu, 16 Jun 2016 17:58:09 +0000 (10:58 -0700)]
Update Khronos mustpass list

7 years agoMerge branch '342-opinboundsaccesschain-assembly-tests' into 'vulkan-cts-1.0-dev'
Mika Isojarvi [Thu, 16 Jun 2016 17:53:02 +0000 (17:53 +0000)]
Merge branch '342-opinboundsaccesschain-assembly-tests' into 'vulkan-cts-1.0-dev'

Add OpInBoundsAccessChain tests.

See merge request !549

7 years agoMerge branch '296-derivate-function-tests' into '324-shader-texture-function-tests'
Mika Isojarvi [Thu, 16 Jun 2016 17:51:43 +0000 (17:51 +0000)]
Merge branch '296-derivate-function-tests' into '324-shader-texture-function-tests'

Added Derivate function tests.

I set target to branch 360-texture-gather-tests because this code depends on some ShaderRendercase modifications from the unmerged branch.

See merge request !538

7 years agoExplicitly declare gl_PerVertex block
Maciej Jesionowski [Thu, 16 Jun 2016 12:02:45 +0000 (14:02 +0200)]
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)

7 years agoMerge branch 'mobica_fix_spirv_validation_errors' into 'vulkan-cts-1.0-dev'
Mika Isojarvi [Thu, 16 Jun 2016 17:40:02 +0000 (17:40 +0000)]
Merge branch 'mobica_fix_spirv_validation_errors' into 'vulkan-cts-1.0-dev'

Explicitly declare gl_PerVertex block

This fixes SPIR-V validation error in shaders generated from GLSL (not ES) due to missing ClipDistance capability.

I'm adding "for discussion" label to highlight this. Also not sure if we really need to make these fixes, or should this be dealt with someplace else.

Affected tests (at least those I noticed):

- dEQP-VK.draw
- dEQP-VK.binding_model
- dEQP-VK.pipeline.early_fragment
- dEQP-VK.pipeline.spec_constant

See merge request !590

7 years agoMerge branch 'issue_408' into 'vulkan-cts-1.0-dev'
Mika Isojarvi [Thu, 16 Jun 2016 17:37:46 +0000 (17:37 +0000)]
Merge branch 'issue_408' into 'vulkan-cts-1.0-dev'

Fixes OpSConvert and OpUConvert output buffer

The OpSConvert and OpUConvert incorrectly bound the same buffer as input
and output. This can lead to issues when they are of different size.

Fixes #408

See merge request !588

7 years agoFix VkDeviceSize -> size_t warning
Pyry Haulos [Thu, 16 Jun 2016 16:01:47 +0000 (09:01 -0700)]
Fix VkDeviceSize -> size_t warning

7 years agoRe-build Vulkan CTS mustpass
Pyry Haulos [Thu, 16 Jun 2016 16:01:29 +0000 (09:01 -0700)]
Re-build Vulkan CTS mustpass

7 years agoMerge goog/master@c8da37c into stage-aosp-master. am: 38365a1634 am: e1fb5fe7df
Mika Isojrvi [Thu, 16 Jun 2016 14:57:27 +0000 (14:57 +0000)]
Merge goog/master@c8da37c into stage-aosp- am: 38365a1634 am: e1fb5fe7df
am: 82d89acd57

Change-Id: I4776d3dc8423501fea804eccb30713e721a3a7e5

7 years agoMerge goog/master@c8da37c into stage-aosp-master. am: 38365a1634
Xin Li [Thu, 16 Jun 2016 14:55:14 +0000 (14:55 +0000)]
Merge goog/master@c8da37c into stage-aosp- am: 38365a1634
am: e1fb5fe7df

Change-Id: I66862093415ec3e74c8852a42da34c6517c839fb

7 years agoMerge goog/master@c8da37c into stage-aosp-master.
Mika Isojrvi [Thu, 16 Jun 2016 14:51:32 +0000 (14:51 +0000)]
Merge goog/master@c8da37c into stage-aosp-master.
am: 38365a1634

Change-Id: I12f5f85447894cbefcccb3c38737856e6e5afb96

7 years agoFix missing ArrayStride decorator.
Gabor Abraham [Wed, 8 Jun 2016 13:26:52 +0000 (15:26 +0200)]
Fix missing ArrayStride decorator.

7 years agoExplicitly declare gl_PerVertex block
Maciej Jesionowski [Thu, 16 Jun 2016 12:02:45 +0000 (14:02 +0200)]
Explicitly declare gl_PerVertex block

This fixes SPIR-V validation error in shaders generated from GLSL (not ES)
due to missing ClipDistance capability.

7 years agoFixes OpSConvert and OpUConvert output buffer
Lars-Ivar Hesselberg Simonsen [Thu, 16 Jun 2016 10:59:44 +0000 (12:59 +0200)]
Fixes OpSConvert and OpUConvert output buffer

The OpSConvert and OpUConvert incorrectly bound the same buffer as input
and output. This can lead to issues when they are of different size.