platform/upstream/VK-GL-CTS.git
8 years agoMerge branch '23-glslang_cpp_interface' into 'master'
Pyry Haulos [Tue, 10 Nov 2015 16:55:40 +0000 (11:55 -0500)]
Merge branch '23-glslang_cpp_interface' into 'master'

Move to C++ glslang interface, to avoid losing shader metadata.

This fixes issue #23. Also some spurious link-error-alike messages disappear from the log with this change.

See merge request !48

8 years agoMove to C++ glslang interface, to avoid losing shader metadata.
scygan [Thu, 5 Nov 2015 18:44:39 +0000 (19:44 +0100)]
Move to C++ glslang interface, to avoid losing shader metadata.

This fixes also some spurious link-error-alike messages in the log

8 years agoMerge blend tests
Pyry Haulos [Fri, 23 Oct 2015 19:55:32 +0000 (12:55 -0700)]
Merge blend tests

8 years agoMerge in stencil tests
Pyry Haulos [Fri, 23 Oct 2015 19:44:18 +0000 (12:44 -0700)]
Merge in stencil tests

8 years agoInitial Vulkan render pass tests.
Mika Isojärvi [Tue, 11 Aug 2015 22:14:24 +0000 (15:14 -0700)]
Initial Vulkan render pass tests.

Supported:
- Multiple attachments.
- Color and depth-stencil attachments.
- Multiple subpasses.
- Transitive attachments.
- All load and store ops.
- Inlined and secondary command buffers.
- Rendering using cmdClearAttachment() and cmdDarwArrays().
- Copying and logging result images.
- All image layouts used.
- Result verification.

Missing:
- No support for input or resolve attachments.
- Very simple and conservative dependencies between subpasses.
- Different sample counts supported.
- No prober checks for initial and final layouts. Immediately converted
  using pipeline barrier.
- Preserve attachments never used.
- Subpass flags not used.

Change-Id: Ia194ea2458213992d9dfc47c844eada80b7839e2

8 years agoBasic object management tests
Pyry Haulos [Thu, 17 Sep 2015 15:58:23 +0000 (08:58 -0700)]
Basic object management tests

 * All object types
 * Creating multiple objects w/ shared or unique dependencies
 * Creating objects from multiple threads concurrently
   + Per-thread device, per-thread deps, shared deps
 * Creating N concurrent objects (N depends on object)

Change-Id: Ib921599f823c9af7dbf00c23a30769358eeb7fe2

8 years agoAdded pipeline stencil tests.
Dae Kim [Fri, 23 Oct 2015 09:21:16 +0000 (10:21 +0100)]
Added pipeline stencil tests.

8 years agoAdded pipeline blend tests.
Dae Kim [Fri, 23 Oct 2015 09:18:34 +0000 (10:18 +0100)]
Added pipeline blend tests.

8 years agoPort ShaderLibrary-based GLSL ES 3.1 tests to Vulkan
Pyry Haulos [Tue, 1 Sep 2015 21:13:36 +0000 (14:13 -0700)]
Port ShaderLibrary-based GLSL ES 3.1 tests to Vulkan

Change-Id: I4ab49c79e0d8b14aa5ac30e99ae0c4b4286cb676

8 years agoImplement ShaderLibrary for Vulkan
Pyry Haulos [Tue, 1 Sep 2015 21:02:53 +0000 (14:02 -0700)]
Implement ShaderLibrary for Vulkan

Change-Id: I60f95e4dd97ab8ce0910a0012bf446b8402950c2

8 years agoFix invalid use of intThresholdCompare in fragment_ops tests
Pyry Haulos [Tue, 20 Oct 2015 22:07:44 +0000 (22:07 +0000)]
Fix invalid use of intThresholdCompare in fragment_ops tests
am: 400df3e7e4

* commit '400df3e7e4040479e970611c2c11e39049e14cba':
  Fix invalid use of intThresholdCompare in fragment_ops tests

8 years agoFix invalid use of intThresholdCompare in fragment_ops tests
Pyry Haulos [Tue, 20 Oct 2015 17:03:38 +0000 (10:03 -0700)]
Fix invalid use of intThresholdCompare in fragment_ops tests

Blend and random tests in fragment_ops tests were comparing RGB to RGBA
image using intThresholdCompare, which doesn't work as expected after
recent getPixelInt() fix for RGB8.

Bug: 25111313
Change-Id: Iac27bfcad7fb2ca11d9f4af44418cd1cbd72a2f5

