summaryrefslogtreecommitdiffstats
path: root/src/glx/dri_common.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-08-06 08:42:51 -0700
committerJason Ekstrand <[email protected]>2016-08-08 11:13:33 -0700
commit12e653adecc3c287329c6501fab3bc5d04e8eb3d (patch)
tree8158713f818ae82cdf9d380b7ec3fbd15c9b7b58 /src/glx/dri_common.h
parent1df511b6f07455b68b3500aa230c457eaa8e2a87 (diff)
anv/pipeline/gen8: Unconditionally set DXMultisampleRasterizaitonEnable
The multisample rasterization mode is computed based on this field, 3DSTATE_RASTER::DXMultisampleRasterizationMode (only for forced multisampling), 3DSTATE_RASTER::APIMode, and the number of samples. There are two tables in the SKL PRM that describe how the final multisample mode is calculated: "Windower (WM) Stage >> Multisampling >> Multisample ModeState >> Table 1" and the formula for "SF_INT::Multisample Rasterization Mode". The "DX Multisample Rasterization Enable" bit changes whether multisample mode is set to OFF_PIXEL or ON_PATTERN in the samples > 1 case. In the samples == 1 case, the bit has no effect. Since Vulkan has no concept of disabling multisampling for samples > 1, we can just set the bit. Signed-off-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glx/dri_common.h')
0 files changed, 0 insertions, 0 deletions