From: Kenneth Graunke Date: Mon, 18 Jul 2016 20:56:23 +0000 (-0700) Subject: genxml: Add APIMODE_D3D missing enum values and improve consistency. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b6727026228bd1eab715034416194317e4d0fc6;p=mesa.git genxml: Add APIMODE_D3D missing enum values and improve consistency. Cc: "12.0" Signed-off-by: Kenneth Graunke Reviewed-by: Jason Ekstrand --- diff --git a/src/intel/genxml/gen6.xml b/src/intel/genxml/gen6.xml index c465288e891..cf94efc28de 100644 --- a/src/intel/genxml/gen6.xml +++ b/src/intel/genxml/gen6.xml @@ -787,6 +787,7 @@ + diff --git a/src/intel/genxml/gen7.xml b/src/intel/genxml/gen7.xml index b1c324f66d4..108409393d9 100644 --- a/src/intel/genxml/gen7.xml +++ b/src/intel/genxml/gen7.xml @@ -959,6 +959,7 @@ + diff --git a/src/intel/genxml/gen75.xml b/src/intel/genxml/gen75.xml index 1239164d400..b7bf13a08d5 100644 --- a/src/intel/genxml/gen75.xml +++ b/src/intel/genxml/gen75.xml @@ -1068,6 +1068,7 @@ + diff --git a/src/intel/genxml/gen8.xml b/src/intel/genxml/gen8.xml index 386e8fce875..dfeda9462ea 100644 --- a/src/intel/genxml/gen8.xml +++ b/src/intel/genxml/gen8.xml @@ -1115,7 +1115,8 @@ - + + diff --git a/src/intel/genxml/gen9.xml b/src/intel/genxml/gen9.xml index 896143b2f64..06a3cd4de39 100644 --- a/src/intel/genxml/gen9.xml +++ b/src/intel/genxml/gen9.xml @@ -1167,7 +1167,8 @@ - + + 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 =