/ appendices / VK_NV_scissor_exclusive.txt
VK_NV_scissor_exclusive.txt
1 include::meta/VK_NV_scissor_exclusive.txt[] 2 3 *Last Modified Date*:: 4 2018-07-31 5 *IP Status*:: 6 No known IP claims. 7 *Interactions and External Dependencies*:: 8 None 9 *Contributors*:: 10 - Pat Brown, NVIDIA 11 - Jeff Bolz, NVIDIA 12 - Piers Daniell, NVIDIA 13 - Daniel Koch, NVIDIA 14 15 This extension adds support for an exclusive scissor test to Vulkan. 16 The exclusive scissor test behaves like the scissor test, except that the 17 exclusive scissor test fails for pixels inside the corresponding rectangle 18 and passes for pixels outside the rectangle. 19 If the same rectangle is used for both the scissor and exclusive scissor 20 tests, the exclusive scissor test will pass if and only if the scissor test 21 fails. 22 23 === New Object Types 24 25 None. 26 27 === New Enum Constants 28 29 * Extending elink:VkStructureType 30 ** ename:VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_EXCLUSIVE_SCISSOR_STATE_CREATE_INFO_NV 31 ** ename:VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXCLUSIVE_SCISSOR_FEATURES_NV 32 * Extending elink:VkDynamicState 33 ** ename:VK_DYNAMIC_STATE_EXCLUSIVE_SCISSOR_NV 34 35 === New Enums 36 37 None. 38 39 === New Structures 40 41 * slink:VkPhysicalDeviceExclusiveScissorFeaturesNV 42 * slink:VkPipelineViewportExclusiveScissorStateCreateInfoNV 43 44 === New Functions 45 46 * flink:vkCmdSetExclusiveScissorNV 47 48 === New Built-In Variables 49 50 None. 51 52 === New SPIR-V Capabilities 53 54 None. 55 56 === Issues 57 58 1) For the scissor test, the viewport state must be created with a matching 59 number of scissor and viewport rectangles. 60 Should we have the same requirement for exclusive scissors? 61 62 *RESOLVED*: For exclusive scissors, we relax this requirement and allow an 63 exclusive scissor rectangle count that is either zero or equal to the number 64 of viewport rectangles. 65 If you pass in an exclusive scissor count of zero, the exclusive scissor 66 test is treated as disabled. 67 68 === Version History 69 70 * Revision 1, 2018-07-31 (Pat Brown) 71 - Internal revisions