History log of /external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b95a9d798050499a8720ec4ada9a70a2093e24f0 08-Mar-2017 Pyry Haulos <phaulos@google.com> Refactor vktShaderExecutor

ShaderExecutor Vulkan port had several issues:

* Lifetime of ShaderExecutor was designed to extend from TestCase to
TestInstance. This was done in order to allow generating shader sources at
TestCase and later reuse same object to do actual execution when Vulkan
device was available. Result was total lifetime mess and leak of Vulkan
objects beyond TestInstance lifetime.

* Whole UniformSetup system was badly designed mess that provided
functionality for just a few tests.

Following cleanups and fixes have been made:

* ShaderExecutor objects are now expected to be live only when Vulkan
device is available, i.e. only within vkt::TestInstance. Shader source
generation part has been moved into a separate utility.

* UniformSetup mess is removed and replaced with much leaner and
extensible way to supply additional resources. Descriptor set 1 is
reserved for test case specific resources and those can be provided by
supplying custom descriptor layout and descriptor set. Tests using old
UniformSetup system have been adjusted accordingly.

There is still room for additional improvements, such as moving much of
pipeline construction from ShaderExecutor::execute() into constructors,
but these can be done in follow-up CLs.

Affects following test groups:

dEQP-VK.glsl.builtin.*
dEQP-VK.glsl.opaque_type_indexing.
dEQP-VK.texture.explicit_lod.*

VK-GL-CTS issue: 182
Components: Vulkan

Change-Id: Icfc45a36cb4651f39f12608842ef347a55353d84
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
852ad4e5e72c4adc76427c3275173619f6f89884 29-Sep-2016 Pyry Haulos <phaulos@google.com> Merge gerrit/vulkan-cts-1.0.1 into gerrit/vulkan-cts-1.0-dev

Change-Id: Ia7127ed7764c5276a32388ab2bba024d54dfea5b
9141d25d08d53c203f8ac5a9c5937a41e1d83d02 28-Sep-2016 Pyry Haulos <phaulos@google.com> Fix alignment issues in uploading image data in ShaderExecutor

Fixes #485

Change-Id: If04aebab19fb25ef26b51b4af86e718004438d82
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
af137dda318784e7e05ce24c209407b89c9de065 16-Aug-2016 Pyry Haulos <phaulos@google.com> Merge vulkan-cts-1.0.1 into vulkan-cts-1.0-dev

Change-Id: I8330d7ef441114704a0d722182f456ed7ccb76f9
653ad0e8a4209754304cbd5b5ceb4fdc7b29c01a 16-Aug-2016 Pyry Haulos <phaulos@google.com> Fix merged <space><tab> in C/C++ files

Change-Id: Ice7c1ae46a88c941c5834f9d34fcd4822c30debc
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
a15e7d7f566d93c76ca90171eb728e3d1cd82378 16-Aug-2016 Pyry Haulos <phaulos@google.com> Fix trailing whitespace and include guards

Change-Id: If9cf0f5b43ad668243033f7e7c04319c4fcd804d
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
8b0f318ec6cdec8e3c0cf68e16cb81bb955358a2 25-Jul-2016 Collin Baker <collinbaker@google.com> Texture filtering tests in Vulkan

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

Change-Id: I36ea968d9e4624a76b9a918f5ab7e3d5a9039a55
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
5533f025bb144cdeee813ebabba2885e14b33b2e 19-Apr-2016 Maciej Jesionowski <maciej.jesionowski@mobica.com> Validation fixes for dEQP-VK.glsl

- Use uint type for booleans to match attribute format
- Don't bind descriptor set when it's not updated
- Use correct number of vertex input bindings
- Use correct color attachment format and layout
- Use correct access flags and layout in image barriers
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
45332c54eed5d70f8e73e0c0d2cdb95ad716fb6c 19-Apr-2016 Pyry Haulos <phaulos@google.com> Merge vulkan-cts-1.0 into vulkan-cts-1.0-dev
4803b08873ae5bb82cd0010c11790ebc8521ef61 12-Apr-2016 Pyry Haulos <phaulos@google.com> Fix a few issues in tessellation shader executors

* Off-by-one buffer overflow in TessEvaluationExecutor

* Set patchControlPoints to sensible values

