platform/upstream/VK-GL-CTS.git
7 years agoMerge "Tex array negative test fixes for FBTextureLayer" am: 13e9c5295c am: 78a609ac42
Kalle Raita [Wed, 10 Aug 2016 22:34:54 +0000 (22:34 +0000)]
Merge "Tex array negative test fixes for FBTextureLayer" am: 13e9c5295c am: 78a609ac42
am: e3ceb38d90

Change-Id: I1c076a7b7c6ca59c9a8a97c9044c6c6dc9a74558

7 years agoMerge "Tex array negative test fixes for FBTextureLayer" am: 13e9c5295c
Kalle Raita [Wed, 10 Aug 2016 22:31:53 +0000 (22:31 +0000)]
Merge "Tex array negative test fixes for FBTextureLayer" am: 13e9c5295c
am: 78a609ac42

Change-Id: If80c238d80227aa88f28653639dabeeeaf46070b

7 years agoMerge "Tex array negative test fixes for FBTextureLayer"
Kalle Raita [Wed, 10 Aug 2016 22:29:01 +0000 (22:29 +0000)]
Merge "Tex array negative test fixes for FBTextureLayer"
am: 13e9c5295c

Change-Id: If792fa48f885bcff8f12ed4bb7d86800ab62c575

7 years agoMerge "Tex array negative test fixes for FBTextureLayer"
Kalle Raita [Wed, 10 Aug 2016 22:23:15 +0000 (22:23 +0000)]
Merge "Tex array negative test fixes for FBTextureLayer"

7 years agoMerge "Fix implicit conversion to bool" am: 95d03db971 am: 5c51a0e9ab
Collin Baker [Wed, 10 Aug 2016 22:09:51 +0000 (22:09 +0000)]
Merge "Fix implicit conversion to bool" am: 95d03db971 am: 5c51a0e9ab
am: 8dff83a942

Change-Id: I9bcb746b1c5d904312e8e8f7720f074757f0d7ee

7 years agoMerge "Fix implicit conversion to bool" am: 95d03db971
Collin Baker [Wed, 10 Aug 2016 22:06:52 +0000 (22:06 +0000)]
Merge "Fix implicit conversion to bool" am: 95d03db971
am: 5c51a0e9ab

Change-Id: Id86ca067b795092009e6a7ffeeafe2555bcd78f3

7 years agoMerge "Fix implicit conversion to bool"
Collin Baker [Wed, 10 Aug 2016 22:00:54 +0000 (22:00 +0000)]
Merge "Fix implicit conversion to bool"
am: 95d03db971

Change-Id: I054bd6977be912399032876723be543bf5b65dcf

7 years agoMerge "Fix implicit conversion to bool"
Treehugger Robot [Wed, 10 Aug 2016 21:54:31 +0000 (21:54 +0000)]
Merge "Fix implicit conversion to bool"

7 years agofetch_souces.py: cache extracted hash and only extract if necessary am: 30e2e7b423...
Pyry Haulos [Wed, 10 Aug 2016 21:45:53 +0000 (21:45 +0000)]
fetch_souces.py: cache extracted hash and only extract if necessary am: 30e2e7b423 am: bb1518d839
am: c62f0007f6

Change-Id: I2d9a6e93cde045d6c96c580b2829e76a97a59830

7 years agofetch_souces.py: cache extracted hash and only extract if necessary am: 30e2e7b423
Pyry Haulos [Wed, 10 Aug 2016 21:36:07 +0000 (21:36 +0000)]
fetch_souces.py: cache extracted hash and only extract if necessary am: 30e2e7b423
am: bb1518d839

Change-Id: Iad3aefe6fbebb357b9d03f8adc2ed1b98ca11a1d

7 years agofetch_souces.py: cache extracted hash and only extract if necessary
Pyry Haulos [Wed, 10 Aug 2016 21:29:59 +0000 (21:29 +0000)]
fetch_souces.py: cache extracted hash and only extract if necessary
am: 30e2e7b423

Change-Id: I8f1fab3874f5ba6168b014dc958597353b963af2

7 years agoFix implicit conversion to bool
Collin Baker [Wed, 10 Aug 2016 20:31:57 +0000 (13:31 -0700)]
Fix implicit conversion to bool

Change-Id: Ia3fe8da45a24c446a689698018032efe09a19529

