Re: [Mesa-dev] [PATCH] nir/xfb: Properly align 64-bit values

2019-02-13 Thread apinheiro
I vaguely remember glslang doing something similar when computing offsets. This, and other xfb corner cases, were the reason I thought/concluded it would made sense to let glslang (or any other frontend) to do the offset assignment also for structs, so SPIR-V consuming drivers didn't need to ha

[Mesa-dev] [PATCH] nir/xfb: Properly align 64-bit values

2019-02-12 Thread Jason Ekstrand
Fixes: 19064b8c "nir: Add a pass for gathering transform feedback info" Cc: Alejandro PiƱeiro --- src/compiler/nir/nir_gather_xfb_info.c | 44 ++ 1 file changed, 44 insertions(+) diff --git a/src/compiler/nir/nir_gather_xfb_info.c b/src/compiler/nir/nir_gather_xfb_info.c