aboutsummaryrefslogtreecommitdiff
path: root/layers/draw_state.cpp
AgeCommit message (Collapse)Author
2016-01-05layers: Fix circular make depencyMark Lobodzinski
2016-01-05layers: LX260, Clean up AccessMask validation message in DrawStateMark Lobodzinski
2016-01-05layers: LX255, Print readable version of VkAccessFlagsMark Lobodzinski
Also update related validation messages to indicate src/dest accessMask
2016-01-05layers: LX249, Remove MSAA coherency checks from BeginRenderPassMark Lobodzinski
Don't see any language in the spec saying that sample counts need to be valid at RP begin time. A PSO with matching MSAA state can be bound after the RP is started.
2016-01-04layers: Enable fine-grained filtering of draw_state log messagesMark Lobodzinski
Includes shader_checker messages
2016-01-04layers: LX258, Fix draw_state infinite loop in ResetDescriptorPoolMark Lobodzinski
2015-12-31misc: rename descriptorSetlayout pBinding; update to header vers 217Jon Ashburn
2015-12-31misc: rename startXXX to firstXXX and add firstXXX param to setviewport/scissorJon Ashburn
Header file changes going to 213 version
2015-12-30layers: Rename Layer/library/json files for consistencyMark Lobodzinski
Renamed layers from (for example) xxx_DrawState to xxx_draw_state Renamed JSON files Renamed libraries Renamed object_track.* to object_tracker.* Renamed apidump.h to api_dump.h Renamed screen_shot layer to screenshot Renamed APIDump layer settings file options to ApiDump Bug fixes here and there from prior renames
2015-12-29layers: MR89, Fix gtests for androidMichael Lentine
Conflicts: layers/draw_state.cpp layers/image.cpp layers/mem_tracker.cpp
2015-12-28layers: MR103, Improve image dependency validationMichael Lentine
Remove duplicate dag creation and make sure image is valid if read first in a subpass dag.
2015-12-28layers: Fix windows build issue with drawstate merge requestsMark Lobodzinski
2015-12-28layers: MR101, Add DrawState validation of pDynamicOffsetsTobin Ehlis
At draw time, verify that any dynamic descriptors that are bound and used by the pipeline do not overflow their buffer. This requires checking the combindation of the pDynamicOffsets value from vkCmdBindDescriptorSets() for each descriptor along with its offset and range from vkUpdateDescriptors() to makes sure this combination doesn't overflow the buffer size. Also added a test to hit this case along with some additional testing for incorrect dynamicOffsetCount at vkCmdBindDescriptorSets() time. Conflicts: layers/draw_state.cpp
2015-12-28layers: MR95, Add renderPass compatibility checks to DrawStateTobin Ehlis
Add functions to check renderpass compatibility based on spec. Add check for renderPass compatibility at vkBeginCommandBuffers() for a secondary command buffer where a framebuffer is included. The renderPass for that framebuffer must be compatible with the renderPass for the secondary command buffer. Add checks for renderPass compatibility at time vkCmdExecuteCommands() is called. If secondary command buffer renderPass is not compatible with active renderPass from primary command buffer, flag an error. Also added a check at vkCmdExecuteCommands() time to make sure that framebuffer from active renderPass matches any framebuffer that was set in secondary command buffer (if any). Conflicts: layers/draw_state.cpp
2015-12-28layers: MR94, DrawState refactor to verify CmdBuffer RECORDINGTobin Ehlis
For all of the vkCmd* calls, we were checking to make CmdBuffer was in RECORDING state and adding Cmd to internal tracking struct. It cleans up all of the vkCmd* functions to do the RECORDING check inside of the addCmd() call. This also fixes a few holes where we weren't doing the RECORDING state check. Conflicts: layers/draw_state.cpp tests/layer_validation_tests.cpp
2015-12-28layers: Fix DrawState BeginCommandBuffer checkTobin Ehlis
According to the spec, framebuffer parameter can be NULL when vkBeginCommandBuffer() is called on a secondary command buffer, however it may result in lower performance. Changed this ERROR to a PERF_WARN. Conflicts: layers/draw_state.cpp
2015-12-28layers: Fix Drawstate issues with binding pipelines in/outside a renderpassMark Lobodzinski
2015-12-17layers: Remove vkCmdExecuteCommands checks that don't match specTony Barbour
2015-12-17layers: clean up mismatched sign warningsCourtney Goeltzenleuchter
2015-12-17layers: clean up bool vs. VkBool32 warningsCourtney Goeltzenleuchter
2015-12-17layers: clean up path without return warningCourtney Goeltzenleuchter
2015-12-17misc: fix commentCourtney Goeltzenleuchter
2015-12-17debug_report: Update extension nameCourtney Goeltzenleuchter
2015-12-17debug_report: rename object type and error bitsCourtney Goeltzenleuchter
Conflicts: demos/tri.c layers/device_limits.cpp layers/draw_state.cpp layers/image.cpp layers/mem_tracker.cpp layers/param_checker.cpp layers/vk_layer_logging.h loader/debug_report.c tests/layer_validation_tests.cpp
2015-12-17layers: Add support for DebugReportMessageLUNARGCourtney Goeltzenleuchter
2015-12-17layers: export debug_report extensionCourtney Goeltzenleuchter
Need the EnumerateInstanceExtensionProperties to report support for the debug report extension as well as in the json file because different platforms will use either the json file (Windows & Linux) or the Enumerate call (Android).
2015-12-17debug_report: rename and update to use CreateInfoCourtney Goeltzenleuchter
2015-12-17debug_report: Rename VkDbgMsgCallback objectCourtney Goeltzenleuchter
2015-12-17layers: Remove validation errors for CmdBindPipeline during active render passMark Lobodzinski
CmdBindPipeline can be inside OR outside a render pass.
2015-12-17layers: Fix find-first-set bitscan utilMark Lobodzinski
On win32, was using leading-zero count instead of find-first-set. Caused random failures on Windows release builds.
2015-12-17layers: Work around Windows release build crash in cubeMark Lobodzinski
DrawState validate_pipeline_shaders is doing something uncool.
2015-12-15layers: LX235, Validate all Pipeline VBOs for CommandBuffersMark Lobodzinski
Validation was throwing errors if a CB had extra VBOs bound, and was not checking each VBO binding explicitly. Conflicts: layers/draw_state.cpp tests/layer_validation_tests.cpp
2015-12-15layers: Remove extra increment in DrawState vkCmdNextSubpassTony Barbour
2015-12-15layers: Add allocator to layer init functionsCourtney Goeltzenleuchter
Conflicts: layers/shader_checker.cpp
2015-12-15layers: Fix debugReport object type in draw_stateJon Ashburn
2015-12-15layers: rename VkDbgObjectTypeCourtney Goeltzenleuchter
VkDebugReportObjectTypeLUNARG fits the extension naming requirements
2015-12-15layers: Rename DebugReport flagsCourtney Goeltzenleuchter
Conflicts: layers/mem_tracker.cpp Conflicts: layers/draw_state.cpp
2015-12-14layers: Add DrawState checks for correct CmdBuffer resetTobin Ehlis
Can only reset individual CmdBuffers if they are allocated from a pool that included the VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT. Also need to intercept vkResetCommandPool() function and make sure that all individual CmdBuffers allocated from that pool are reset when called. Finally, updated naming of cmdBuffer states (RECORDING & RECORDED) to more closely match spec.
2015-12-11layers: LX232, Add contstructor for DrawState structMark Lobodzinski
PIPELINE_NODE was getting treated as POD with memcpy/memsets.
2015-12-10layers: Some debug_marker fixes for draw stateJon Ashburn
2015-12-08layers: LX222, suppress warning on partial CmdClearAttachment callsMark Lobodzinski
Drawstate will warn if this call is made in a renderpass BEFORE making a draw call. However, this is OK if only a subset of the attachment is being cleared.
2015-12-07layers: MR77, Add draw-time checks for descriptorSet compatibilityTobin Ehlis
When PSO is created, gather the group of sets that are actually used by that PSO. Then, at Draw time, verify that for each set used by the bound PSO, there is a corresponding valid descriptorSet bound which also matches the associated setLayout from the PSO's pipelineLayout. Added two more tests to the DescriptorSetCompatibility test case to verify that these checks correctly fire.
2015-12-07layers: MR75, Smart Merge of DrawState and ShaderChecker into DrawState layerTobin Ehlis
Cleaned up the merge to share data structs. Both layers had maps of descriptorSetLayouts, pipelineLayouts and renderPasses so merged those into single map for each.
2015-12-07layers: MR75, Merge DrawState and ShaderChecker into DrawState layerTobin Ehlis
This is the initial "dumb" merge where a few data structures are now duplicated within DrawState. This is intentional to simplify the transition and a follow-on commit will fix these inefficiencies. Conflicts: layers/draw_state.cpp
2015-12-07tests: MR72, Add tests to verify validation layout compatibility checksTobin Ehlis
Conflicts: layers/draw_state.cpp
2015-12-03layers: Reenable memory barrier validationMark Lobodzinski
2015-12-01layers: Disable image layout transition validation in DrawStateMark Lobodzinski
Caused too many invalid failure messages
2015-12-01layers: Convert most of the layers to the new WSI.Ian Elliott
2015-11-30layers: LX195, Drawstate ignores compute pipelinesMark Lobodzinski
2015-11-26Update access bits for 210 header.Michael Lentine