7 years agoMerge "Improvements to sample verification code" am: 9e25446699 am: a0931a720d
Pyry Haulos [Wed, 10 Aug 2016 19:39:13 +0000 (19:39 +0000)]
Merge "Improvements to sample verification code" am: 9e25446699 am: a0931a720d
am: 2b6ecc3f84

Change-Id: Ibccc903f71ed4e53706931a9d4afea2c0caaff25

7 years agoMerge "Improvements to sample verification code" am: 9e25446699
Pyry Haulos [Wed, 10 Aug 2016 19:36:13 +0000 (19:36 +0000)]
Merge "Improvements to sample verification code" am: 9e25446699
am: a0931a720d

Change-Id: Id9894949e91b15aa387ea30130e8848eb1fb5c37

7 years agoMerge "Improvements to sample verification code"
Pyry Haulos [Wed, 10 Aug 2016 19:33:13 +0000 (19:33 +0000)]
Merge "Improvements to sample verification code"
am: 9e25446699

Change-Id: Iea39e1a1a505943d4c1ee9dfa8f0d684c6064e74

7 years agofetch_souces.py: cache extracted hash and only extract if necessary
Pyry Haulos [Wed, 10 Aug 2016 19:26:45 +0000 (12:26 -0700)]
fetch_souces.py: cache extracted hash and only extract if necessary

Change-Id: I62119f60325d1d646b7777ed57941e34df601df3

7 years agoMerge "Improvements to sample verification code"
Pyry Haulos [Wed, 10 Aug 2016 19:20:07 +0000 (19:20 +0000)]
Merge "Improvements to sample verification code"

7 years agoMerge "Let linker find libm on unix" am: 0ae9f0d744 am: c38f0231db
Pyry Haulos [Wed, 10 Aug 2016 18:59:40 +0000 (18:59 +0000)]
Merge "Let linker find libm on unix" am: 0ae9f0d744 am: c38f0231db
am: af0d09d5ba

Change-Id: I4a3ebf750e71d9275f3da528ef752330656c35e0

7 years agoMerge "Use 3rd party cflags in zlib" am: 12289a3151 am: 4cbe6899d2
Pyry Haulos [Wed, 10 Aug 2016 18:59:40 +0000 (18:59 +0000)]
Merge "Use 3rd party cflags in zlib" am: 12289a3151 am: 4cbe6899d2
am: 2b871a5022

Change-Id: I2d327909acc8b26b7f8be264b58503bc03622486

7 years agoMerge "Fix deUint64 -> size_t warning in deSha1" am: 2a7d53ca19 am: 17a3ef9c00
Pyry Haulos [Wed, 10 Aug 2016 18:59:39 +0000 (18:59 +0000)]
Merge "Fix deUint64 -> size_t warning in deSha1" am: 2a7d53ca19 am: 17a3ef9c00
am: 6bf3e1cb65

Change-Id: I96c50e2aeece056f555dee6375d0eadd715b8650

7 years agoMerge "Let linker find libm on unix" am: 0ae9f0d744
Pyry Haulos [Wed, 10 Aug 2016 18:56:40 +0000 (18:56 +0000)]
Merge "Let linker find libm on unix" am: 0ae9f0d744
am: c38f0231db

Change-Id: Id91760a0c97e472f63225ded21036baf7d665a4d

7 years agoMerge "Use 3rd party cflags in zlib" am: 12289a3151
Pyry Haulos [Wed, 10 Aug 2016 18:56:40 +0000 (18:56 +0000)]
Merge "Use 3rd party cflags in zlib" am: 12289a3151
am: 4cbe6899d2

Change-Id: I52ca021269f516d002c2070da5cd3f7ddfa840b1

7 years agoMerge "Fix deUint64 -> size_t warning in deSha1" am: 2a7d53ca19
Pyry Haulos [Wed, 10 Aug 2016 18:56:39 +0000 (18:56 +0000)]
Merge "Fix deUint64 -> size_t warning in deSha1" am: 2a7d53ca19
am: 17a3ef9c00

Change-Id: I7f830bb6198395b237d56ec0ee41fe690ba9bb7a

7 years agoMerge "Let linker find libm on unix"
Pyry Haulos [Wed, 10 Aug 2016 18:53:43 +0000 (18:53 +0000)]
Merge "Let linker find libm on unix"
am: 0ae9f0d744

Change-Id: Iddf75d27b6a40696c8a6cd807b18db8a5bd83527

