summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/gen8_pipeline.c
diff options
context:
space:
mode:
authorNanley Chery <nanley.g.chery@intel.com>2016-03-31 23:16:12 -0700
committerNanley Chery <nanley.g.chery@intel.com>2016-04-13 18:00:41 -0700
commitcff0f6b027f139cc33c9ecbfd22f9662d75c0cb7 (patch)
tree13ee5651778f9bd6fd942b4c34fecf89142e0a70 /src/intel/vulkan/gen8_pipeline.c
parent992bbed98d0eb226c2ad45eafb3cb2ad68f3fed7 (diff)
downloadexternal_mesa3d-cff0f6b027f139cc33c9ecbfd22f9662d75c0cb7.zip
external_mesa3d-cff0f6b027f139cc33c9ecbfd22f9662d75c0cb7.tar.gz
external_mesa3d-cff0f6b027f139cc33c9ecbfd22f9662d75c0cb7.tar.bz2
gen{7,8}_pipeline: Always set ViewportXYClipTestEnable
For the following reasons, there is no behavioural change with this commit: the ViewportXYClipTest function of the CLIP stage will continue to be enabled outside of Meta (where disable_viewport is always false), and the CLIP stage is turned off within Meta, so this function will continue to be disabled in that case. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Kristian Høgsberg Kristensen <kristian.h.kristensen@intel.com>
Diffstat (limited to 'src/intel/vulkan/gen8_pipeline.c')
-rw-r--r--src/intel/vulkan/gen8_pipeline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/gen8_pipeline.c b/src/intel/vulkan/gen8_pipeline.c
index 0d71e07..7f26ef5 100644
--- a/src/intel/vulkan/gen8_pipeline.c
+++ b/src/intel/vulkan/gen8_pipeline.c
@@ -351,7 +351,7 @@ genX(graphics_pipeline_create)(
.ClipEnable = !(extra && extra->use_rectlist),
.EarlyCullEnable = true,
.APIMode = 1, /* D3D */
- .ViewportXYClipTestEnable = !(extra && extra->disable_viewport),
+ .ViewportXYClipTestEnable = true,
.ClipMode =
pCreateInfo->pRasterizationState->rasterizerDiscardEnable ?