}
/* TODO: SIMD8 GS */
- pipeline->gs_vec4 =
+ pipeline->gs_kernel =
anv_pipeline_upload_kernel(pipeline, shader_code, code_size);
pipeline->gs_vertex_count = nir->info.gs.vertices_in;
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;
const struct brw_gs_prog_data *gs_prog_data = &pipeline->gs_prog_data;
- if (pipeline->gs_vec4 == NO_KERNEL || (extra && extra->disable_vs)) {
+ if (pipeline->gs_kernel == NO_KERNEL || (extra && extra->disable_vs)) {
anv_batch_emit(&pipeline->batch, GENX(3DSTATE_GS), .GSEnable = false);
} else {
urb_offset = 1;
urb_length = (gs_prog_data->base.vue_map.num_slots + 1) / 2 - urb_offset;
anv_batch_emit(&pipeline->batch, GENX(3DSTATE_GS),
- .KernelStartPointer = pipeline->gs_vec4,
+ .KernelStartPointer = pipeline->gs_kernel,
.ScratchSpaceBasePointer = pipeline->scratch_start[MESA_SHADER_GEOMETRY],
.PerThreadScratchSpace = scratch_space(&gs_prog_data->base.base),
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,
* 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;
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;