7 years agoMerge "Use 3rd party cflags in zlib"
Pyry Haulos [Wed, 10 Aug 2016 18:53:42 +0000 (18:53 +0000)]
Merge "Use 3rd party cflags in zlib"
am: 12289a3151

Change-Id: Ib16822d67695256128435f5d0faf48feb980ada3

7 years agoMerge "Fix deUint64 -> size_t warning in deSha1"
Pyry Haulos [Wed, 10 Aug 2016 18:53:40 +0000 (18:53 +0000)]
Merge "Fix deUint64 -> size_t warning in deSha1"
am: 2a7d53ca19

Change-Id: If8e1b6ba2d87cedc98520e970ace1867c6d6817b

7 years agoMerge "Let linker find libm on unix"
Pyry Haulos [Wed, 10 Aug 2016 18:47:27 +0000 (18:47 +0000)]
Merge "Let linker find libm on unix"

7 years agoMerge "Use 3rd party cflags in zlib"
Treehugger Robot [Wed, 10 Aug 2016 18:38:06 +0000 (18:38 +0000)]
Merge "Use 3rd party cflags in zlib"

7 years agoMerge "Fix deUint64 -> size_t warning in deSha1"
Treehugger Robot [Wed, 10 Aug 2016 18:36:35 +0000 (18:36 +0000)]
Merge "Fix deUint64 -> size_t warning in deSha1"

7 years agoImprovements to sample verification code
Collin Baker [Mon, 25 Jul 2016 21:35:03 +0000 (14:35 -0700)]
Improvements to sample verification code

Refactoring and improvements to code in vktSampleVerifier.cpp;
Moved much functionality into separate functions and cleaned up some
quick fixes I had made previously.

Change-Id: I7a02ee0cbe009946ec1126e1e77141596cf1c028

7 years agoFix clang launch control builds am: 2011fb57b8 am: c91abc37d2
Pyry Haulos [Wed, 10 Aug 2016 17:31:34 +0000 (17:31 +0000)]
Fix clang launch control builds am: 2011fb57b8 am: c91abc37d2
am: 5801dce433

Change-Id: Ic2fa0b7812e6d0616bc36cc33e89fba4145f2a70

7 years agoFix clang launch control builds am: 2011fb57b8
Pyry Haulos [Wed, 10 Aug 2016 17:27:36 +0000 (17:27 +0000)]
Fix clang launch control builds am: 2011fb57b8
am: c91abc37d2

Change-Id: I557859464a3991d48c4f0e0ffe38f94a6ddb9a35

7 years agoFix clang launch control builds
Pyry Haulos [Wed, 10 Aug 2016 17:24:39 +0000 (17:24 +0000)]
Fix clang launch control builds
am: 2011fb57b8

Change-Id: I86358b9457e21ae65115b7b5edfbd5883c845512

7 years agoFix deUint64 -> size_t warning in deSha1
Pyry Haulos [Wed, 10 Aug 2016 17:18:02 +0000 (10:18 -0700)]
Fix deUint64 -> size_t warning in deSha1

Change-Id: Iadef8102281454601a39f2b39d5086f2b3e42802

7 years agoLet linker find libm on unix
Pyry Haulos [Wed, 10 Aug 2016 17:22:55 +0000 (10:22 -0700)]
Let linker find libm on unix

Fixes 32-bit builds on 64-bit systems.

Change-Id: Idec88517d7208f1a616cde8c688fa6b5e6e7d2a6

7 years agoUse 3rd party cflags in zlib
Pyry Haulos [Wed, 10 Aug 2016 17:16:57 +0000 (10:16 -0700)]
Use 3rd party cflags in zlib

zlib doesn't build cleanly with default warning flags.

Change-Id: Ie20c7920a5468d07e2b63fb3a78260f87b330195

7 years agoFix clang launch control builds
Pyry Haulos [Wed, 10 Aug 2016 01:19:10 +0000 (18:19 -0700)]
Fix clang launch control builds

Change-Id: Ibefb228e5208922a749027937746183b0dfc1409

7 years agoMerge "Modify deqp install script to accept build-root" am: 98faf68f01 am: 4dafa58484
Pyry Haulos [Wed, 10 Aug 2016 00:12:04 +0000 (00:12 +0000)]
Merge "Modify deqp install script to accept build-root" am: 98faf68f01 am: 4dafa58484
am: f8f1a31678

