aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2016-07-18 13:56:23 -0700
committerKenneth Graunke <[email protected]>2016-07-20 10:59:44 -0700
commit6b6727026228bd1eab715034416194317e4d0fc6 (patch)
tree2e371a08e56ae0d26a087d98b64031dbc6e3c62b /src/intel/vulkan
parentc31cf532af4c14ffb82ccbec2e69df82d56c4ef2 (diff)
genxml: Add APIMODE_D3D missing enum values and improve consistency.
Cc: "12.0" <[email protected]> Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-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 4e04aadfe89..52792a9ad17 100644
--- a/src/intel/vulkan/gen8_pipeline.c
+++ b/src/intel/vulkan/gen8_pipeline.c
@@ -190,7 +190,7 @@ genX(graphics_pipeline_create)(
anv_batch_emit(&pipeline->batch, GENX(3DSTATE_CLIP), clip) {
clip.ClipEnable = !(extra && extra->use_rectlist);
clip.EarlyCullEnable = true;
- clip.APIMode = 1; /* D3D */
+ clip.APIMode = APIMODE_D3D;
clip.ViewportXYClipTestEnable = true;
clip.ClipMode =