16:18karolherbst: imirkin: what's the highest we support on nv30?
16:18imirkin: the highest what?
16:18karolherbst: I see GLSL 1.2, but...
16:18karolherbst: ehh OpenGL
16:18imirkin: nv30 is GL 1.5
16:18imirkin: no NPOT support
16:19karolherbst: ahh, right
16:19imirkin: it does support shaders in theory
16:19karolherbst: sounds very very annoying to emulate
16:19imirkin: but in practice i dunno how exposed that ends up being
16:19imirkin: basically impossible for GL 2.0, but it's achievable for GLES 2.0
16:19imirkin: of course it's also missing separate blend funcs for GLES 2.0
16:20karolherbst: don't we have sw emulation for that in mesa?
16:20imirkin: (GLES 2.0 doesn't require wrapping modes to work for NPOT? or something like that)
16:20imirkin: for what?
16:20karolherbst: separate blend funcs?
16:20imirkin: sure ... along with the rest of GL
16:21imirkin: you'd have to replace the whole frontend pipeline with swrast
16:21imirkin: totally achievable, of course
16:21imirkin: afaik that's something akin to what the blob did
16:21imirkin: once you fell off the hw-supported path
16:21imirkin: you basically got swrast
16:21imirkin: right now we support using gallivm for swtnl
16:21karolherbst: apple did something similiar back at the days, seems like replacing bits with llvm was the best thing ever existing or something
16:22imirkin: er, make that "draw", not gallivm (although that is in turn used by draw)
16:22imirkin: nv30_draw.c has that integration iirc
16:23imirkin: and then there's some logic to hook up the hw rast to the new outputs from draw
16:23imirkin: i.e. passing them through directly through the vertex stage
16:24imirkin: that's where we sort out which tnl to use -- hwtnl or swtnl
16:25karolherbst: yeah.. I was mainly asking because somebody asked on twitter and I didn't know the answer :)
16:26imirkin: you can still use ARB_*_program
16:26imirkin: as well as ARB_shading_language_100 or whatever
16:31karolherbst: yeah.. right, but I think it was more a question of "this application needs GL 2.1, does this hw support it?"
16:31imirkin: this hw supports some of it ;)
16:31imirkin: i wouldn't be surprised if the blob exposed GL 2.1
16:32karolherbst: it also does support some of GL 4.6 :P
16:32imirkin: sure does