Change-Id: I4c0a53b7afbfbdb4d795fe8e3600f43e77c0bba2

7 years agoMerge "Modify deqp install script to accept build-root" am: 98faf68f01
Pyry Haulos [Wed, 10 Aug 2016 00:09:38 +0000 (00:09 +0000)]
Merge "Modify deqp install script to accept build-root" am: 98faf68f01
am: 4dafa58484

Change-Id: Iebe806bcaf376d1acaaf0f5edcf9986a05761885

7 years agoMerge "Modify deqp install script to accept build-root"
Pyry Haulos [Wed, 10 Aug 2016 00:06:36 +0000 (00:06 +0000)]
Merge "Modify deqp install script to accept build-root"
am: 98faf68f01

Change-Id: I4515d8af4332540b669b5853838910280c094b94

7 years agoMerge "Modify deqp install script to accept build-root"
Pyry Haulos [Tue, 9 Aug 2016 23:49:59 +0000 (23:49 +0000)]
Merge "Modify deqp install script to accept build-root"

7 years agoMerge "Enable -Werror in launch control builds" am: 5d3110410c am: 84d16a0eb4
Pyry Haulos [Tue, 9 Aug 2016 22:38:58 +0000 (22:38 +0000)]
Merge "Enable -Werror in launch control builds" am: 5d3110410c am: 84d16a0eb4
am: 478283f842

Change-Id: Ie95028d80901f81b64427ca15230cae6279b65db

7 years agoMerge "Enable -Werror in launch control builds" am: 5d3110410c
Pyry Haulos [Tue, 9 Aug 2016 22:36:17 +0000 (22:36 +0000)]
Merge "Enable -Werror in launch control builds" am: 5d3110410c
am: 84d16a0eb4

Change-Id: Id2e3b1407de017ff5a9ffa84e670a09d7b2e6b18

7 years agoMerge "Enable -Werror in launch control builds"
Pyry Haulos [Tue, 9 Aug 2016 22:33:20 +0000 (22:33 +0000)]
Merge "Enable -Werror in launch control builds"
am: 5d3110410c

Change-Id: I69eadb3ec457ccff708f80e1486e10646c2fc0a3

7 years agoMerge "Enable -Werror in launch control builds"
Pyry Haulos [Tue, 9 Aug 2016 22:23:02 +0000 (22:23 +0000)]
Merge "Enable -Werror in launch control builds"

7 years agoMerge "Merge upstream-vulkan-cts-1.0-dev into master" am: 553f24edf2 am: ecfd015f05
Pyry Haulos [Tue, 9 Aug 2016 21:56:02 +0000 (21:56 +0000)]
Merge "Merge upstream-vulkan-cts-1.0-dev into master" am: 553f24edf2 am: ecfd015f05
am: 51879177a6

Change-Id: Id4381df552b6bdfcf6d30ab08860b9d4d761fa30

7 years agoMerge upstream-vulkan-cts-1.0-dev into master am: fb20fc5f5d am: c0d5f3c3bd
Pyry Haulos [Tue, 9 Aug 2016 21:56:01 +0000 (21:56 +0000)]
Merge upstream-vulkan-cts-1.0-dev into master am: fb20fc5f5d am: c0d5f3c3bd
am: 93a21800dd

Change-Id: If1920484f14fade0444585060516afb23746133c

7 years agoQuick fix for warning in vktSampleVerifier.cpp am: 5bffef48d5 am: cddd73d649
Collin Baker [Tue, 9 Aug 2016 21:56:00 +0000 (21:56 +0000)]
Quick fix for warning in vktSampleVerifier.cpp am: 5bffef48d5 am: cddd73d649
am: 6e53a18230

Change-Id: I47c99d3703e822c668fbde142a63a98580735f58

7 years agoMerge "Merge upstream-vulkan-cts-1.0-dev into master" am: 553f24edf2
Pyry Haulos [Tue, 9 Aug 2016 21:52:28 +0000 (21:52 +0000)]
Merge "Merge upstream-vulkan-cts-1.0-dev into master" am: 553f24edf2
am: ecfd015f05

Change-Id: I07414b170eae876a57cbbe82907690c6fae9841b

7 years agoMerge upstream-vulkan-cts-1.0-dev into master am: fb20fc5f5d
Pyry Haulos [Tue, 9 Aug 2016 21:52:28 +0000 (21:52 +0000)]
Merge upstream-vulkan-cts-1.0-dev into master am: fb20fc5f5d
am: c0d5f3c3bd

