[Mesa-dev] [PATCH 6/9] anv/gen7_pipeline: Set few missing fields in 3DSTATE_VS

Anuj Phogat anuj.phogat at gmail.com
Fri Sep 30 22:33:14 UTC 2016


Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
---
 src/intel/vulkan/gen7_pipeline.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c
index 8d133b6..f98aef5 100644
--- a/src/intel/vulkan/gen7_pipeline.c
+++ b/src/intel/vulkan/gen7_pipeline.c
@@ -121,6 +121,12 @@ genX(graphics_pipeline_create)(
          };
          vs.PerThreadScratchSpace      = scratch_space(&vs_prog_data->base.base);
 
+         vs.FloatingPointMode          = vs_prog_data->base.base.use_alt_mode ?
+                                         Alternate : IEEE754;
+         vs.SamplerCount               = 0;
+         vs.BindingTableEntryCount     =
+            vs_prog_data->base.base.binding_table.size_bytes / 4;
+
          vs.DispatchGRFStartRegisterforURBData    =
             vs_prog_data->base.base.dispatch_grf_start_reg;
 
-- 
2.5.5



More information about the mesa-dev mailing list