• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2018-2021 The Khronos Group Inc.
2//
3// SPDX-License-Identifier: CC-BY-4.0
4
5include::{generated}/meta/{refprefix}VK_EXT_fragment_density_map.txt[]
6
7=== Other Extension Metadata
8
9*Last Modified Date*::
10    2021-09-30
11*Interactions and External Dependencies*::
12  - This extension requires
13    {spirv}/EXT/SPV_EXT_fragment_invocation_density.html[`SPV_EXT_fragment_invocation_density`]
14*Contributors*::
15  - Matthew Netsch, Qualcomm Technologies, Inc.
16  - Robert VanReenen, Qualcomm Technologies, Inc.
17  - Jonathan Wicks, Qualcomm Technologies, Inc.
18  - Tate Hornbeck, Qualcomm Technologies, Inc.
19  - Sam Holmes, Qualcomm Technologies, Inc.
20  - Jeff Leger, Qualcomm Technologies, Inc.
21  - Jan-Harald Fredriksen, ARM
22  - Jeff Bolz, NVIDIA
23  - Pat Brown, NVIDIA
24  - Daniel Rakos, AMD
25  - Piers Daniell, NVIDIA
26
27=== Description
28
29This extension allows an application to specify areas of the render target
30where the fragment shader may be invoked fewer times.
31These fragments are broadcasted out to multiple pixels to cover the render
32target.
33
34The primary use of this extension is to reduce workloads in areas where
35lower quality may not be perceived such as the distorted edges of a lens or
36the periphery of a user's gaze.
37
38include::{generated}/interfaces/VK_EXT_fragment_density_map.txt[]
39
40=== New or Modified Built-In Variables
41
42  * <<interfaces-builtin-variables-fraginvocationcount,code:FragInvocationCountEXT>>
43  * <<interfaces-builtin-variables-fragsize,code:FragSizeEXT>>
44
45=== New SPIR-V Capabilities
46
47  * <<spirvenv-capabilities-table-FragmentDensityEXT,FragmentDensityEXT>>
48
49=== Version History
50
51  * Revision 1, 2018-09-25 (Matthew Netsch)
52    - Initial version
53  * Revision 2, 2021-09-30 (Jon Leech)
54    - Add interaction with `apiext:VK_KHR_format_feature_flags2` to `vk.xml`
55