Change-Id: I149c4b5d6c44237f92852e3bf6a381c97634de09

7 years agoQuick fix for warning in vktSampleVerifier.cpp am: 5bffef48d5
Collin Baker [Tue, 9 Aug 2016 21:52:27 +0000 (21:52 +0000)]
Quick fix for warning in vktSampleVerifier.cpp am: 5bffef48d5
am: cddd73d649

Change-Id: I18938c7659eb12ca0af12f03afb929df4a04823e

7 years agoMerge "Merge upstream-vulkan-cts-1.0-dev into master"
Pyry Haulos [Tue, 9 Aug 2016 21:49:45 +0000 (21:49 +0000)]
Merge "Merge upstream-vulkan-cts-1.0-dev into master"
am: 553f24edf2

Change-Id: I918ba8e7d1b425e3ef0eb84145be70f080e62ac0

7 years agoMerge upstream-vulkan-cts-1.0-dev into master
Pyry Haulos [Tue, 9 Aug 2016 21:49:43 +0000 (21:49 +0000)]
Merge upstream-vulkan-cts-1.0-dev into master
am: fb20fc5f5d

Change-Id: Ibdfcd16a02e4779a3c610b7d50c68b2762802a15

7 years agoQuick fix for warning in vktSampleVerifier.cpp
Collin Baker [Tue, 9 Aug 2016 21:49:38 +0000 (21:49 +0000)]
Quick fix for warning in vktSampleVerifier.cpp
am: 5bffef48d5

Change-Id: Ic359830988218d2402983a6058f446975889d9cd

7 years agoMerge "Merge upstream-vulkan-cts-1.0-dev into master"
Pyry Haulos [Tue, 9 Aug 2016 21:39:11 +0000 (21:39 +0000)]
Merge "Merge upstream-vulkan-cts-1.0-dev into master"

7 years agoMerge upstream-vulkan-cts-1.0-dev into master
Pyry Haulos [Tue, 9 Aug 2016 20:02:10 +0000 (13:02 -0700)]
Merge upstream-vulkan-cts-1.0-dev into master

Change-Id: I318218fecd46ac39cc8dd5904d6fae3658bdb771

7 years agoMerge 'github/vulkan-cts-1.0-dev' into vulkan-cts-1.0-dev
Pyry Haulos [Tue, 9 Aug 2016 19:51:19 +0000 (12:51 -0700)]
Merge 'github/vulkan-cts-1.0-dev' into vulkan-cts-1.0-dev

7 years agoQuick fix for warning in vktSampleVerifier.cpp
Collin Baker [Tue, 9 Aug 2016 19:42:15 +0000 (12:42 -0700)]
Quick fix for warning in vktSampleVerifier.cpp

Change-Id: I5deb847a65c95939492af54b2ceb9b1e29929f95

7 years agoEnable -Werror in launch control builds
Pyry Haulos [Tue, 9 Aug 2016 18:31:34 +0000 (11:31 -0700)]
Enable -Werror in launch control builds

Change-Id: If9fe40a3d845e1081f9a433dae13d90ca5354f83

7 years agoAdd support for rendering vertex combined sampled images. am: 5fe6837872 am: 6003e58af4
Mika Isojrvi [Mon, 8 Aug 2016 23:42:57 +0000 (23:42 +0000)]
Add support for rendering vertex combined sampled images. am: 5fe6837872 am: 6003e58af4
am: 673aaf7079

Change-Id: I03ac5b069e5ebcce6b3fa050e3fb62d22496dbdc

7 years agoAdd support for rendering vertex combined sampled images. am: 5fe6837872
Mika Isojrvi [Mon, 8 Aug 2016 23:40:21 +0000 (23:40 +0000)]
Add support for rendering vertex combined sampled images. am: 5fe6837872
am: 6003e58af4

Change-Id: I5ee08c425b0ac3007a1d0f5e5b8aed6da03a436d

7 years agoAdd support for rendering vertex combined sampled images.
Mika Isojrvi [Mon, 8 Aug 2016 23:37:52 +0000 (23:37 +0000)]
Add support for rendering vertex combined sampled images.
am: 5fe6837872

Change-Id: If1697cc8f1c78fa45859ba6a1cc8e92512c96a05

