summaryrefslogtreecommitdiffstats
path: root/src/vulkan/gen8_pipeline.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2015-12-14 18:16:38 -0800
committerJordan Justen <[email protected]>2015-12-14 18:23:14 -0800
commit7edcc59a7bd94280f517b161a860e06197c98b4c (patch)
tree7796a30d76935a909f56164cc185ca9372d24899 /src/vulkan/gen8_pipeline.c
parenta3c5c339a8dcda213f8e3f6a56b44080b4c4eda7 (diff)
anv: Rename gs_vec4 to gs_kernel
The code generated may be vec4 or simd8 depending on how we start the compiler. To run the GS in SIMD8, set the INTEL_SCALAR_GS environment variable. This was added in: commit 36fd65381756ed1b8f774f7fcdd555941a3d39e1 Author: Kenneth Graunke <[email protected]> Date: Wed Mar 11 23:14:31 2015 -0700 i965: Add scalar geometry shader support. Signed-off-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/vulkan/gen8_pipeline.c')
-rw-r--r--src/vulkan/gen8_pipeline.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vulkan/gen8_pipeline.c b/src/vulkan/gen8_pipeline.c
index 07a43bdbe55..d3b307ca5f7 100644
--- a/src/vulkan/gen8_pipeline.c
+++ b/src/vulkan/gen8_pipeline.c
@@ -436,12 +436,12 @@ genX(graphics_pipeline_create)(
offset = 1;
length = (gs_prog_data->base.vue_map.num_slots + 1) / 2 - offset;
- if (pipeline->gs_vec4 == NO_KERNEL)
+ if (pipeline->gs_kernel == NO_KERNEL)
anv_batch_emit(&pipeline->batch, GENX(3DSTATE_GS), .Enable = false);
else
anv_batch_emit(&pipeline->batch, GENX(3DSTATE_GS),
.SingleProgramFlow = false,
- .KernelStartPointer = pipeline->gs_vec4,
+ .KernelStartPointer = pipeline->gs_kernel,
.VectorMaskEnable = Dmask,
.SamplerCount = 0,
.BindingTableEntryCount = 0,
@@ -533,7 +533,7 @@ genX(graphics_pipeline_create)(
* shared with other gens.
*/
const struct brw_vue_map *fs_input_map;
- if (pipeline->gs_vec4 == NO_KERNEL)
+ if (pipeline->gs_kernel == NO_KERNEL)
fs_input_map = &vue_prog_data->vue_map;
else
fs_input_map = &gs_prog_data->base.vue_map;
@@ -700,7 +700,7 @@ VkResult genX(compute_pipeline_create)(
pipeline->vs_simd8 = NO_KERNEL;
pipeline->vs_vec4 = NO_KERNEL;
- pipeline->gs_vec4 = NO_KERNEL;
+ pipeline->gs_kernel = NO_KERNEL;
pipeline->active_stages = 0;
pipeline->total_scratch = 0;