Skip to content
Snippets Groups Projects
  1. Mar 29, 2017
    • Dustin Graves's avatar
      layers: Fix extension func/core struct codegen · a68b6fd6
      Dustin Graves authored
      Fix code generation for extension functions receiving struct parameter
      types defined by core Vulkan.  Extensions are processed as separate
      features by the code generator, and the type info required for structure
      generation was not being shared across features.  The code generator has
      been modified to share type info across features so that the validation
      code generated for extension functions includes validation for core
      structures:
       - Prevent unique objects and parameter validation code generators from
         clearing struct type info data structures at the start of feature
         processing.
       - Remove unused data structures from unique objects code generator.
       - Adds handle unwrapping and parameter validation for elements in the
         vkCmdPushDescriptorSetKHR pDescriptorWrites parameter.
       - Adds handle unwrapping and parameter validation for elements in the
         vkCreateSharedSwapCHainsKHR pCreateInfos parameter.
       - Adds VkAllocationCallback parameter validation to the WSI and
         descriptor update template extensions functions.
      
      Change-Id: I016aa6550681dbf7d6bda834272374ce63ed1940
      a68b6fd6
    • Mark Lobodzinski's avatar
      layers: Add shader_subgroup_vote ext shader caps · ae17c7b6
      Mark Lobodzinski authored
      Recognize and validate shader capabilities added in the new
      VK_KHR_shader_subgroup_vote extension.
      
      Change-Id: Ifbbcb1aa3b056707750c53d9a18965bfcae9028f
      ae17c7b6
    • Mark Lobodzinski's avatar
      layers: Add shader_subgroup_ballot ext shader caps · 68774dfa
      Mark Lobodzinski authored
      Recognize and validate shader capabilities added in the new
      VK_KHR_shader_subgroup_ballot extension.
      
      Change-Id: I79f02f50600dcbd85f7b91aeefe56bb426f53b6b
      68774dfa
    • Mark Lobodzinski's avatar
      layers: Support viewport_array2 ext shader caps · 6f82da9d
      Mark Lobodzinski authored
      Recognize and validate shader capabilities added in the new
      VK_NV_viewport_array2 extension.
      
      Change-Id: Ifeb21d9230ca071a56246acc928add0a572b55f9
      6f82da9d
    • Mark Lobodzinski's avatar
      layers: Support CapabilitySampleMaskOverrideCoverage · bd546e41
      Mark Lobodzinski authored
      Recognize and validate shader capability added in the new
      VK_NV_sample_mask_override_coverage extension.
      
      Change-Id: I30131189beee8cb5f087846eff3a5f7571d0d309
      bd546e41
    • Mark Lobodzinski's avatar
      layers: Support CapabilityGeometryShaderPassThroughNV · 2664122d
      Mark Lobodzinski authored
      Recognize and validate shader capability added in the new
      VK_NV_geometry_shader_passthrough extension.
      
      Change-Id: Iea46b9a8d0c77b695507ac5f1c8f8852f528c210
      2664122d
  2. Mar 28, 2017
  3. Mar 27, 2017
  4. Mar 26, 2017
  5. Mar 24, 2017
  6. Mar 23, 2017
  7. Mar 22, 2017
    • Mark Lobodzinski's avatar
      layers: Add image handles to layout error output · 0620f54d
      Mark Lobodzinski authored
      Also fixed up validation tests to handle message formatting changes.
      
      Change-Id: I8671ae531d473bebdc034c33edcd9617ab96b836
      0620f54d
    • Mark Lobodzinski's avatar
      layers: Fill in core_validation log_msg handles · df7c9475
      Mark Lobodzinski authored
      Also changed all object handle zero casts to use TYPE_UNKNOWN.
      
      Change-Id: I212fd9dd50a25dec98d1fbf46caa73401450c89f
      df7c9475
    • Mark Lobodzinski's avatar
      layers: Fill in buffer_validation log_msg handles · fdc75c21
      Mark Lobodzinski authored
      Also updated some C-style casts and added TYPE_UNKNOWN where
      appropriate.
      
      Change-Id: Ia9c1d013dd73c4f6785df6151ee71715e310187b
      fdc75c21
    • Jamie Madill's avatar
      loader: Add guard around cmake header include. · d768d22c
      Jamie Madill authored
      This allows non-cmake platforms to compile the loader. Use a define
      named VULKAN_NON_CMAKE_BUILD to disable CMAKE-specific features.
      
      Change-Id: I6f6d8731fe1be60fd138e9fe1006c913fb029b47
      d768d22c
    • Peter Lohrmann's avatar
      layers: Deep copy pQueueFamilyIndicies · c010f683
      Peter Lohrmann authored
      IMAGE_STATE/BUFFER_STATE classes did not make deep copies of the
      createinfo.pQueueFamilyIndices array, which could cause invalid
      warnings to be reported to the user.
      
      Change-Id: I7ebda777de9decb0c532a4999f78573460197fd7
      c010f683
    • Jamie Madill's avatar
      layers: Fix uses of KHR ifdef to KHX in objecttracker · a1daf16c
      Jamie Madill authored
      In a few places, we were using VK_USE_PLATFORM_WIN32_KHR instead of
      VK_USE_PLATFORM_WIN32_KHX.
      
      Change-Id: I579ea848868396b9c2877e43ca24780476e55919
      a1daf16c
    • Tobin Ehlis's avatar
      layers:Refactor image layout verify/set · a07ae8bd
      Tobin Ehlis authored
      VerifyImageLayout had a side effect of setting image layout state if
      the layout had not been seen by the cmd buffer. This update moves the
      code to set the layout outside of the verify function and instead puts
      it into new SetLayout* functions that are now called in the appropriate
      PreCallRecord* functions.
      
      Note that the previous behavior caused a side effect where layouts
      could be updated even when the call down the chain did not occur.
      The updated behavior will always update the layout to what is passed
      as the explicit layout for any image copy operations whenever the
      call down the chain is made. This is desirable b/c if the layout
      didn't match the app saw the error during the Validate* portion of
      the call and if they chose to ignore it then validation should
      reflect the layout state of the image that was set by the call.
      
      Since the side effect mentioned above is no longer present, this change
      includes an update to InvalidImageLayout test where a second call to
      vkCmdCopyImage() is made in order to actually transition the initial
      image layout state so that expected errors are correct going fwd.
      a07ae8bd
Loading