8 years agoFix framework support for various Vulkan texture formats
Pyry Haulos [Thu, 15 Oct 2015 22:49:08 +0000 (15:49 -0700)]
Fix framework support for various Vulkan texture formats

Change-Id: I55abe517e9871c04ad6e87ce74fbe8278ed4966a

8 years agoMerge in changes from Khronos master
Pyry Haulos [Mon, 19 Oct 2015 20:59:32 +0000 (13:59 -0700)]
Merge in changes from Khronos master

8 years agoam b5d323b0: Fix invalid uses of PixelBufferAccess
Pyry Haulos [Mon, 19 Oct 2015 20:20:54 +0000 (20:20 +0000)]
am b5d323b0: Fix invalid uses of PixelBufferAccess

* commit 'b5d323b0daefbf7f7f4cb5e9cc631e2ab837b6ed':
  Fix invalid uses of PixelBufferAccess

8 years agoMerge branch 'scygan-fix_gen_wrappers.py' into 'master'
Pyry Haulos [Mon, 19 Oct 2015 19:58:21 +0000 (15:58 -0400)]
Merge branch 'scygan-fix_gen_wrappers.py' into 'master'

Fix gen_framework.py - it ignored the arrays in function parameters.

This makes wrapped cmdSetBlendConstants not accept 4  blendConstants

See merge request !40

8 years agoFix gen_framework.py - it ignored the arrays in function parameters.
scygan [Mon, 19 Oct 2015 18:11:02 +0000 (20:11 +0200)]
Fix gen_framework.py - it ignored the arrays in function parameters.

This makes wrapped cmdSetBlendConstants not accept 4  blendConstants

8 years agoMerge branch '16-buffers' into 'master'
Pyry Haulos [Mon, 19 Oct 2015 15:18:22 +0000 (11:18 -0400)]
Merge branch '16-buffers' into 'master'

Update the test specification of the Buffers

See merge request !37

8 years agoFix invalid uses of PixelBufferAccess
Pyry Haulos [Mon, 19 Oct 2015 15:13:36 +0000 (08:13 -0700)]
Fix invalid uses of PixelBufferAccess

Change-Id: Ibde25054f5128e617ad423e65855150ea38df9f1

8 years agoUpdate the test specification of the Buffers
Kristof Kosztyo [Fri, 9 Oct 2015 08:45:47 +0000 (10:45 +0200)]
Update the test specification of the Buffers

8 years agoFix vulkan image util format mappings.
Mika Isojärvi [Fri, 16 Oct 2015 23:25:34 +0000 (16:25 -0700)]
Fix vulkan image util format mappings.

Change-Id: Ib002881956c535403fceb49546833ba197817d14

8 years agoam 0b78ae91: Merge "Add tests for PixelBufferAccess getPixel/setPixel"
Pyry Haulos [Fri, 16 Oct 2015 22:29:11 +0000 (22:29 +0000)]
am 0b78ae91: Merge "Add tests for PixelBufferAccess getPixel/setPixel"

* commit '0b78ae91f285d6aaeb38f8a1ddb874699a491004':
  Add tests for PixelBufferAccess getPixel/setPixel

8 years agoam 8687dbaf: Merge "Add a few utils for tcu::TextureFormat"
Pyry Haulos [Fri, 16 Oct 2015 22:29:10 +0000 (22:29 +0000)]
am 8687dbaf: Merge "Add a few utils for tcu::TextureFormat"

* commit '8687dbaf764553da1ff693be707e5ac675a413ee':
  Add a few utils for tcu::TextureFormat

8 years agoam 6c34b22e: Merge "Add new texture formats and remove 2 problematic formats"
Pyry Haulos [Fri, 16 Oct 2015 22:29:09 +0000 (22:29 +0000)]
am 6c34b22e: Merge "Add new texture formats and remove 2 problematic formats"

* commit '6c34b22e61ea80f1f9e168c50c43465b2cbf9bfe':
  Add new texture formats and remove 2 problematic formats

8 years agoMerge "Add tests for PixelBufferAccess getPixel/setPixel"
Pyry Haulos [Fri, 16 Oct 2015 22:25:00 +0000 (22:25 +0000)]
Merge "Add tests for PixelBufferAccess getPixel/setPixel"

8 years agoMerge "Add a few utils for tcu::TextureFormat"
Pyry Haulos [Fri, 16 Oct 2015 22:24:50 +0000 (22:24 +0000)]
Merge "Add a few utils for tcu::TextureFormat"

