intel: Set buffer format along with stride for UBO
diff --git a/icd/intel/cmd_pipeline.c b/icd/intel/cmd_pipeline.c
index 57bdc0f..81bdb8e 100644
--- a/icd/intel/cmd_pipeline.c
+++ b/icd/intel/cmd_pipeline.c
@@ -1651,6 +1651,8 @@
/* The compiler expects uniform buffers to have pitch of
* 4 for fragment shaders, but 16 for other stages.
*/
+ tmp_info.format.channelFormat = XGL_CH_FMT_R32G32B32A32;
+ tmp_info.format.numericFormat = XGL_NUM_FMT_FLOAT;
if (XGL_SHADER_STAGE_FRAGMENT == stage) {
tmp_info.stride = 4;
} else {