Change-Id: Ie94cf02c2fccd5e018a0e4de02c956f0d2abc6b0
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
86a8ae9e0d61bbfe1f1e273fdbb026369bdb5f29 07-Apr-2016 Pyry Haulos <phaulos@google.com> Remove instances of pDynamicState->dynamicStateCount = 0

Specification explicitly disallows using
VkPipelineDynamicStateCreateInfo with dynamicStateCount = 0 when
creating pipelines. Instead pDynamicState must be set to NULL.

Change-Id: Iff9e2f10e0080ffae0f6698aff342132f148b41d
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
d471a12fca5d3077a4ca28eebf83685f4208c3b6 29-Mar-2016 Pyry Haulos <phaulos@google.com> Change Vulkan CTS license to Apache 2
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
978d3d585aa549eb1e729b51e9d85fc6477240f9 29-Mar-2016 Pyry Haulos <phaulos@google.com> Change Vulkan CTS license to Apache 2
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
eaefe2bec0ae145a8b56641dacfce740dfa89a09 01-Mar-2016 Akos Dirner <adirner.uszeged@partner.samsung.com> ShaderExecutor: use descriptor arrays when uniform/buffer arrays are used in the shader code. Another partial solution to #308.
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
c05b7f1437e619205c96eaa31c0b79ec97a0d47d 11-Feb-2016 Pyry Haulos <phaulos@google.com> Add AOSP copyright to tests ported from dEQP GLES tests
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
9a869c2848d0419008cb99f72c9fa372e3af805d 09-Feb-2016 Pyry Haulos <phaulos@google.com> Remove confidentiality clause from Vulkan CTS license
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
13c799240b970d8966bddd07bc58434deb94b53a 20-Jan-2016 Pyry Haulos <phaulos@google.com> Remove immutable shaders from ShaderExecutor

Samplers are provided when updating descriptor sets, so it is not
necessary, nor allowed, to set them when building descriptor set layout.

Change-Id: I7115233383421bf59817288f32a598bb4914aa1c
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
e89a0ecbf14d20e611b200490b95a2ddee9793d0 20-Jan-2016 Pyry Haulos <phaulos@google.com> Merge branch 'jbolz_builtin_integer' into 'master'

shaderexecutor: Select integer or floating point type based on output data



See merge request !343
b285461032af6daf421016fb0c199c90395d0181 19-Jan-2016 Jeff Bolz <jbolz@nvidia.com> shaderexecutor: Select integer or floating point type based on output data
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
454447f43c1f7bdd0d050e6970f7819f2f878715 19-Jan-2016 Akos Dirner <adirner.uszeged@partner.samsung.com> ShaderExecutor: use buffer for copying images, fixes #139.
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
c2f7518f5a4bd6c9986c88ea791841df7e5ce758 15-Jan-2016 Pyry Haulos <phaulos@google.com> Merge branch 'shaderExecutor-descriptorSet' into 'master'

ShaderExecutor: fixed FragmentOutExecutor that tried to create empty DescriptorPool

Spec says (on VkDescriptorPoolCreateInfo): The value of poolSizeCount must be greater than 0

See merge request !221
460112261c5bacd84d641e677211e00a08aa0c2b 15-Jan-2016 Csaba Osztrogonác <cs.u-szeged@partner.samsung.com> Remove GL_ARB_ extensions from ShaderRenderCase- and ShaderExecutor-based tests.
Fixes #143
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
d0a7827a0300a9cc1dc880932cd0a35eb4016ef1 13-Jan-2016 Jeff Bolz <jbolz@nvidia.com> Search/place VertexID->VertexIndex and InstanceID->InstanceIndex
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
da0692d3aae496f78bec8b60eac10d61700e5ac6 12-Jan-2016 bpkowali <boguslaw.p.kowalik@intel.com> use dummy descriptor in descriptor pool instead of empty one when there are no uniforms declared
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
1520e856bc1169fcdb43cd5a8e2d6caa1ef5c6d3 13-Jan-2016 Robert Sipka <rsipka.uszeged@partner.samsung.com> ShaderExecutor: read counter values from the buffer
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
689c095f881a410da6a315795452a8e00ad95a9d 05-Jan-2016 Pyry Haulos <phaulos@google.com> Update Vulkan CTS to API 1.0.0

Change-Id: Idb60e106fadb133fcbce136270853696a6290f5b
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
4dd05b2adf76982e7f26455274bc1aa05bf76c3e 04-Jan-2016 Pyry Haulos <phaulos@google.com> Merge branch 'shaderExecutor-imageLayout' into 'master'