8 years agoMerge "Add new texture formats and remove 2 problematic formats"
Pyry Haulos [Fri, 16 Oct 2015 22:24:38 +0000 (22:24 +0000)]
Merge "Add new texture formats and remove 2 problematic formats"

8 years agoAdd tests for PixelBufferAccess getPixel/setPixel
Pyry Haulos [Mon, 12 Oct 2015 22:33:10 +0000 (15:33 -0700)]
Add tests for PixelBufferAccess getPixel/setPixel

Change-Id: I6acf3ee8e82208090859b895e47a6a9ca1a3a566

8 years agoAdd a few utils for tcu::TextureFormat
Pyry Haulos [Wed, 14 Oct 2015 19:55:20 +0000 (12:55 -0700)]
Add a few utils for tcu::TextureFormat

 * tcu::isValid(TextureFormat) can be used to check if format is
supported by tcuTexture.

 * tcu::isAccessValid() can be used to check if getPixel/setPixel access
type is supported for TextureFormat.

 * Added tcu::getPixelSize() and deprecated
TextureFormat::getPixelSize().

Change-Id: Ibed3c130d238fb61bb8572678bd6c94ba9457cf9

8 years agoAdd new texture formats and remove 2 problematic formats
Pyry Haulos [Wed, 14 Oct 2015 19:27:58 +0000 (12:27 -0700)]
Add new texture formats and remove 2 problematic formats

 * Add (DS, UNSIGNED_INT_16_8_8).

 * Add (RG, UNORM_BYTE_44).

 * Add (D/DS, UNSIGNED_INT_24_8_REV).

 * Add SNORM_SHORT_565, _4444, _5551, and _INT_1010102_REV.

 * Add sBGR and sBGRA channel orders.

 * Add support for BGR(A) channel orders for *NORM_SHORT_565, _555,
_4444, _5551, and *INT_1010102_REV.

 * Remove FLOAT_UNSIGNED_INT_8 as depth access had unaligned 'float'
values.

 * Remove UNSIGNED_INT_16_8 as depth access had unaligned 'short'
values.

Change-Id: I53092b174b7b1657826392a8ce876bf867f6d46f

8 years agoUse explicit layout and remove GLSLShared in the OpNop test.
Lei Zhang [Thu, 15 Oct 2015 21:30:45 +0000 (17:30 -0400)]
Use explicit layout and remove GLSLShared in the OpNop test.

This is required by Vulkan validation rules within a shader module.

Change-Id: Ie4058bdaa4e4d1cff14d39ba3dba1bdc8d7dc234

8 years agoMerge "Add more tests to dEQP-VK.info" into vulkan
Pyry Haulos [Fri, 16 Oct 2015 17:40:26 +0000 (17:40 +0000)]
Merge "Add more tests to dEQP-VK.info" into vulkan

8 years agoMerge "Make vkt::TestInstance assignment and copy ctor private" into vulkan
Pyry Haulos [Fri, 16 Oct 2015 17:40:00 +0000 (17:40 +0000)]
Merge "Make vkt::TestInstance assignment and copy ctor private" into vulkan

8 years agoam c198d02e: Fix building on darwin-x86_64 with clang
Jesse Hall [Fri, 16 Oct 2015 15:21:34 +0000 (15:21 +0000)]
am c198d02e: Fix building on darwin-x86_64 with clang

* commit 'c198d02e1a3c433f5d580273e1dbc7396d8fcf0a':
  Fix building on darwin-x86_64 with clang

8 years agoFix building on darwin-x86_64 with clang
Jesse Hall [Fri, 16 Oct 2015 02:44:21 +0000 (19:44 -0700)]
Fix building on darwin-x86_64 with clang

Change-Id: I258a707662f90777a4e7c2555f9ba9ee9106fa26

8 years agoRename "opnop_test" to "opnop".
Dejan Mircevski [Thu, 15 Oct 2015 20:28:56 +0000 (16:28 -0400)]
Rename "opnop_test" to "opnop".

Change-Id: I7e6a7faa845503c0416fa8ca8b99839246f710cd

8 years agoMerge "SpirVAssembly: Vulkan environment basics for compute pipeline." into vulkan
Lei Zhang [Thu, 15 Oct 2015 19:28:16 +0000 (19:28 +0000)]
Merge "SpirVAssembly: Vulkan environment basics for compute pipeline." into vulkan

