compiles fine for me, looks like it has been fixed with newer drivers (though can't say exactly from which version on)
Type: Posts; User: Christoph Kubisch
compiles fine for me, looks like it has been fixed with newer drivers (though can't say exactly from which version on)
just quickly threw something together that compiles just fine. As the others mentioned the code you show wouldn't compile at all? g_mProjectionInv doesn't exist in the struct either?
Hi oscar,
ran into the barrier problem during development as well, currently it seems like an oversight in the spec itself, if you look into 4.3 GLSL :
This hasn't been specced in detail for...
Hi,
cool stuff! we'll look into the compiler creating non-optimal code.
Btw you might want to use NV_shader_buffer_load to pack your textures into buffers instead of samplerBuffer, safes the unpack...