ShaderExecutor: fixed FragmentOutExecutor that used Images in UNDEFINED layout

Added proper transitions and fixed layout used for cmdCopyImageToBuffer

See merge request !224
fb2f41b46f421353a889b590b24492d9a931d848 28-Dec-2015 scygan <slawomir.cygan@intel.com> ShaderExecutor: fixed FragmentOutExecutor that used Images in UNDEFINED layout

Added proper transitions and fixed layout used for cmdCopyImageToBuffer
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
a522031b714ea98ce38b88c4dbdb976942d3ecee 28-Dec-2015 scygan <slawomir.cygan@intel.com> ShaderExecutor: fixed FragmentOutExecutor that used imageView with mipLevels == 0

VkImageViewCreateInfo.mipLevels should equal to 1 to render anything
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
9dee7ec56f9aab363af12419696925248709e235 21-Dec-2015 Jeff Bolz <jbolz@nvidia.com> fix commented type for bufferCount
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
55854a972ef3835e0b6089755a10d0bb4822bd42 21-Dec-2015 Jeff Bolz <jbolz@nvidia.com> Fix binding issues with opaque_type_indexing tests. Descriptor layout must go through builder, fix binding number for UBO array.
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
cb6cfaca1e81b741857924d7b18bf5e7c934b23e 21-Dec-2015 Jeff Bolz <jbolz@nvidia.com> Add Context::getDeviceProperties. Fix a couple tessellation issues
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
d15ef290da0b956b877676b6bb8d7c28c99e4f2e 21-Dec-2015 Jeff Bolz <jbolz@nvidia.com> Fix compute pipeline layout
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
5759b8a6b78377975566c5c2b41e3e8aea20441e 21-Dec-2015 Jeff Bolz <jbolz@nvidia.com> Merge branch 'jbolz_shader_executor1' into jbolz_shader_executor_misc2
442681a2a7eca6bebd1b96099b35a59ab330466e 21-Dec-2015 Jeff Bolz <jbolz@nvidia.com> merge master
fe84232ad0ff559e72a723d82fa567836feffa83 21-Dec-2015 Jeff Bolz <jbolz@nvidia.com> ShaderExecutor: fix zero-sized buffer and copy command buffer submission
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
e72177a2970b170afcad1a28f57ca4615bbb0c27 20-Dec-2015 Pyry Haulos <phaulos@google.com> Merge 12-shader-executor-uniforms
e148980e7f95d8a113a7dc84b13ca9906f33869f 20-Dec-2015 Pyry Haulos <phaulos@google.com> Fix few include guards and whitespace violations
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
30b4feb95eaebf406b5588e2390d1986bcb27d1f 19-Dec-2015 Jeff Bolz <jbolz@nvidia.com> ShaderExecutor: Remove call to setTestContextResult. Switch layout to std430.
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
1217b5594596822a129239d29259f7d7befd332e 17-Dec-2015 Akos Dirner <adirner.uszeged@partner.samsung.com> ShaderExecutor: improve uniform support, code cleanup.
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
4a2368e7e7116b88573442aedfc5ec806de7fd06 17-Dec-2015 Pyry Haulos <phaulos@google.com> Merge branch '47-fix-multisample-state' into 'master'

Added multisampeStateParams to graphics pipeline creation, fixes #47

Set a valid VkPipelineMultisampleStateCreateInfo structure to pMultisampleState as declared in api spec.

See merge request !171
1d7b621b1d86ec78d73744c72bbc02629c21f904 17-Dec-2015 Daniel Hegedus <dhegedus.uszeged@partner.samsung.com> Added multisampeStateParams to graphics pipeline creation, fixes #47
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
8fac785a13799defd55ffe278f8341533410c8b0 16-Dec-2015 Pyry Haulos <phaulos@google.com> Fix a few warnings
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
8bbf784b9515b34c9fa9bc931a68631bfb80a42c 16-Dec-2015 Akos Dirner <adirner.uszeged@partner.samsung.com> ShaderExecutor tests: Add Opaque type indexing tests and uniform support for shader executor
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp
2f7ef42cc1930880dc119fd9659d673a2f15474e 28-Aug-2015 Robert Sipka <rsipka.uszeged@partner.samsung.com> Add ShaderExecutor implementation and tests
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/vktShaderExecutor.cpp