7 years agoUpdate Android CTS mustpass
Pyry Haulos [Mon, 8 Aug 2016 21:58:56 +0000 (14:58 -0700)]
Update Android CTS mustpass

This brings Android CTS mustpass files up-to-date with latest test case
renames.

Change-Id: I436bf70fb685d538b79fb0cb86e9fc1883ee929c

7 years agoHarmonize test case names
Pyry Haulos [Mon, 8 Aug 2016 21:39:54 +0000 (14:39 -0700)]
Harmonize test case names

 * Avoid camel case and uppercase
 * Use more common abbreviations

Change-Id: Ica9a3936be96a72ec410d3673d5c6a2dd9e32c44

7 years agoRemove mustpass XML files not used by Vulkan CTS
Pyry Haulos [Mon, 8 Aug 2016 21:37:48 +0000 (14:37 -0700)]
Remove mustpass XML files not used by Vulkan CTS

Change-Id: I48e43f604c296baebdad5a25c3d7a723bfddb0f0

7 years agoAdd support for rendering vertex combined sampled images.
Mika Isojärvi [Thu, 4 Aug 2016 22:14:04 +0000 (15:14 -0700)]
Add support for rendering vertex combined sampled images.

Change-Id: Id71043ac38aae99668899cc72ddd8c55e11364fe

7 years agoFix geometry shader support check am: 83470b2dcb am: 276e8bac4c
Pyry Haulos [Mon, 8 Aug 2016 20:44:23 +0000 (20:44 +0000)]
Fix geometry shader support check am: 83470b2dcb am: 276e8bac4c
am: d3c11ad0b0

Change-Id: I5b58c632ad94473428ba5211657557f47ef6b60b

7 years agoFix geometry shader support check am: 83470b2dcb
Pyry Haulos [Mon, 8 Aug 2016 20:41:51 +0000 (20:41 +0000)]
Fix geometry shader support check am: 83470b2dcb
am: 276e8bac4c

Change-Id: I2f96d85937e2ba6a1668e6188bf0c2dd2e1069db

7 years agoFix geometry shader support check
Pyry Haulos [Mon, 8 Aug 2016 20:39:23 +0000 (20:39 +0000)]
Fix geometry shader support check
am: 83470b2dcb

Change-Id: Ib859cbfe922aa7a4fcd82f0a62a49836d56f2605

7 years agoFix geometry shader support check
Pyry Haulos [Mon, 8 Aug 2016 19:34:35 +0000 (12:34 -0700)]
Fix geometry shader support check

Bug: 30738286
Change-Id: I976d76cd417e1c0b456d252f50a8979f30d5be3f

7 years agoMerge "Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into vulkan-cts-1.0.1
Pyry Haulos [Mon, 8 Aug 2016 18:58:59 +0000 (14:58 -0400)]
Merge "Check and enable VK_KHR_sampler_mirror_clamp_to_edge" into vulkan-cts-1.0.1

7 years agoFix VkDeviceSize -> size_t implicit conversion warning
Pyry Haulos [Mon, 8 Aug 2016 18:12:18 +0000 (11:12 -0700)]
Fix VkDeviceSize -> size_t implicit conversion warning

Change-Id: Id1742b7830e12799948bf635412974df17b9bce4

7 years agoCheck and enable VK_KHR_sampler_mirror_clamp_to_edge
Pyry Haulos [Mon, 8 Aug 2016 18:08:47 +0000 (11:08 -0700)]
Check and enable VK_KHR_sampler_mirror_clamp_to_edge

Several tests in dEQP-VK.pipeline group assume that
VK_SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE mode is supported. Spec
actually requires that VK_KHR_sampler_mirror_clamp_to_edge is enabled if
that mode is used.

This change enables VK_KHR_sampler_mirror_clamp_to_edge in default
device, if supported, and adds relevant checks in the test code.

In the future we'll want to clean this up by giving test cases more
control about the device configuration they need.

Fixes #339

Change-Id: Ib264c4f2fb147271c9c09d6286f4a26dd175f493

7 years agoTex array negative test fixes for FBTextureLayer
Kalle Raita [Fri, 5 Aug 2016 22:23:49 +0000 (15:23 -0700)]
Tex array negative test fixes for FBTextureLayer

1) 2D multisample array textures can only have level 0 as the level in
the FramebufferTextureLayer. Now testing that level -1 and 1 trigger
INVALID_VALUE. Previously test was directed at layer.

