diff options
author | Jason Ekstrand <[email protected]> | 2017-03-22 15:37:17 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-05-03 11:25:46 -0700 |
commit | 0db70703300938356e8f3bef33e5826efc0b10c3 (patch) | |
tree | 0f15f8dc9e61fa0e870616654dd76b41dd9692b8 /src/intel/vulkan/anv_nir.h | |
parent | ca5bdfdfc68c065980db2dd06a5979c2c4fe674b (diff) |
anv/pipeline: Add shader lowering for multiview
v2 (Jason Ekstrand):
- Take a view_mask rather than a whole subpass
- Build the view mask into the VS shader key
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_nir.h')
-rw-r--r-- | src/intel/vulkan/anv_nir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_nir.h b/src/intel/vulkan/anv_nir.h index 3f977017988..5b450b45cdf 100644 --- a/src/intel/vulkan/anv_nir.h +++ b/src/intel/vulkan/anv_nir.h @@ -35,6 +35,8 @@ void anv_nir_lower_input_attachments(nir_shader *shader); void anv_nir_lower_push_constants(nir_shader *shader); +bool anv_nir_lower_multiview(nir_shader *shader, uint32_t view_mask); + void anv_nir_apply_pipeline_layout(struct anv_pipeline *pipeline, nir_shader *shader, struct brw_stage_prog_data *prog_data, |