8 years agoSpirVAssembly: Vulkan environment basics for compute pipeline.
Lei Zhang [Mon, 28 Sep 2015 20:52:14 +0000 (16:52 -0400)]
SpirVAssembly: Vulkan environment basics for compute pipeline.

Set up test groups for SPIR-V assembly tests.

Set up Vulkan environment for compute pipeline.

Added a simple compute shader which just negates data from input
buffer. And test SPIR-V instruction OpNop based on that.

Change-Id: I8ccd518d9441899667edd58a042315780b068d1e

8 years agoam bfb203d5: (-s ours) am 7aad11b3: (-s ours) am eee8271e: DO NOT MERGE Split GLES31...
Kalle Raita [Thu, 15 Oct 2015 17:25:48 +0000 (17:25 +0000)]
am bfb203d5: (-s ours) am 7aad11b3: (-s ours) am eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.

* commit 'bfb203d582e8eae319ef958210cfaf29bafe016d':
  DO NOT MERGE Split GLES31 copy image tests in 3.

8 years agoam 7aad11b3: (-s ours) am eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.
Kalle Raita [Thu, 15 Oct 2015 17:20:31 +0000 (17:20 +0000)]
am 7aad11b3: (-s ours) am eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.

* commit '7aad11b331b77930088d20c6748a6bf22f6ab506':
  DO NOT MERGE Split GLES31 copy image tests in 3.

8 years agoam eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.
Kalle Raita [Thu, 15 Oct 2015 17:15:07 +0000 (17:15 +0000)]
am eee8271e: DO NOT MERGE Split GLES31 copy image tests in 3.

* commit 'eee8271e04e7b701798aaee445c794f65a984d36':
  DO NOT MERGE Split GLES31 copy image tests in 3.

8 years agoam ed67acb6: Do not query GL_MAX_PATCH_VERTICES if tessellation is not supported
Pyry Haulos [Wed, 14 Oct 2015 16:29:55 +0000 (16:29 +0000)]
am ed67acb6: Do not query GL_MAX_PATCH_VERTICES if tessellation is not supported

* commit 'ed67acb6743caaff7536d3ffd48fa02baf5c595f':
  Do not query GL_MAX_PATCH_VERTICES if tessellation is not supported

8 years agoDo not query GL_MAX_PATCH_VERTICES if tessellation is not supported
Pyry Haulos [Tue, 13 Oct 2015 20:06:24 +0000 (13:06 -0700)]
Do not query GL_MAX_PATCH_VERTICES if tessellation is not supported

Bug: 24870380
Change-Id: Ia80a536334200ae0df8b042829554f8773b64967

8 years agoresolved conflicts for 00d2d01b to vulkan
Pyry Haulos [Tue, 13 Oct 2015 19:41:51 +0000 (12:41 -0700)]
resolved conflicts for 00d2d01b to vulkan

Change-Id: Ic61d31525616cffa2312efab1d53d0da9e7416f2

8 years agoAdd couple of new tcu::TextureFormat::ChannelType's
Pyry Haulos [Mon, 12 Oct 2015 21:06:47 +0000 (14:06 -0700)]
Add couple of new tcu::TextureFormat::ChannelType's

Change-Id: Iffa8a87f69f3da3bea435c422279f1b8d65c71a9

8 years agoAdd more tests to dEQP-VK.info
Pyry Haulos [Fri, 9 Oct 2015 17:32:04 +0000 (10:32 -0700)]
Add more tests to dEQP-VK.info

This adds queries for physical device properties and features, layers,
and extensions.

Change-Id: Icd04751174fbb426ae09c4c7e79e5e2a35df7025

8 years agoUpdate glslang revision
Pyry Haulos [Mon, 12 Oct 2015 16:09:49 +0000 (09:09 -0700)]
Update glslang revision

Change-Id: If916b693625ca9f2644c4e854494bb2ea51142a8

8 years agoUpdate SPIR-V tests and spirv-tools to SPIR-V rev32.
Lei Zhang [Fri, 9 Oct 2015 15:53:21 +0000 (11:53 -0400)]
Update SPIR-V tests and spirv-tools to SPIR-V rev32.

Change-Id: I60da261bff306e6749ef75890d9238761681f939

8 years agoUpdate glslang reference to Rev32 in gitlab
Pyry Haulos [Mon, 28 Sep 2015 22:03:08 +0000 (15:03 -0700)]
Update glslang reference to Rev32 in gitlab

