00:15 pmoreau: jvesely: Thanks for pointing out opencl-c.h! I didn’t know it had been upstreamed from LLVM-SPIRV. I just included that, and it seems to solve all the issues I had regarding types and built-in functions.
00:15 pmoreau: I’ll reply to your email properly tomorrow.
12:24 karolherbst: imirkin: are membars free if we don't have to wait? Because we can end up with stuff like "96: membar (SUBOP:7) 97: membar (SUBOP:7) 98: membar (SUBOP:7" and I am sure one membar is enough here :)
12:24 karolherbst: in TGSI that is MEMBAR IMM[4].xxxx MEMBAR IMM[4].yyyy MEMBAR IMM[4].zzzz
12:24 karolherbst: IMM[4] INT32 {2, 4, 15, 0}
13:41 imirkin: karolherbst: sorry, nfc
13:41 karolherbst: okay, well at least it would reduce the instruction count
13:50 imirkin: yeah. there's some precedent for doing that sort of thing -- have a look at how EMIT/CUT folding works
14:04 imirkin: skeggsb: + if (!asyh->state.gamma_lut && asyh->base.cpp != 1) {
14:04 imirkin: should that have been == 1?