c9d886c84e
This commit implements gl_ViewportIndex and gl_Layer in vertex and geometry shaders. In the case it's used in a vertex shader, it requires ARB_shader_viewport_layer_array. This extension is available on AMD and Nvidia devices (mesa and proprietary drivers), but not available on Intel on any platform. At the moment of writing this description I don't know if this is a hardware limitation or a driver limitation. In the case that ARB_shader_viewport_layer_array is not available, writes to these registers on a vertex shader are ignored, with the appropriate logging. |
||
---|---|---|
.. | ||
declarations.h | ||
maxwell_to_vk.cpp | ||
maxwell_to_vk.h | ||
vk_buffer_cache.cpp | ||
vk_buffer_cache.h | ||
vk_device.cpp | ||
vk_device.h | ||
vk_memory_manager.cpp | ||
vk_memory_manager.h | ||
vk_resource_manager.cpp | ||
vk_resource_manager.h | ||
vk_sampler_cache.cpp | ||
vk_sampler_cache.h | ||
vk_scheduler.cpp | ||
vk_scheduler.h | ||
vk_shader_decompiler.cpp | ||
vk_shader_decompiler.h | ||
vk_stream_buffer.cpp | ||
vk_stream_buffer.h | ||
vk_swapchain.cpp | ||
vk_swapchain.h |