Change-Id: I9fb3fc9ba00d3f6a27f90a7a6561a5df7e7c865c

8 years agoUpdate to API version 170.2
Pyry Haulos [Mon, 28 Sep 2015 21:51:57 +0000 (14:51 -0700)]
Update to API version 170.2

Change-Id: Icf48994ec9cff5a17ff1472bff2a1272a35a32c3

8 years agoam 330f6e62: Add ability to choose ExecServer port on Android
Pyry Haulos [Wed, 7 Oct 2015 17:23:31 +0000 (17:23 +0000)]
am 330f6e62: Add ability to choose ExecServer port on Android

* commit '330f6e62b24a80eb92f08a60eb6b769480572be9':
  Add ability to choose ExecServer port on Android

8 years agoAdd ability to choose ExecServer port on Android
Pyry Haulos [Tue, 6 Oct 2015 22:46:39 +0000 (15:46 -0700)]
Add ability to choose ExecServer port on Android

Both ExecService and ServiceStarter will now use "port" integer extra,
if supplied as part of intent, to choose port.

Bug: 23429375
Change-Id: Ia4c5f6f4c90e01f8879aa76a9ba48c8addfc9669

8 years agoDO NOT MERGE Split GLES31 copy image tests in 3.
Kalle Raita [Tue, 6 Oct 2015 18:50:19 +0000 (11:50 -0700)]
DO NOT MERGE Split GLES31 copy image tests in 3.

Add support for filter-based splits of the CTS packages in
build_android_mustpass.py.

Split GLES31 copy image tests into 3 smaller CTS packages to get all CTS
packages to run in 3 hours or less on current platforms.

Bug: 24312007
Change-Id: I96bf1ce751ec341f1d6bfa80e7a28daf68cdf1e1

8 years agoam a60dea67: Explicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED
Christian Poetzsch [Mon, 5 Oct 2015 20:20:26 +0000 (20:20 +0000)]
am a60dea67: Explicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED

* commit 'a60dea67360b3fd0d4907eb1885ed94de07dbba8':
  Explicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED

8 years agoExplicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED
Christian Poetzsch [Mon, 14 Sep 2015 14:20:43 +0000 (15:20 +0100)]
Explicitly set SWAP_BEHAVIOR to BUFFER_DESTROYED

Some new tests missing the call to set the BUFFERED_DESTROYED swap
behavior.

Change-Id: I2856833d78b9d4763614f68e42eb31194cfe7715

8 years agoMake vkt::TestInstance assignment and copy ctor private
Pyry Haulos [Fri, 2 Oct 2015 18:52:26 +0000 (11:52 -0700)]
Make vkt::TestInstance assignment and copy ctor private

Change-Id: I629f51972302a46fcba51eac87a69d32313bf05a

8 years agoam 4dae2c1c: Merge "Add deCtz32() to deInt32.h"
Pyry Haulos [Thu, 1 Oct 2015 20:50:35 +0000 (20:50 +0000)]
am 4dae2c1c: Merge "Add deCtz32() to deInt32.h"

* commit '4dae2c1cc0d97512a9e9670a86deff78345a2b0a':
  Add deCtz32() to deInt32.h

8 years agoMerge "Add deCtz32() to deInt32.h"
Pyry Haulos [Thu, 1 Oct 2015 20:48:16 +0000 (20:48 +0000)]
Merge "Add deCtz32() to deInt32.h"

8 years agoAdd vkTypeUtil
Pyry Haulos [Thu, 1 Oct 2015 15:13:47 +0000 (08:13 -0700)]
Add vkTypeUtil

vkTypeUtil.hpp provides convenience functions for creating "simple"
Vulkan composite types, such as VkRect2D or VkChannelMapping.

Change-Id: I5b76046a61a06e92539a19666391b3c322863fca

8 years agoam 8914681e: Re-generate master mustpass
Pyry Haulos [Wed, 30 Sep 2015 21:27:52 +0000 (21:27 +0000)]
am 8914681e: Re-generate master mustpass

* commit '8914681e8a611121c915950909cad9157cae37e4':
  Re-generate master mustpass

8 years agoRe-generate master mustpass
Pyry Haulos [Wed, 30 Sep 2015 21:20:15 +0000 (14:20 -0700)]
Re-generate master mustpass

Change-Id: I3552a20708cd565c677d2e04626b5ea63ea03f89

