mirror of
https://github.com/status-im/Vulkan-Docs.git
synced 2025-01-12 23:14:20 +00:00
fd0e4c3b67
* Bump API patch number and header version number to 42 for this update (the first anniversary edition). Github Issues: * Changed asciidoctor macros so cross-page links in the standalone reference pages function properly (public issue 462). Internal Issues: * Clarified host visibility discussion for slink:VkMemoryType, flink:vkInvalidateMappedMemoryRanges, elink:VkAccessFlagBits, and the <<synchronization-framebuffer-regions,Framebuffer Region Dependencies>> section, removing duplicated information and adding a central definition in the access types section (internal issue 552). * Change description of slink:vkGetPhysicalDeviceSurfacePresentModesKHR::pname:pPresentModes to return an array of values, not structures (internal issue 699). New Extensions: * Add a NOTE to the <<extensions,Layers & Extensions>> chapter describing the experimental status of `KHX` extensions. * Add new Khronos, Khronos Experimental, and vendor Vulkan extensions for release at GDC: ** VK_KHR_descriptor_update_template ** VK_KHR_push_descriptor ** VK_KHX_device_group ** VK_KHX_device_group_creation ** VK_KHX_external_memory ** VK_KHX_external_memory_capabilities ** VK_KHX_external_memory_fd ** VK_KHX_external_memory_win32 ** VK_KHX_external_semaphore ** VK_KHX_external_semaphore_capabilities ** VK_KHX_external_semaphore_fd ** VK_KHX_external_semaphore_win32 ** VK_KHX_multiview ** VK_KHX_win32_keyed_mutex ** VK_EXT_discard_rectangles ** VK_MVK_ios_surface ** VK_MVK_macos_surface ** VK_NVX_multiview_per_view_attributes ** VK_NV_clip_space_w_scaling ** VK_NV_geometry_shader_passthrough ** VK_NV_sample_mask_override_coverage ** VK_NV_viewport_array2 ** VK_NV_viewport_swizzle * Add new GLSL vendor extensions to support new builtin variables: ** GL_EXT_device_group ** GL_EXT_multiview
84 lines
1.6 KiB
Plaintext
84 lines
1.6 KiB
Plaintext
Name
|
|
|
|
EXT_device_group
|
|
|
|
Name Strings
|
|
|
|
GL_EXT_device_group
|
|
|
|
Contact
|
|
|
|
Jeff Bolz, NVIDIA Corporation (jbolz 'at' nvidia.com)
|
|
|
|
Contributors
|
|
|
|
Status
|
|
|
|
Complete.
|
|
|
|
Version
|
|
|
|
Last Modified Date: February 17, 2017
|
|
Revision: 1
|
|
|
|
Number
|
|
|
|
TBD
|
|
|
|
Dependencies
|
|
|
|
This extension can be applied to OpenGL GLSL versions 1.40
|
|
(#version 140) and higher.
|
|
|
|
This extension can be applied to OpenGL ES ESSL versions 3.10
|
|
(#version 310) and higher.
|
|
|
|
Overview
|
|
|
|
This extension adds a builtin input variable containing the device
|
|
index.
|
|
|
|
New Procedures and Functions
|
|
|
|
None.
|
|
|
|
New Tokens
|
|
|
|
None.
|
|
|
|
|
|
Modifications to the OpenGL Shading Language Specification, Version 4.50
|
|
|
|
Including the following line in a shader can be used to control the
|
|
language features described in this extension:
|
|
|
|
#extension GL_EXT_device_group : <behavior>
|
|
|
|
where <behavior> is as specified in section 3.3
|
|
|
|
New preprocessor #defines are added to the OpenGL Shading Language:
|
|
|
|
#define GL_EXT_device_group 1
|
|
|
|
Modify Section 7.1 (Built-In Language Variables), p. 118
|
|
|
|
Add to the list of vertex, tessellation control, tessellation
|
|
evaluation, geometry, fragment, and compute shader built-ins:
|
|
|
|
highp int gl_DeviceIndex;
|
|
|
|
Add the following description for gl_DeviceIndex:
|
|
|
|
The input variable gl_DeviceIndex is available in all shading languages
|
|
and corresponds to the DeviceIndex SPIR-V input. See the Vulkan API
|
|
specification for how this value is interpreted.
|
|
|
|
Errors
|
|
|
|
None.
|
|
|
|
Revision History
|
|
|
|
Revision 1
|
|
- Internal revisions.
|