2) Cube map arrays with layer above MAX_ARRAY_TEXTURE_LAYERS should
generate INVALID_VALUE.

Bug: 30287182
Bug: 28090252
Change-Id: I500074c1777d88291c0b395498bb0f7d5613d27d

7 years agoFix api.buffer.* tests to use sparse capable queue instead the default.
Gabor Abraham [Mon, 25 Jul 2016 15:28:05 +0000 (17:28 +0200)]
Fix api.buffer.* tests to use sparse capable queue instead the default.

7 years agoFix accidental disabling of ASTC decoding internal test
Pyry Haulos [Thu, 4 Aug 2016 19:47:26 +0000 (12:47 -0700)]
Fix accidental disabling of ASTC decoding internal test

7 years agoDo not allocate large objects unnecessarily in static memory
Pyry Haulos [Thu, 4 Aug 2016 18:36:15 +0000 (11:36 -0700)]
Do not allocate large objects unnecessarily in static memory

7 years agoFix memory leaks in pipeline cache tests
Pyry Haulos [Thu, 4 Aug 2016 18:35:33 +0000 (11:35 -0700)]
Fix memory leaks in pipeline cache tests

7 years agoFix tcu::Resource leak in draw and dynamic_state tests
Pyry Haulos [Thu, 4 Aug 2016 18:34:52 +0000 (11:34 -0700)]
Fix tcu::Resource leak in draw and dynamic_state tests

7 years agoFix failing assert in copies and blitting tests
Pyry Haulos [Thu, 4 Aug 2016 18:34:25 +0000 (11:34 -0700)]
Fix failing assert in copies and blitting tests

7 years agoAdd note why command buffers are not freed individually
Pyry Haulos [Thu, 4 Aug 2016 18:34:01 +0000 (11:34 -0700)]
Add note why command buffers are not freed individually

7 years agoSkip testing int lookups for fp32/fp64 formats in internal tests
Pyry Haulos [Thu, 4 Aug 2016 18:32:59 +0000 (11:32 -0700)]
Skip testing int lookups for fp32/fp64 formats in internal tests

Overflow in float->int conversion is undefined and results vary between
tested CPUs.

7 years agoDisallow decoding ASTC sRGB formats in HDR mode
Pyry Haulos [Thu, 4 Aug 2016 18:29:52 +0000 (11:29 -0700)]
Disallow decoding ASTC sRGB formats in HDR mode

sRGB is not supported in HDR mode

7 years agoFix out-of-bounds memory accesses in ASTC decoder
Pyry Haulos [Thu, 4 Aug 2016 18:28:13 +0000 (11:28 -0700)]
Fix out-of-bounds memory accesses in ASTC decoder

interpolateWeights() was accessing weights outside weight grid bounds.
This resulted in valgrind errors even though values did not contribute
to result colors due to having zero-valued weights.

7 years agoImprove Vulkan null driver
Pyry Haulos [Thu, 4 Aug 2016 18:25:51 +0000 (11:25 -0700)]
Improve Vulkan null driver

 * Implement VkCommandPool/VkCommandBuffer lifetime management
correctly.

 * Return sensible values for device feature and limit queries to allow
more tests to run.

7 years agoUpdate mustpass list. am: fc145f5198 am: de3b7ebf4d
Mika Isojrvi [Thu, 4 Aug 2016 15:01:57 +0000 (15:01 +0000)]
Update mustpass list. am: fc145f5198 am: de3b7ebf4d
am: 888de2570b

Change-Id: I6f7ed0bd4ae9fcbb89eef2f88416dc34087a7a9c

7 years agoUpdate mustpass list. am: fc145f5198
Mika Isojärvi [Thu, 4 Aug 2016 14:58:26 +0000 (14:58 +0000)]
Update mustpass list. am: fc145f5198
am: de3b7ebf4d

Change-Id: I7212090ffd35e76266ee2220c13f5137e20b85df

7 years agoUpdate mustpass list.
Mika Isojrvi [Thu, 4 Aug 2016 14:55:26 +0000 (14:55 +0000)]
Update mustpass list.
am: fc145f5198

Change-Id: I886dd4ff7029d395490af8d6fd4895816ffbf267

7 years agoUpdate mustpass list.
Mika Isojärvi [Wed, 3 Aug 2016 21:23:21 +0000 (14:23 -0700)]
Update mustpass list.