8 years agoam 1c952028: Merge "Add preprocessor "defined" operator corner cases"
Pyry Haulos [Wed, 30 Sep 2015 20:06:46 +0000 (20:06 +0000)]
am 1c952028: Merge "Add preprocessor "defined" operator corner cases"

* commit '1c952028cf7b088abb9f23b721a4f54210e47c66':
  Add preprocessor "defined" operator corner cases

8 years agoam 677e4644: Fix couple of issues in refactored ShaderLibrary
Pyry Haulos [Wed, 30 Sep 2015 20:06:45 +0000 (20:06 +0000)]
am 677e4644: Fix couple of issues in refactored ShaderLibrary

* commit '677e4644b77c36b99a8959561730c9a519cc37c0':
  Fix couple of issues in refactored ShaderLibrary

8 years agoAdd deCtz32() to deInt32.h
Pyry Haulos [Wed, 30 Sep 2015 17:56:36 +0000 (10:56 -0700)]
Add deCtz32() to deInt32.h

deCtz32() computes number of trailing zeros.

Change-Id: I44707d92696af927d7464b75be789571338be479

8 years agoMerge "Add preprocessor "defined" operator corner cases"
Pyry Haulos [Wed, 30 Sep 2015 17:53:50 +0000 (17:53 +0000)]
Merge "Add preprocessor "defined" operator corner cases"

8 years agoMerge changes from Khronos repository
Pyry Haulos [Wed, 30 Sep 2015 17:47:13 +0000 (10:47 -0700)]
Merge changes from Khronos repository

8 years agoFix warning in vkQueryUtil.cpp
Pyry Haulos [Wed, 30 Sep 2015 17:44:02 +0000 (10:44 -0700)]
Fix warning in vkQueryUtil.cpp

Change-Id: Ie39dd6585b6ee4445d11cfa2b3512eaeedc8ea3d

8 years agoFix couple of issues in refactored ShaderLibrary
Pyry Haulos [Wed, 30 Sep 2015 17:00:12 +0000 (10:00 -0700)]
Fix couple of issues in refactored ShaderLibrary

 * Support for pipeline (separable) programs was broken

 * Extensions weren't checked for "both" -type cases

Change-Id: Ida579fb1cec7d892f244036f452405b491e7b4f1

8 years agoAdd preprocessor "defined" operator corner cases
Olli Etuaho [Mon, 28 Sep 2015 08:08:52 +0000 (11:08 +0300)]
Add preprocessor "defined" operator corner cases

The GLES3 shader tests have already required "defined" operator generated
by macro replacement to work. This is not specified by the C++ standard,
and has some corner cases where implementations might differ. Test the
corner cases to ensure fully compatible implementations.

These cases were already tested against some existing implementations on
Nexus devices, and the implementations mostly passed.

Change-Id: Ic54afc9436bb2ad2d7bfc7dc1e1833f700d3ca49

8 years agoMerge branch 'glslang_final_check_missing' into 'master'
Pyry Haulos [Tue, 29 Sep 2015 17:28:43 +0000 (13:28 -0400)]
Merge branch 'glslang_final_check_missing' into 'master'

Fix SpvGenerator - finalCheck pass was missing

Without this pass glslang will not do implicit array sizing, which may end in spurious "Missing functionality: Unsized Arrays" functionality on build-ins like gl_ClipDistance[] - even if they are not used in shaders at all.

This happened to me when I was trying to use #version 430 in test.

See merge request !32

8 years agoFix SpvGenerator - finalCheck pass was missing
scygan [Tue, 29 Sep 2015 17:15:02 +0000 (19:15 +0200)]
Fix SpvGenerator - finalCheck pass was missing

Without this pass glslang will not do implicit array sizing, which may end in spurious "Missing functionality: Unsized Arrays" functionality on build-ins like gl_ClipDistance[] - even if they are not used in shaders at all.

8 years agoFix invalid include guards
Pyry Haulos [Mon, 28 Sep 2015 22:39:47 +0000 (15:39 -0700)]
Fix invalid include guards

Change-Id: Ia9d53908b35343a1b285800bb930efdc9af2d6d4

8 years agoMerge changes from Khronos tree
Pyry Haulos [Mon, 28 Sep 2015 22:15:16 +0000 (15:15 -0700)]
Merge changes from Khronos tree

8 years agoMerge branch 'dkoch_misc_fixes' into 'master'
Pyry Haulos [Fri, 25 Sep 2015 18:18:57 +0000 (14:18 -0400)]
Merge branch 'dkoch_misc_fixes' into 'master'

