David Sodman [Tue, 22 Mar 2016 21:25:24 +0000 (21:25 +0000)]
Merge "Fix memory requiredProperty flags to check for at least rather than exact match" into nyc-dev
Mika Isojärvi [Tue, 22 Mar 2016 19:38:10 +0000 (12:38 -0700)]
Skip matrix transpose tests on non GLES2 implementations
Bug:
27724329
Change-Id: If24d7be2a08e2d7bb8f3c3755e0aaefd7b1ea2b3
Pyry Haulos [Tue, 22 Mar 2016 17:36:34 +0000 (17:36 +0000)]
Merge "Clean up Win32 platform code" into nyc-dev
David Sodman [Mon, 21 Mar 2016 23:09:31 +0000 (16:09 -0700)]
Fix memory requiredProperty flags to check for at least rather than
exact match
Change-Id: I4afbe9c091fb45bdc02eb4c2778f62989ba28c5e
Pyry Haulos [Mon, 21 Mar 2016 21:11:12 +0000 (21:11 +0000)]
Merge "Add check to ensure memory and heap with DEVICE_LOCAL flags are consistent" into nyc-dev
Pyry Haulos [Mon, 21 Mar 2016 21:04:25 +0000 (21:04 +0000)]
Merge "Fix int to bool conversion warning" into nyc-dev
Pyry Haulos [Mon, 21 Mar 2016 21:04:08 +0000 (21:04 +0000)]
Merge "Improve logging in dEQP-VK.api.info.device.memory_properties" into nyc-dev
Mika Isojarvi [Mon, 21 Mar 2016 21:03:15 +0000 (21:03 +0000)]
Merge changes I87bf1147,I1bfc5656 into nyc-dev
* changes:
Enable blending for floating point formats
Always disable blending for 32bit float formats
Pyry Haulos [Mon, 21 Mar 2016 20:01:40 +0000 (20:01 +0000)]
Merge "Fix VkDeviceSize -> size_t warning in synchronization tests" into nyc-dev
Pyry Haulos [Mon, 21 Mar 2016 19:50:13 +0000 (12:50 -0700)]
Fix int to bool conversion warning
Change-Id: I8518715f690eca6e90732925cfb281f707090afc
Pyry Haulos [Mon, 21 Mar 2016 19:48:50 +0000 (12:48 -0700)]
Improve logging in dEQP-VK.api.info.device.memory_properties
Change-Id: I70927510e3dce6dbc05cc0f49f24f5d331f49412
Mika Isojarvi [Mon, 21 Mar 2016 19:23:58 +0000 (19:23 +0000)]
Merge "Fix GLES31 format counts in draw buffers indexed tests" into nyc-dev
Mika Isojärvi [Mon, 21 Mar 2016 19:00:16 +0000 (12:00 -0700)]
Enable blending for floating point formats
Bug:
27745776
Change-Id: I87bf11473eb45048d6c79d61b2248ac1c07072de
Pyry Haulos [Mon, 21 Mar 2016 19:00:09 +0000 (12:00 -0700)]
Fix VkDeviceSize -> size_t warning in synchronization tests
Change-Id: Ieafc30f1e6bcf9f74f45bf8d0f110c1df5af8948
Pyry Haulos [Mon, 21 Mar 2016 18:58:17 +0000 (11:58 -0700)]
Clean up Win32 platform code
* Move generic Win32 code to "win32" namespace
* Move WGLContextFactory to wgl namespace (tcu::wgl::ContextFactory).
* Move Vulkan platform implementation to tcuWin32VulkanPlatform.(c|h)pp.
Change-Id: Ie5d3945c54d6f696104270150c809638f16e18a1
Mika Isojärvi [Mon, 21 Mar 2016 18:48:44 +0000 (11:48 -0700)]
Always disable blending for 32bit float formats
GLES32 doesn't support blending 32bit float formats.
Change-Id: I1bfc5656f741bcb80c01d0f8620dbf0441891c0a
David Sodman [Mon, 21 Mar 2016 17:16:39 +0000 (10:16 -0700)]
Add check to ensure memory and heap with DEVICE_LOCAL flags are
consistent
Fixes Vulkan-CTS/issues/5
Change-Id: I678fb69082d8c68bfe6ee13387ef64baa21223dc
Pyry Haulos [Mon, 21 Mar 2016 17:36:28 +0000 (10:36 -0700)]
Merge in bugfixes from Khronos repository
Pyry Haulos [Mon, 21 Mar 2016 17:34:57 +0000 (10:34 -0700)]
Merge vulkan-cts-1.0 to vulkan-cts-1.0-dev
Mika Isojarvi [Mon, 21 Mar 2016 17:31:40 +0000 (17:31 +0000)]
Merge "Add image layout transitions to pipeline barrier tests" into nyc-dev
Pyry Haulos [Mon, 21 Mar 2016 17:28:07 +0000 (10:28 -0700)]
Merge branch 'jbreton-buffer-test-heap-limit' into 'vulkan-cts-1.0'
Fix createBuffer tests to clamp the buffer size based on the size of the selected heap
Right now, those tests clamp the allocation size based on the size of heap 0.
This is incorrect if the allocation is not done on heap 0.
In order to get the first compatible heap, we need to create the buffer and then call getBufferMemoryRequirements to query the requirement.
Then if we detect if the size need to be clamped we will recreate another buffer with the clamped size.
Fixes #326
See merge request !464
Mika Isojärvi [Wed, 9 Mar 2016 21:40:54 +0000 (13:40 -0800)]
Add image layout transitions to pipeline barrier tests
Change-Id: I00008343a16d789a661c12e2ce378421ddb59ba9
Pyry Haulos [Fri, 18 Mar 2016 23:28:17 +0000 (16:28 -0700)]
Add allocation callback tests for WSI
Includes tests for simulating out of host memory.
Change-Id: I9d754654dbae51e5236887761e58fa37a87d8b7a
Mika Isojärvi [Mon, 21 Mar 2016 17:12:16 +0000 (10:12 -0700)]
Fix GLES31 format counts in draw buffers indexed tests
Change-Id: I4d90e82e15aa594d1fcf9de811f41bc2343a9341
Pyry Haulos [Fri, 18 Mar 2016 23:35:39 +0000 (16:35 -0700)]
Add swapchain tests to mustpass
Change-Id: Id1010f7fbe64f38e0ddd17d96d30b2e5fd5d3161
Mika Isojarvi [Fri, 18 Mar 2016 23:09:48 +0000 (23:09 +0000)]
Merge "Remove non-color renderable formats from draw buffer indexed tests" into nyc-dev
Mika Isojarvi [Fri, 18 Mar 2016 22:59:19 +0000 (22:59 +0000)]
Merge "Fix typo in negative buffer API tests" into nyc-dev
Pyry Haulos [Fri, 18 Mar 2016 22:43:11 +0000 (22:43 +0000)]
Merge "Add basic WSI swapchain tests" into nyc-dev
Mika Isojärvi [Fri, 18 Mar 2016 20:20:27 +0000 (13:20 -0700)]
Remove non-color renderable formats from draw buffer indexed tests
Bug:
27701780
Change-Id: I6e66292d6bd8397d0ae2c1d222b8901659784edf
Mika Isojärvi [Fri, 18 Mar 2016 21:57:34 +0000 (14:57 -0700)]
Fix typo in negative buffer API tests
Bug:
27745437
Change-Id: I32ad04035df3600adf2eb63ce7aff039d2f26084
Pyry Haulos [Tue, 15 Mar 2016 20:46:47 +0000 (13:46 -0700)]
Add basic WSI swapchain tests
Change-Id: Ie8b70325508ccfe9def5ed5a631688db4e354767
Mika Isojarvi [Fri, 18 Mar 2016 16:57:20 +0000 (16:57 +0000)]
Merge "Remove invalid precision macro negative tests" into nyc-dev
Mika Isojarvi [Fri, 18 Mar 2016 16:56:22 +0000 (16:56 +0000)]
Merge "Make sure invalid programs and shaders are invalid" into nyc-dev
David Sodman [Thu, 17 Mar 2016 22:54:13 +0000 (22:54 +0000)]
Merge "Add support for vulkan synchronization primitives" into nyc-dev
Mika Isojärvi [Thu, 17 Mar 2016 22:27:31 +0000 (15:27 -0700)]
Remove invalid precision macro negative tests
Remove tests that required that using precision as macro name should
make compilation fail.
Bug:
27702614
Change-Id: I3fe4b11c5e0d80e11ca91ceac6d95ee72646e8a4
Mika Isojärvi [Thu, 17 Mar 2016 22:03:38 +0000 (15:03 -0700)]
Make sure invalid programs and shaders are invalid
Change-Id: If840c7bb15c0c531e71cc55a8dfbacccda6bfac9
Mika Isojarvi [Thu, 17 Mar 2016 21:30:09 +0000 (21:30 +0000)]
Merge "Turn on well defined signed integer overflow" into nyc-dev
Mika Isojärvi [Thu, 17 Mar 2016 02:00:59 +0000 (19:00 -0700)]
Turn on well defined signed integer overflow
clang and gcc assume that signed integers never overflow.
This leads to unexpected bugs when optimizer removes bound checks etc.
Bug:
27703278
Bug:
22715185
Change-Id: Iab4c884fa190d05c0ac9236d01eeeb190e765e69
Jeannot Breton [Fri, 4 Mar 2016 19:05:39 +0000 (13:05 -0600)]
clamp allocation size based on heap size
David Sodman [Mon, 14 Mar 2016 22:28:34 +0000 (15:28 -0700)]
Add code to validate memoryType properties reported from
vkGetPhysicalDeviceMemoryProperties()
BUG
27528890
Change-Id: Iede260b1fcd8d98f6db0e0b0829ab631eb219908
Mika Isojarvi [Thu, 17 Mar 2016 01:18:44 +0000 (01:18 +0000)]
Merge "Fix geometry point size extension check" into nyc-dev
Pyry Haulos [Wed, 16 Mar 2016 23:21:51 +0000 (23:21 +0000)]
Merge "Do not require signed zero support in frexp() tests" into nyc-dev
Mika Isojarvi [Wed, 16 Mar 2016 22:46:33 +0000 (22:46 +0000)]
Merge "Fix cube map array extension checks in opaque indexing tests" into nyc-dev
Mika Isojärvi [Wed, 16 Mar 2016 22:05:08 +0000 (15:05 -0700)]
Fix geometry point size extension check
Bug:
27701866
Change-Id: I6870bb32da7d1f1b7fed9e56873eb4eafcdc7057
Pyry Haulos [Wed, 16 Mar 2016 21:49:15 +0000 (14:49 -0700)]
Do not require signed zero support in frexp() tests
Bug:
25933766
Change-Id: Ided7abef00010b97133f79930f6edcd73333c5ed
Mika Isojärvi [Wed, 16 Mar 2016 20:30:22 +0000 (13:30 -0700)]
Fix cube map array extension checks in opaque indexing tests
Bug:
27570992
Change-Id: I7be5792ac51331e171cd6194f2c50e47307210ae
Pyry Haulos [Wed, 16 Mar 2016 18:41:19 +0000 (11:41 -0700)]
Re-build mustpass
Change-Id: Ib949dcff21bbcda78bb07ad28765fe6436ded3ec
Pyry Haulos [Wed, 16 Mar 2016 18:33:08 +0000 (18:33 +0000)]
Merge "Extend and clean up VkSurfaceKHR tests" into nyc-dev
David Sodman [Sat, 20 Feb 2016 00:54:10 +0000 (16:54 -0800)]
Add support for vulkan synchronization primitives
Change-Id: Ie669717108b7b3f2ad01d2b8935131322bcfa24f
Pyry Haulos [Tue, 15 Mar 2016 20:47:53 +0000 (13:47 -0700)]
Add Android NDK r11 toolchain as new default
New NDK r11 toolchain fixes libc++ on x86 enabling glslang support in
Android builds.
Change-Id: I5141b97f3152cfb1420a116cae40d671477ed254
Pyry Haulos [Mon, 14 Mar 2016 21:39:42 +0000 (14:39 -0700)]
Extend and clean up VkSurfaceKHR tests
Change-Id: Ieac244ffbdf6834644f2172e1c63d42d9126cecc
David Sodman [Thu, 11 Feb 2016 23:24:46 +0000 (15:24 -0800)]
Add checks to verify all bits set in getXXX functions
Change-Id: Ifd826403a3e45bdcfdc9c2506404e418e679349a
Mika Isojarvi [Mon, 14 Mar 2016 19:37:02 +0000 (19:37 +0000)]
Merge "Properly reset GL error state" into nyc-dev
Pyry Haulos [Mon, 14 Mar 2016 19:10:31 +0000 (19:10 +0000)]
Merge "Clean up SPIR-V support code in framework" into nyc-dev
Mika Isojärvi [Thu, 10 Mar 2016 21:56:54 +0000 (13:56 -0800)]
Properly reset GL error state
- Pass in ContextInfo to state reset
- Call glGetError() until all errors have been cleared
Bug:
27534832
Change-Id: I9390b94bec1f45d4fb3b44d774a800610770916f
Pyry Haulos [Thu, 10 Mar 2016 20:06:21 +0000 (12:06 -0800)]
Clean up SPIR-V support code in framework
* Return result codes instead of exceptions when GLSL compilation or
assembling fails. Reserve exceptions for unexpected errors.
* Move vk::disassembleSpirV() to vkSpirVAsm.cpp/hpp.
* Use deUint32 vectors/pointers for passing around SPIR-V binary data.
Consolidate endianness handling to vkPrograms.cpp.
* Log disassembled GLSL shaders as <SpirVAssemblySource>.
* Enable validation for glslang-generated SPIR-V binaries. Requires
updating both glslang and spirv-tools.
* Clean up vk::SpirVAsmSource and vk::SpirVProgramInfo.
* Clean up some potential resource leaks in spirv-tools integration.
* Add --validate-spv option to vk-build-programs.
Change-Id: I0d5683c83c16b3e6d794e284c17ed65ea9541a35
Mika Isojärvi [Thu, 10 Mar 2016 23:59:29 +0000 (15:59 -0800)]
Remove invalid duplicate checks for negative texture level
Bug:
27126464
Change-Id: I2565e87011aef1576f5ab9727b11160a4f86c73f
Mika Isojärvi [Mon, 14 Mar 2016 16:21:30 +0000 (09:21 -0700)]
Fix out of bounds access in draw buffers indexed tests
Change-Id: I42449896c58a5b7276b5876c26333b09cd863cae
Pyry Haulos [Fri, 11 Mar 2016 16:27:52 +0000 (08:27 -0800)]
Add WSI tests to mustpass
Change-Id: I8c7553060c249bedfd701ccfe75cd458692e9859
Pyry Haulos [Fri, 11 Mar 2016 15:30:58 +0000 (15:30 +0000)]
Merge changes Iafe8d14c,I4619c2f8,I4e469b93 into nyc-dev
* changes:
Add dEQP-VK.wsi test group
Add WSI extension support to Vulkan framework
Update Vulkan framework to API 1.0.5
Mika Isojarvi [Fri, 11 Mar 2016 01:06:22 +0000 (01:06 +0000)]
Merge changes Id7b52bba,I13b7d016 into nyc-dev
* changes:
Check that glReadnPixels() is supported in negative tests
Add robustness extensions to GL wrappers
Mika Isojarvi [Fri, 11 Mar 2016 00:02:17 +0000 (00:02 +0000)]
Merge "Remove cube map tests affected by HW issues." into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 23:30:53 +0000 (23:30 +0000)]
Merge "Fix out of bounds access in internal format query tests" into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 23:30:36 +0000 (23:30 +0000)]
Merge "Remove invalid call to detach rbo from default fbo" into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 23:29:20 +0000 (23:29 +0000)]
Merge "Query profile mask to correct variable in context test" into nyc-dev
Mika Isojarvi [Thu, 10 Mar 2016 23:29:07 +0000 (23:29 +0000)]
Merge "Check cube map array support in opaque indexing tests" into nyc-dev
Mika Isojärvi [Thu, 10 Mar 2016 22:42:34 +0000 (14:42 -0800)]
Remove cube map tests affected by HW issues.
Bug:
27598329
Change-Id: I2ea80e847aa85dff2aed079c5f225a2535374e8d
Mika Isojärvi [Thu, 10 Mar 2016 22:25:40 +0000 (14:25 -0800)]
Check cube map array support in opaque indexing tests
Bug:
27570992
Change-Id: I5d6e2a5e3e0da8e4e7ca248bc9f8710bb836626f
Mika Isojärvi [Thu, 10 Mar 2016 22:16:47 +0000 (14:16 -0800)]
Fix out of bounds access in internal format query tests
Bug:
27570736
Change-Id: Id95f80765b3ed020515edb544cf871282672d802
Mika Isojärvi [Thu, 10 Mar 2016 22:03:42 +0000 (14:03 -0800)]
Query profile mask to correct variable in context test
Bug:
27570797
Change-Id: I409977c31e81baebf3d165d1246660944a9d81c1
Mika Isojärvi [Thu, 10 Mar 2016 22:01:42 +0000 (14:01 -0800)]
Remove invalid call to detach rbo from default fbo
Bug:
27469404
Change-Id: Ifee3c839a5e1819f15658a6225444009f7d17052
Mika Isojärvi [Thu, 10 Mar 2016 21:36:52 +0000 (13:36 -0800)]
Check that glReadnPixels() is supported in negative tests
Bug:
27536300
Change-Id: Id7b52bbaa0c635b9b4f0a8060a17fc304fdc453f
Mika Isojärvi [Thu, 10 Mar 2016 21:35:20 +0000 (13:35 -0800)]
Add robustness extensions to GL wrappers
Change-Id: I13b7d016037aa991bf6b9c50bbb2580797baf415
Pyry Haulos [Thu, 10 Mar 2016 21:35:18 +0000 (16:35 -0500)]
Merge branch '325-spirv-assembly-avoid-rounding' into 'vulkan-cts-1.0'
dEQP-VK.spirv_assembly.instruction.compute.*: avoid platform-dependent rounding
Avoid platform-dependent rounding in tests for OpCopyObjectGroup, OpPhiGroup, SelectionControlGroup and FunctionControlGroup.
See merge request !461
Pyry Haulos [Thu, 10 Mar 2016 20:08:32 +0000 (20:08 +0000)]
Increase threshold in ES2 frag op and buffer tests am:
ce69f90677
am:
eecffcfa8a
* commit '
eecffcfa8a55cd52895727f16f7487e749e9a3a8':
Increase threshold in ES2 frag op and buffer tests
Mika Isojarvi [Thu, 10 Mar 2016 20:06:38 +0000 (20:06 +0000)]
Merge "Don't require GL config for deqp packages" into nyc-dev
Pyry Haulos [Thu, 10 Mar 2016 19:57:51 +0000 (19:57 +0000)]
Increase threshold in ES2 frag op and buffer tests
am:
ce69f90677
* commit '
ce69f90677293129efc908755aa3e73605478c08':
Increase threshold in ES2 frag op and buffer tests
Pyry Haulos [Thu, 10 Mar 2016 18:21:10 +0000 (10:21 -0800)]
Fix debug build when spirv-tools is not available
vk::validateSpirV signature mismatch was causing linking error
in debug builds when DEQP_HAVE_SPIRV_TOOLS was not defined.
Change-Id: Icf98f80b72dfa744c4482b1abb0b7d1132aad296
Mika Isojarvi [Thu, 10 Mar 2016 18:07:20 +0000 (18:07 +0000)]
Merge "Make deqp build reproducible" into nyc-dev
Jesse Hall [Thu, 10 Mar 2016 17:01:15 +0000 (17:01 +0000)]
Merge "Test vkCreateInstance with NULL application info" into nyc-dev
Pyry Haulos [Thu, 10 Mar 2016 16:18:03 +0000 (11:18 -0500)]
Merge branch 'issue-307' into 'vulkan-cts-1.0'
Issue 307: Add new --deqp-log-flush command line option
Fixes issue #307
It defaults to enabled. When disabled it skips calling fflush() for every XML token and line of log.
See merge request !441
Jesse Hall [Wed, 9 Mar 2016 00:22:45 +0000 (16:22 -0800)]
Test vkCreateInstance with NULL application info
Bug:
27531340
Change-Id: I38fd9b48535aff49cb2e30355b8cfea2ea3f0f68
Mika Isojärvi [Thu, 10 Mar 2016 01:02:43 +0000 (17:02 -0800)]
Don't require GL config for deqp packages
Option deqp-gl-config-name is not required for Vulkan package. Default is set
to "" which won't be passed to deqp executor.
Change-Id: I10bbb61b396b731bda5476cfcbc7b16ebaa05f7f
Pyry Haulos [Tue, 8 Mar 2016 23:52:58 +0000 (15:52 -0800)]
Add dEQP-VK.wsi test group
Includes basic tests for VkSurfaceKHR.
Change-Id: Iafe8d14cc22f26381ff5c8b0422a03029a09944a
Pyry Haulos [Tue, 16 Feb 2016 13:42:20 +0000 (15:42 +0200)]
Add WSI extension support to Vulkan framework
Change-Id: I4619c2f8b42c0d08bf6b9377592b100d588037f9
Pyry Haulos [Tue, 16 Feb 2016 10:05:17 +0000 (12:05 +0200)]
Update Vulkan framework to API 1.0.5
Change-Id: I4e469b9384701303f96826c25a51e623316719dc
Mika Isojärvi [Wed, 9 Mar 2016 22:28:16 +0000 (14:28 -0800)]
Make deqp build reproducible
Change-Id: Id09a9b30ba13a21eebd6d5ddb42efaf10e831da4
Pyry Haulos [Wed, 9 Mar 2016 21:10:47 +0000 (13:10 -0800)]
Fix int->float conversion warning
Change-Id: I3a8c01a9223b1b261b2cf162ab0ef9babb8bbb45
Pyry Haulos [Wed, 9 Mar 2016 21:06:05 +0000 (13:06 -0800)]
Re-generate Android mustpass lists
Change-Id: I9e8d2d456284cd0522967507f873f8716b3634a7
Pyry Haulos [Wed, 9 Mar 2016 21:00:03 +0000 (13:00 -0800)]
Merge in ES3.2 tests
Change-Id: I66d529eb13aa90382a553e4781123b716cb4cb0e
Pyry Haulos [Wed, 9 Mar 2016 20:36:30 +0000 (12:36 -0800)]
Remove obsolete filter from mustpass exclusion list
Change-Id: If19713d7478c7f44981c5308c8d538ffd730bd7e
Pyry Haulos [Wed, 9 Mar 2016 20:37:33 +0000 (12:37 -0800)]
Merge in fixes from Khronos Vulkan CTS repository
Kalle Raita [Wed, 9 Mar 2016 20:02:23 +0000 (20:02 +0000)]
Merge "Change deqp APK to cts target instead of cts_v2" into nyc-dev
Dae Kim [Wed, 9 Mar 2016 15:16:25 +0000 (15:16 +0000)]
dEQP-VK.spirv_assembly.instruction.compute.*: avoid platform-dependent rounding in tests for OpCopyObjectGroup, OpPhiGroup, SelectionControlGroup and FunctionControlGroup.
Kalle Raita [Wed, 9 Mar 2016 00:16:52 +0000 (16:16 -0800)]
Change deqp APK to cts target instead of cts_v2
Bug:
27506892
Change-Id: Id85db800c627d01672e9b7fc0b9b7a95dba74628
Pyry Haulos [Tue, 8 Mar 2016 23:55:36 +0000 (15:55 -0800)]
Add vkt::addTestGroup() utility to vktTestGroupUtil
This is similar to vkt::addFunctionCase().
Change-Id: Iaa3298c56b013c700ca7746cc6907b8bf3544200
Pyry Haulos [Mon, 7 Mar 2016 23:24:34 +0000 (15:24 -0800)]
Merge branch 'vulkan-cts-1.0' into vulkan-cts-1.0-dev
Pyry Haulos [Mon, 7 Mar 2016 23:21:49 +0000 (18:21 -0500)]
Merge branch '323_timestamp_buffer_overflow_fix' into 'vulkan-cts-1.0'
Fixes buffer overflow in pipeline timestamp tests
Fixes #323
See merge request !459
Pyry Haulos [Mon, 7 Mar 2016 23:20:44 +0000 (18:20 -0500)]
Merge branch '310-update-glslang' into 'vulkan-cts-1.0'
Update glslang to include "SPV: Use heuristic to avoid geometry multi-streams"
Fixes issue #310
See merge request !463
Pyry Haulos [Mon, 7 Mar 2016 23:20:13 +0000 (18:20 -0500)]
Merge branch '308-fix-opaque-type-indexing-array-descriptors' into 'vulkan-cts-1.0'
ShaderExecutor: use descriptor arrays when uniform/buffer arrays are used in the…
… shader code. Another partial solution to #308.
See merge request !455