Change-Id: I67f58940caec80ec5ef5e0dff5cc8bc71f7d9643

7 years agoAdd support for rendering vertex storage images. am: cb6eb243c9 am: 62768ad130
Mika Isojrvi [Wed, 3 Aug 2016 21:07:20 +0000 (21:07 +0000)]
Add support for rendering vertex storage images. am: cb6eb243c9 am: 62768ad130
am: 707ceeb7cf

Change-Id: I7ee14f8ec9c863c4de21b1f0ee6ad54633d9a370

7 years agoAdd support for rendering vertex storage texel buffers. am: b214c63910 am: 11d666264a
Mika Isojrvi [Wed, 3 Aug 2016 21:07:19 +0000 (21:07 +0000)]
Add support for rendering vertex storage texel buffers. am: b214c63910 am: 11d666264a
am: 26ed604750

Change-Id: Ie78e2c048f0ab622ccf666ee5e68b54149cf0ab1

7 years agoAdd vertex storage buffers to pipeline barrier tests. am: 7da6a1a373 am: f59346fb51
Mika Isojrvi [Wed, 3 Aug 2016 21:07:19 +0000 (21:07 +0000)]
Add vertex storage buffers to pipeline barrier tests. am: 7da6a1a373 am: f59346fb51
am: e86a141a32

Change-Id: I95682eb0cf2ddc9568128198a9513b43115157c1

7 years agoAdd support for rendering vertex storage images. am: cb6eb243c9
Mika Isojärvi [Wed, 3 Aug 2016 21:04:49 +0000 (21:04 +0000)]
Add support for rendering vertex storage images. am: cb6eb243c9
am: 62768ad130

Change-Id: I73607321371a831ed8013e8d4180525e86e2f32f

7 years agoAdd support for rendering vertex storage texel buffers. am: b214c63910
Mika Isojärvi [Wed, 3 Aug 2016 21:04:49 +0000 (21:04 +0000)]
Add support for rendering vertex storage texel buffers. am: b214c63910
am: 11d666264a

Change-Id: I45526bd8cfa1c67d9b09e109d9f0be83f0eb5fe7

7 years agoAdd vertex storage buffers to pipeline barrier tests. am: 7da6a1a373
Mika Isojärvi [Wed, 3 Aug 2016 21:04:48 +0000 (21:04 +0000)]
Add vertex storage buffers to pipeline barrier tests. am: 7da6a1a373
am: f59346fb51

Change-Id: Ie2d963bb7393f806351bbd2880ac37ae8626a36e

7 years agoAdd support for rendering vertex storage images.
Mika Isojrvi [Wed, 3 Aug 2016 21:02:27 +0000 (21:02 +0000)]
Add support for rendering vertex storage images.
am: cb6eb243c9

Change-Id: I1e4540beab25d88e2f841491fb40b2b60865a680

7 years agoAdd support for rendering vertex storage texel buffers.
Mika Isojrvi [Wed, 3 Aug 2016 21:02:26 +0000 (21:02 +0000)]
Add support for rendering vertex storage texel buffers.
am: b214c63910

Change-Id: I4b0ce68dd009ceabd56be77acb96c4afca7113ef

7 years agoAdd vertex storage buffers to pipeline barrier tests.
Mika Isojrvi [Wed, 3 Aug 2016 21:02:24 +0000 (21:02 +0000)]
Add vertex storage buffers to pipeline barrier tests.
am: 7da6a1a373

Change-Id: Idd84b7b9c0014d9e6aacbd0d41d7e6a88b77a06d

7 years agoAdd support for rendering vertex uniform texel buffers am: 2e5fc5db2b am: d0f428f62a
Mika Isojrvi [Wed, 3 Aug 2016 20:36:47 +0000 (20:36 +0000)]
Add support for rendering vertex uniform texel buffers am: 2e5fc5db2b am: d0f428f62a
am: b36342af95

Change-Id: I4b65a0cc9248d35d79ade1c228af611e46287f30

7 years agoAdd support for rendering vertex uniform texel buffers am: 2e5fc5db2b
Mika Isojärvi [Wed, 3 Aug 2016 20:34:16 +0000 (20:34 +0000)]
Add support for rendering vertex uniform texel buffers am: 2e5fc5db2b
am: d0f428f62a

Change-Id: If4ccb83ac32d261c9aac2994ea34727b773992af