Miscellaneous fixes

* Build with android-22. The Android SDK doesn't even seem to have android-13 around any more.
* Add newline before printing array of values, so they line up. Includes regeneration of the framework.
* Initialize the memory properties structure. This structure has a few large fixed sized arrays in it. Initialize the structure to avoid printing out uninitialized garbage in the log.
* Fix typo in log message

See merge request !30

8 years agobuild with android-22
Daniel Koch [Fri, 25 Sep 2015 03:20:40 +0000 (23:20 -0400)]
build with android-22

The Andriod SDK doesn't even have android-13 around anymore.

8 years agoAdd newline before printing array of values
Daniel Koch [Fri, 25 Sep 2015 05:29:38 +0000 (01:29 -0400)]
Add newline before printing array of values

Regenerate framework

8 years agoFix typo in log message
Daniel Koch [Fri, 25 Sep 2015 05:10:30 +0000 (01:10 -0400)]
Fix typo in log message

8 years agoInitialize the memory properties structure
Daniel Koch [Fri, 25 Sep 2015 05:14:39 +0000 (01:14 -0400)]
Initialize the memory properties structure

This structure has a few large fixed sized arrays in it.
Initialize the structure to avoid printing out uninitialized garbage in the log.

8 years agoam 4174d1d7: am d3e1b23d: am ca60962c: Remove large draw_indirect.compute_interop...
Kalle Raita [Thu, 24 Sep 2015 22:24:05 +0000 (22:24 +0000)]
am 4174d1d7: am d3e1b23d: am ca60962c: Remove large draw_indirect.compute_interop tests

* commit '4174d1d7a79cc7d36debf527112f26a3e8f22a87':
  Remove large draw_indirect.compute_interop tests

8 years agoam d3e1b23d: am ca60962c: Remove large draw_indirect.compute_interop tests
Kalle Raita [Thu, 24 Sep 2015 22:17:16 +0000 (22:17 +0000)]
am d3e1b23d: am ca60962c: Remove large draw_indirect.compute_interop tests

* commit 'd3e1b23dcd36e8247945deb6c00f725525f0f165':
  Remove large draw_indirect.compute_interop tests

8 years agoam ca60962c: Remove large draw_indirect.compute_interop tests
Kalle Raita [Thu, 24 Sep 2015 22:09:44 +0000 (22:09 +0000)]
am ca60962c: Remove large draw_indirect.compute_interop tests

* commit 'ca60962c06f071d7a40bade0771c5a60b8f18864':
  Remove large draw_indirect.compute_interop tests

8 years agoMerge "Add support for --deqp-case option to vk-build-programs" into vulkan
Pyry Haulos [Thu, 24 Sep 2015 22:01:39 +0000 (22:01 +0000)]
Merge "Add support for --deqp-case option to vk-build-programs" into vulkan

8 years agoAdd glu::ShaderType <-> VkShaderStage utils to vkPrograms
Pyry Haulos [Tue, 22 Sep 2015 18:28:13 +0000 (11:28 -0700)]
Add glu::ShaderType <-> VkShaderStage utils to vkPrograms

Change-Id: I04b98eb3cab6c0676c509e6065a652dc9848cd99

8 years agoAdd _LAST member to Vk* enums
Pyry Haulos [Thu, 24 Sep 2015 21:12:41 +0000 (14:12 -0700)]
Add _LAST member to Vk* enums

This adds VK_*_LAST to all Vk* enums that have linearly increasing enum
values. For example VK_RESULT_LAST is not added as the values are not
linearly increasing.

Change-Id: I717d7f58972e30c4e531af498dfba36b97f1587e

8 years agoAdd support for --deqp-case option to vk-build-programs
Pyry Haulos [Thu, 24 Sep 2015 20:40:14 +0000 (13:40 -0700)]
Add support for --deqp-case option to vk-build-programs

Change-Id: Iefb8b4c1bc191dfe0b5874805055961e2d594e45

8 years agoam 452ef231: Fix unnecessary assumption about source dir name
Pyry Haulos [Thu, 24 Sep 2015 20:32:48 +0000 (20:32 +0000)]
am 452ef231: Fix unnecessary assumption about source dir name

* commit '452ef231d18d5334b5ea30c9ee700d52ed0da505':
  Fix unnecessary assumption about source dir name

8 years agoFix unnecessary assumption about source dir name
Pyry Haulos [Thu, 24 Sep 2015 20:17:12 +0000 (13:17 -0700)]
Fix unnecessary assumption about source dir name

