Handle gaps in FS inputs.
Added logic to handle when user varyings are written by the VS but not read by the FS.
Also moved SBE command building from draw-time to pipeline-create.
diff --git a/icd/intel/pipeline.h b/icd/intel/pipeline.h
index 3a5b073..aa5845a 100644
--- a/icd/intel/pipeline.h
+++ b/icd/intel/pipeline.h
@@ -101,9 +101,12 @@
* can go away after the pipeline is created
*/
XGL_FLAGS uses;
- uint32_t user_attributes_read;
+ uint64_t inputs_read;
+ uint64_t outputs_written;
+ XGL_UINT outputs_offset;
XGL_BOOL enable_user_clip;
+ XGL_BOOL reads_user_clip;
XGL_UINT in_count;
XGL_UINT out_count;
@@ -182,6 +185,7 @@
uint32_t cmds[INTEL_PSO_CMD_ENTRIES];
XGL_UINT cmd_len;
+ XGL_UINT cmd_sbe_body_offset;
};
static inline struct intel_pipeline *intel_pipeline(XGL_PIPELINE pipeline)