Peter Gal [Fri, 30 Oct 2015 12:13:33 +0000 (13:13 +0100)]
ShaderRenderCase: renamed static variables
Peter Gal [Fri, 30 Oct 2015 12:01:47 +0000 (13:01 +0100)]
ShaderDiscardTests: use MovePtr when returning a ShaderDiscardCase
Peter Gal [Thu, 29 Oct 2015 19:11:04 +0000 (20:11 +0100)]
ShaderRenderCase: allow uniforms in all shader stages
Peter Gal [Thu, 29 Oct 2015 19:09:53 +0000 (20:09 +0100)]
ShaderRenderCase: remove UniquePtr from the AllocationSp typedef and use UniquePtrs for UniformSetup and ShaderEvaluator
Peter Gal [Thu, 29 Oct 2015 17:32:26 +0000 (18:32 +0100)]
ShaderDiscardTests: use anonymous namespace
Peter Gal [Thu, 29 Oct 2015 17:13:05 +0000 (18:13 +0100)]
ShaderRenderCase: improve filter mode mapping
Peter Gal [Thu, 29 Oct 2015 13:13:27 +0000 (14:13 +0100)]
ShaderRenderCase: use default allocator provided by the Context
Peter Gal [Wed, 28 Oct 2015 15:30:24 +0000 (16:30 +0100)]
ShaderRenderCase: multiple texture handling improvements
* Use loadImage instead of loadPNG
* Use MovePtr when loading, passing images
* Improve TextureBinding instance passing
Peter Gal [Thu, 22 Oct 2015 16:47:00 +0000 (18:47 +0200)]
ShaderRenderCase: minor style fixes (indentation)
Peter Gal [Thu, 22 Oct 2015 16:22:59 +0000 (18:22 +0200)]
ShaderRenderCase: use the host ptr from the Allocation class instead mapping the memory directly
Peter Gal [Thu, 22 Oct 2015 07:48:03 +0000 (09:48 +0200)]
ShaderRenderCase: use utility method to invalidate memory range
Peter Gal [Thu, 22 Oct 2015 07:47:28 +0000 (09:47 +0200)]
ShaderRenderCase: correctly specify the bufferRowLength and bufferImageHeight for the image copy
Peter Gal [Wed, 21 Oct 2015 17:53:36 +0000 (19:53 +0200)]
ShaderRenderCase: update based on review
* Use HostVisible memory requirement where we copy data to image/buffer.
* Check if linear tiling or optimal tiling is supported for 2D textures.
* Check length of barrier array before getting the first element.
Peter Gal [Tue, 20 Oct 2015 14:08:19 +0000 (16:08 +0200)]
ShaderRenderCase: remove leftover vktTexture.* files from CMakeList.txt and include paths
Peter Gal [Tue, 20 Oct 2015 14:03:14 +0000 (16:03 +0200)]
ShaderRenderCase: minor style fixes.
Peter Gal [Tue, 20 Oct 2015 13:59:16 +0000 (15:59 +0200)]
ShaderRenderCase: moved texture utiles from vktTexture.cpp to vkImageUtil.cpp
Peter Gal [Fri, 9 Oct 2015 15:48:24 +0000 (17:48 +0200)]
ShaderRenderCase: rebase implementation on sdk-0.9
Peter Gal [Thu, 8 Oct 2015 17:19:59 +0000 (19:19 +0200)]
ShaderRenderCase: moved VkImage creation from the Texture2D to the ShaderRenderCaseInstance class
Peter Gal [Thu, 8 Oct 2015 13:26:41 +0000 (15:26 +0200)]
ShaderDiscardTests: minor code cleanup
Peter Gal [Thu, 8 Oct 2015 13:21:51 +0000 (15:21 +0200)]
ShaderRenderCase: updated naming of a few image information mapping methods
Peter Gal [Tue, 6 Oct 2015 14:36:58 +0000 (16:36 +0200)]
ShaderRenderCase: use safe containers for uniform information storage
Peter Gal [Tue, 6 Oct 2015 13:31:51 +0000 (15:31 +0200)]
ShaderRenderCase: use safe containers for vertex buffers and allocs
Peter Gal [Tue, 29 Sep 2015 16:01:42 +0000 (18:01 +0200)]
ShaderRenderCase: fix initializer syntax when creating an image view
Peter Gal [Mon, 28 Sep 2015 17:51:52 +0000 (19:51 +0200)]
ShaderRenderCase: add const qualifiers
Peter Gal [Mon, 28 Sep 2015 16:49:43 +0000 (18:49 +0200)]
ShaderRenderCase: use ConstPixelBufferAcccess to copy the result image
Peter Gal [Mon, 28 Sep 2015 16:37:01 +0000 (18:37 +0200)]
ShaderRenderCase:
* Use vulkan/data dir instead of data/
* Also list .hpp files in CMakeLists.txt
Peter Gal [Mon, 28 Sep 2015 16:29:49 +0000 (18:29 +0200)]
ShaderRenderCase: style fixes
Peter Gal [Fri, 18 Sep 2015 13:48:48 +0000 (15:48 +0200)]
ShaderRenderCase: fix typo eigth -> eight
Peter Gal [Thu, 17 Sep 2015 15:26:15 +0000 (17:26 +0200)]
ShaderRenderCase: Remove template argument from the ShaderRenderCase
Peter Gal [Thu, 17 Sep 2015 14:08:59 +0000 (16:08 +0200)]
ShaderRenderCase: minor cleanup
Peter Gal [Mon, 14 Sep 2015 17:48:32 +0000 (19:48 +0200)]
ShaderRenderCase: Add discard tests
Peter Gal [Mon, 14 Sep 2015 16:45:32 +0000 (18:45 +0200)]
ShaderRenderCase: remove dummy test-cases
Peter Gal [Mon, 14 Sep 2015 16:28:02 +0000 (18:28 +0200)]
ShaderRenderCase: style-fixes
Peter Gal [Mon, 14 Sep 2015 15:27:34 +0000 (17:27 +0200)]
ShaderRenderCase: Add matrix (a_matx) and user (a_inx) support
Peter Gal [Tue, 8 Sep 2015 15:55:51 +0000 (17:55 +0200)]
ShaderRenderCase: Fix texture support
Peter Gal [Mon, 7 Sep 2015 16:39:23 +0000 (18:39 +0200)]
ShaderRenderCase: Add addUniform call which have a size parameter
Peter Gal [Mon, 7 Sep 2015 09:16:55 +0000 (11:16 +0200)]
ShaderRenderCase: bit of cleanup
Peter Gal [Mon, 7 Sep 2015 08:26:41 +0000 (10:26 +0200)]
ShaderRenderCase: Move creation of tests to a separeate method
Peter Gal [Thu, 3 Sep 2015 18:19:41 +0000 (20:19 +0200)]
ShaderRenderCase: Add texture/sampler support
Peter Gal [Tue, 1 Sep 2015 17:44:17 +0000 (19:44 +0200)]
ShaderRenderCase: Typo fix for binding location
Peter Gal [Tue, 1 Sep 2015 12:21:35 +0000 (14:21 +0200)]
ShaderRenderCase: Add some basic predefined uniforms which can be used by test cases
Peter Gal [Mon, 31 Aug 2015 18:21:12 +0000 (20:21 +0200)]
ShaderRenderCase: Add previously missed copyright info to the ShaderRenderCaseTests file.
Peter Gal [Mon, 31 Aug 2015 18:10:15 +0000 (20:10 +0200)]
ShaderRenderCase: Remove m_name for the ShaderRenderCaseInstace class
This was initialy introduced to have unique names for the shaders, but as
it turns out that's not needed as each test case has it's own shader store.
Thus there will be no name collision.
Peter Gal [Mon, 31 Aug 2015 18:06:17 +0000 (20:06 +0200)]
ShaderRenderCase: Fix indentation
Peter Gal [Mon, 31 Aug 2015 17:59:38 +0000 (19:59 +0200)]
ShaderRenderCase: Add cleanup code for buffers and allocs
Peter Gal [Mon, 31 Aug 2015 17:13:18 +0000 (19:13 +0200)]
ShaderRenderCase: Make the addUniform a template method
Peter Gal [Mon, 31 Aug 2015 13:05:57 +0000 (15:05 +0200)]
ShaderRenderCase: Add methods for specifying custom vertex input attributes
Peter Gal [Fri, 28 Aug 2015 18:51:00 +0000 (20:51 +0200)]
ShaderRenderCase: Reworked the way to add uniforms to a test instance
Peter Gal [Fri, 28 Aug 2015 15:15:34 +0000 (17:15 +0200)]
ShaderRenderCase: Add a single uniform to try out the api
Peter Gal [Thu, 27 Aug 2015 15:57:41 +0000 (17:57 +0200)]
ShaderRenderCase: Group together the basic attributes for the vertex shader
Peter Gal [Thu, 27 Aug 2015 14:15:07 +0000 (16:15 +0200)]
ShaderRenderCase: Connect additional a_coords input attribute
Peter Gal [Wed, 26 Aug 2015 18:41:39 +0000 (20:41 +0200)]
ShaderRenderCase: Added initial Vulkan rendering
Peter Gal [Wed, 26 Aug 2015 12:42:30 +0000 (14:42 +0200)]
ShaderRenderCase: Templatize ShaderRenderCase to help building instances
Peter Gal [Wed, 26 Aug 2015 11:48:58 +0000 (13:48 +0200)]
ShaderRenderCase: Add basic reference drawing
Peter Gal [Thu, 6 Aug 2015 13:53:50 +0000 (15:53 +0200)]
ShaderRenderCase: Initial skeleton
Pyry Haulos [Thu, 12 Nov 2015 16:34:39 +0000 (11:34 -0500)]
Merge branch 'fixup_declock_c' into 'master'
Fixup asserts and div by 0 due to low precision of Win32 perf counter
This is a fix for Windows-specific problem, when on some machines frequency of perfomance timer is so low, that it causes assert and division by 0 in deClock.c
See merge request !45
scygan [Tue, 3 Nov 2015 19:44:16 +0000 (20:44 +0100)]
Fixup asserts due to low precision of QueryPerformanceFrequency
Pyry Haulos [Wed, 11 Nov 2015 19:29:22 +0000 (19:29 +0000)]
Pyry Haulos [Wed, 11 Nov 2015 19:22:58 +0000 (11:22 -0800)]
Fix warning
Change-Id: Ic2553c0090d17af5a40b908b256d3ed37cceef35
Pyry Haulos [Wed, 11 Nov 2015 19:16:05 +0000 (19:16 +0000)]
Merge "Check for tess/geom support in binding model tests" into vulkan
Mika Isojärvi [Wed, 11 Nov 2015 18:57:14 +0000 (18:57 +0000)]
Add SHA1 functions to decpp.
am:
0256f8c86a
* commit '
0256f8c86ae9a1211a82462ecda36af2b5c9876c':
Add SHA1 functions to decpp.
Mika Isojärvi [Wed, 11 Nov 2015 18:26:37 +0000 (18:26 +0000)]
Add sha1 hash functions to delibs.
am:
dd4a496bc5
* commit '
dd4a496bc5bba222852309738de56070ef775e3e':
Add sha1 hash functions to delibs.
Pyry Haulos [Wed, 11 Nov 2015 17:31:53 +0000 (17:31 +0000)]
Merge "Add vkt::Context::getDeviceFeatures()" into vulkan
Mika Isojärvi [Tue, 3 Nov 2015 20:15:10 +0000 (12:15 -0800)]
Add SHA1 functions to decpp.
Change-Id: I1bfdf817debf8cfc84bbc6fbdae2b0e58c4fa975
Mika Isojärvi [Mon, 2 Nov 2015 23:53:48 +0000 (15:53 -0800)]
Add sha1 hash functions to delibs.
Change-Id: I7b0f7ce8b82a632183d1333764f80992c153a531
Pyry Haulos [Tue, 10 Nov 2015 21:48:58 +0000 (13:48 -0800)]
Clean up result code checking in api.device_init tests
Change-Id: Ic1df446fd88934fca3b620a67f39292a853fd594
Pyry Haulos [Tue, 10 Nov 2015 21:20:15 +0000 (13:20 -0800)]
Check for tess/geom support in binding model tests
Change-Id: I5bd8ab480b90135f137fc24bec7a71de680c7892
Pyry Haulos [Tue, 10 Nov 2015 21:18:45 +0000 (13:18 -0800)]
Add vkt::Context::getDeviceFeatures()
Change-Id: I996c78061621aa08f54a24a4bce1e2e846a61e21
Pyry Haulos [Tue, 10 Nov 2015 19:19:20 +0000 (11:19 -0800)]
Fix a few issues in binding model tests
* There is no way to access sampled image without a sampler; removed a
few affected tests.
* Use DESCRIPTOR_POOL_USAGE_DYNAMIC as Move<T> or Unique<T> can't be
used with ONE_SHOT pools.
* Remove invalid dynamic uniform and storage buffer cases that didn't
set dynamic view offsets.
Change-Id: I7e2caeb51d493cd8220db0da9ffa031fc2f19f1b
Pyry Haulos [Tue, 10 Nov 2015 18:23:37 +0000 (18:23 +0000)]
Merge "Fix a few broken shaders in binding model tests" into vulkan
Pyry Haulos [Tue, 10 Nov 2015 18:22:54 +0000 (10:22 -0800)]
Fix a few broken shaders in binding model tests
Change-Id: Ia10debeeca2b37154410a6ef0539f0c69d6bacd3
Pyry Haulos [Mon, 9 Nov 2015 22:45:12 +0000 (14:45 -0800)]
Fix a few compile warnings across Vulkan tests
Change-Id: Ib58bf0f33e89efc449a40279656532767187d324
Pyry Haulos [Tue, 10 Nov 2015 16:58:49 +0000 (08:58 -0800)]
Merge in changes from Khronos repository
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
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
Dejan Mircevski [Tue, 10 Nov 2015 14:15:56 +0000 (14:15 +0000)]
Make RGBA constants methods.
am:
c215aaa830
* commit '
c215aaa83047ebbaabafef7acd71275a256da6ab':
Make RGBA constants methods.
Dejan Mircevski [Fri, 6 Nov 2015 22:08:44 +0000 (17:08 -0500)]
Make RGBA constants methods.
Without this, other global variables that are initialized with values
like RGBA::white will have a race condition with the RGBA::white
initialization. We have seen a bug where a global array of RGBA
constants was being initialized before the constants themselves, so all
elements were (0, 0, 0, 0).
Change-Id: Idd6a88efda8375e52f15ed285afe38631b9c464a
Mika Isojärvi [Tue, 3 Nov 2015 00:04:55 +0000 (00:04 +0000)]
Fix deFile_getSize.
am:
8b3904dfb7
* commit '
8b3904dfb79ddbb71988439d3604ed32d17daf8c':
Fix deFile_getSize.
Mika Isojärvi [Mon, 2 Nov 2015 22:26:28 +0000 (14:26 -0800)]
Fix deFile_getSize.
Seek to the end of the file instead of second last byte of the file.
Change-Id: I2cdb6db50d4b0d3b73ea83edfedaf1645b766808
Kalle Raita [Thu, 29 Oct 2015 23:16:42 +0000 (23:16 +0000)]
Fix dependency in runner tests.
am:
0f87ba807a
* commit '
0f87ba807acb3e6effe617249f30453a524a2ea3':
Fix dependency in runner tests.
Kalle Raita [Thu, 29 Oct 2015 23:09:15 +0000 (16:09 -0700)]
Fix dependency in runner tests.
Change-Id: I00ae4d547c74db1c49628dd0490c8d5c3f6e6825
Kalle Raita [Thu, 29 Oct 2015 22:53:54 +0000 (22:53 +0000)]
Merge "CTS v2 integration for deqp"
am:
6f483cc3fa
* commit '
6f483cc3fa820e58ed9f83c83bdf8d213293b3ad':
CTS v2 integration for deqp
Kalle Raita [Thu, 29 Oct 2015 22:48:57 +0000 (22:48 +0000)]
Merge "CTS v2 integration for deqp"
Mika Isojärvi [Thu, 29 Oct 2015 20:25:37 +0000 (20:25 +0000)]
Report correct error if failed to open resource on android.
am:
4eb5211c33
* commit '
4eb5211c33ce16259add18772865d9ff13e61cab':
Report correct error if failed to open resource on android.
Mika Isojärvi [Wed, 28 Oct 2015 23:25:08 +0000 (16:25 -0700)]
Report correct error if failed to open resource on android.
Throw tcu::ResourceError on android if resource is not found by AssetManager.
Change-Id: I1388890b407ef4a0f1391afc441b546e0807e697
Kalle Raita [Wed, 28 Oct 2015 07:09:30 +0000 (07:09 +0000)]
DO NOT MERGE Split GLES31 copy image tests in 3. am:
e3f31fbe9e -s ours am:
74e77f920d am:
9bc2f18d3e -s ours
am:
49c511ff4f -s ours
* commit '
49c511ff4f88e27fa4f200b2cf71b59f869f9c54':
DO NOT MERGE Split GLES31 copy image tests in 3.
Daniel Xie [Wed, 28 Oct 2015 07:09:27 +0000 (07:09 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass" into lollipop-mr1-cts-dev am:
06627c74b4 -s ours am:
a635ea841e am:
1bb32404ed -s ours am:
7f2264e8b5 am:
d3b78bf3e5 -s ours
am:
8690d23615 -s ours
* commit '
8690d23615f33af12ea79baadfd1a5d6223500d9':
DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass
Daniel Xie [Wed, 28 Oct 2015 07:09:24 +0000 (07:09 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev am:
67685b11a4 am:
a9216ffd5a am:
195c6d1c5f am:
ad9738c0c6 am:
830808e133
am:
8b6f040640
* commit '
8b6f040640082fe6e3dcc277b921507eef603845':
Remove broken record_variable_selection test from MR1 must-pass.
Jarkko Pöyry [Wed, 28 Oct 2015 07:09:21 +0000 (07:09 +0000)]
DO NOT MERGE: Apply fix for tessellation fractional even test verification. am:
a77161bb85 -s ours am:
76114a7968 am:
90b1a9f687 -s ours am:
7ec9411ee5 am:
f5e70d59de -s ours
am:
191dc35ed9 -s ours
* commit '
191dc35ed9a98d5c8fe6d8de54772cd2c1cae5dd':
DO NOT MERGE: Apply fix for tessellation fractional even test verification.
Pyry Haulos [Wed, 28 Oct 2015 07:09:18 +0000 (07:09 +0000)]
DO NOT MERGE Do not require signed zero support in ldexp tests() am:
5b076d99a8 -s ours am:
366da5103d am:
6a4a901e5a -s ours am:
3a8d6b0b02 am:
570b43e224 -s ours
am:
accc799820 -s ours
* commit '
accc79982060917ae11f14395c1c16d20ee40a27':
DO NOT MERGE Do not require signed zero support in ldexp tests()
Jarkko Pöyry [Wed, 28 Oct 2015 07:09:15 +0000 (07:09 +0000)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am:
5c7feb8db2 -s ours am:
80ff623675 am:
f088b2b570 -s ours am:
867d4a0416 am:
5d43de505e -s ours
am:
060771caf1 -s ours
* commit '
060771caf1a668eab92a221281306a947b58bc33':
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.
Kalle Raita [Wed, 28 Oct 2015 07:06:42 +0000 (07:06 +0000)]
DO NOT MERGE Split GLES31 copy image tests in 3. am:
e3f31fbe9e -s ours am:
74e77f920d
am:
9bc2f18d3e -s ours
* commit '
9bc2f18d3e6d3bf13a1564735fa395dc5254bf0a':
DO NOT MERGE Split GLES31 copy image tests in 3.
Daniel Xie [Wed, 28 Oct 2015 07:06:39 +0000 (07:06 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass" into lollipop-mr1-cts-dev am:
06627c74b4 -s ours am:
a635ea841e am:
1bb32404ed -s ours am:
7f2264e8b5
am:
d3b78bf3e5 -s ours
* commit '
d3b78bf3e556334039d84d5171e816038d1ddf20':
DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass
Daniel Xie [Wed, 28 Oct 2015 07:06:36 +0000 (07:06 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev am:
67685b11a4 am:
a9216ffd5a am:
195c6d1c5f am:
ad9738c0c6
am:
830808e133
* commit '
830808e1331c03567c0f60ccdf9429cea56dd182':
Remove broken record_variable_selection test from MR1 must-pass.
Jarkko Pöyry [Wed, 28 Oct 2015 07:06:33 +0000 (07:06 +0000)]
DO NOT MERGE: Apply fix for tessellation fractional even test verification. am:
a77161bb85 -s ours am:
76114a7968 am:
90b1a9f687 -s ours am:
7ec9411ee5
am:
f5e70d59de -s ours
* commit '
f5e70d59deb93a5090bc99837242d842e023a53a':
DO NOT MERGE: Apply fix for tessellation fractional even test verification.
Pyry Haulos [Wed, 28 Oct 2015 07:06:30 +0000 (07:06 +0000)]
DO NOT MERGE Do not require signed zero support in ldexp tests() am:
5b076d99a8 -s ours am:
366da5103d am:
6a4a901e5a -s ours am:
3a8d6b0b02
am:
570b43e224 -s ours
* commit '
570b43e224af89cd10a2852110914732c00b1d7e':
DO NOT MERGE Do not require signed zero support in ldexp tests()
Jarkko Pöyry [Wed, 28 Oct 2015 07:06:27 +0000 (07:06 +0000)]
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare. am:
5c7feb8db2 -s ours am:
80ff623675 am:
f088b2b570 -s ours am:
867d4a0416
am:
5d43de505e -s ours
* commit '
5d43de505e36fdc7f9feec38b81618e1b6bb79c7':
DO NOT MERGE: Ignore denormals in floatUlpThresholdCompare.
Kalle Raita [Wed, 28 Oct 2015 07:04:07 +0000 (07:04 +0000)]
DO NOT MERGE Split GLES31 copy image tests in 3. am:
e3f31fbe9e -s ours
am:
74e77f920d
* commit '
74e77f920ddadf997122d2614460368afc05701d':
DO NOT MERGE Split GLES31 copy image tests in 3.
Daniel Xie [Wed, 28 Oct 2015 07:04:03 +0000 (07:04 +0000)]
Merge "DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass" into lollipop-mr1-cts-dev am:
06627c74b4 -s ours am:
a635ea841e am:
1bb32404ed -s ours
am:
7f2264e8b5
* commit '
7f2264e8b5a795ffb7b639d7721498066d371f8d':
DO NOT MERGE: Add cube gather tests that avoid corners; remove D32F from mustpass
Daniel Xie [Wed, 28 Oct 2015 07:03:59 +0000 (07:03 +0000)]
Merge "Remove broken record_variable_selection test from MR1 must-pass." into lollipop-mr1-cts-dev am:
67685b11a4 am:
a9216ffd5a am:
195c6d1c5f
am:
ad9738c0c6
* commit '
ad9738c0c642d22c0e68340112450b70ab6e9a9d':
Remove broken record_variable_selection test from MR1 must-pass.