Build scripts were unnecessarily (and sometimes incorrectly) assuming
that deqp sources would be in a directory called "deqp".

Change-Id: I3c6cf5d850aa5598daa1d0832ee403bb639451a2

8 years agoRemove large draw_indirect.compute_interop tests
Kalle Raita [Wed, 23 Sep 2015 23:37:50 +0000 (16:37 -0700)]
Remove large draw_indirect.compute_interop tests

Remove tests in draw_indirect.compute_interop.large.drawelements_*_grid
that have grid size 1000 or greater.

Bug: 23288315
Change-Id: Ifbdea2ff884122da097198525a5b13d91ea00fe9

8 years agoUpdate glslang and spirv-tools revisions
Pyry Haulos [Tue, 22 Sep 2015 18:07:56 +0000 (11:07 -0700)]
Update glslang and spirv-tools revisions

Change-Id: I358e185de1c32ef8dc61e4360c0acbe5391fcae0

8 years agoUpdate external sources.
Mika Isojärvi [Mon, 21 Sep 2015 21:10:04 +0000 (14:10 -0700)]
Update external sources.

Change-Id: I315f046e2405ecba4471d903314c73f6bd776e01

8 years agoMerge "Map sRGB VkFormats to unorm instead of snorm" into vulkan
Mika Isojarvi [Thu, 17 Sep 2015 20:13:03 +0000 (20:13 +0000)]
Merge "Map sRGB VkFormats to unorm instead of snorm" into vulkan

8 years agoAdd glslang and spirv-tools to fetch_sources.py
Pyry Haulos [Thu, 17 Sep 2015 16:01:23 +0000 (09:01 -0700)]
Add glslang and spirv-tools to fetch_sources.py

Change-Id: I11da6673d0b7755422820a52b63c26759633f1aa

8 years agoam e2991312: Merge "Improve external/fetch_sources.py"
Pyry Haulos [Thu, 17 Sep 2015 17:07:05 +0000 (17:07 +0000)]
am e2991312: Merge "Improve external/fetch_sources.py"

* commit 'e2991312606d33eef30c54787f71e166c4317aa3':
  Improve external/fetch_sources.py

8 years agoMerge "Improve external/fetch_sources.py"
Pyry Haulos [Thu, 17 Sep 2015 16:57:35 +0000 (16:57 +0000)]
Merge "Improve external/fetch_sources.py"

8 years agoMerge "Simplify case names and reduce log spam in depth tests" into vulkan
Pyry Haulos [Thu, 17 Sep 2015 15:57:36 +0000 (15:57 +0000)]
Merge "Simplify case names and reduce log spam in depth tests" into vulkan

8 years agoam 368be866: Merge "Add tests back to master mustpass"
Pyry Haulos [Wed, 16 Sep 2015 21:01:37 +0000 (21:01 +0000)]
am 368be866: Merge "Add tests back to master mustpass"

* commit '368be866c4c635a240737b8f3a550d4e80848778':
  Add tests back to master mustpass

8 years agoam c1cce2ff: Clean up support checks in ShaderExecutor
Pyry Haulos [Wed, 16 Sep 2015 21:01:36 +0000 (21:01 +0000)]
am c1cce2ff: Clean up support checks in ShaderExecutor

* commit 'c1cce2ffcc49c4cde66dcfd54f46b8ccea119b0c':
  Clean up support checks in ShaderExecutor

8 years agoMerge "Add tests back to master mustpass"
Pyry Haulos [Wed, 16 Sep 2015 20:14:48 +0000 (20:14 +0000)]
Merge "Add tests back to master mustpass"

8 years agoMap sRGB VkFormats to unorm instead of snorm
Mika Isojärvi [Wed, 16 Sep 2015 19:47:52 +0000 (12:47 -0700)]
Map sRGB VkFormats to unorm instead of snorm

Change-Id: I20f76188262733747a56feca55404afcc674f2d7

8 years agoImprove external/fetch_sources.py
Pyry Haulos [Tue, 15 Sep 2015 19:10:25 +0000 (12:10 -0700)]
Improve external/fetch_sources.py

 * Cache fetched packages, making fetch_sources.py significantly faster
when package reference has not been updated.

 * Keep sources in a separate sub-directory

 * Add initial support for git repositories

Change-Id: If24b18efb6d052147bfb4ed23ceeb40e2b391f3d