intel: initialize raw buffer SURFACE_STATEs on view creation
Initialize the SURFACE_STATE for fs once in intel_buf_view_create(). There is
one subtle change: we only use overridden SURFACE_STATEs for raw buffers now.
diff --git a/icd/intel/view.h b/icd/intel/view.h
index 04a7693..8956123 100644
--- a/icd/intel/view.h
+++ b/icd/intel/view.h
@@ -46,10 +46,10 @@
struct intel_obj obj;
struct intel_buf *buf;
- XGL_BUFFER_VIEW_CREATE_INFO info;
/* SURFACE_STATE */
uint32_t cmd[8];
+ uint32_t fs_cmd[8];
XGL_UINT cmd_len;
};