PDA

View Full Version : EXT_shader_image_load_store samples



Aekold
02-10-2011, 09:15 AM
Is there any sample available which uses EXT_shader_image_load_store extension for random texture writes in the shader? I found nothing on this topic on developer.nvidia.com; google redirects mostly to the specification of the extension.
Even simplest sample would help a lot.
Thanks,
Peter

Groovounet
02-10-2011, 10:22 AM
This stuff is pretty great:
http://blog.icare3d.org/2010/07/opengl-40-abuffer-v20-linked-lists-of.html

The program is open source, use the extension but also the bindless graphics stuff from nVidia.

Aekold
02-10-2011, 10:40 AM
I tried to run it, got the error:
"Unable to create OpenGL 4.0 context (flags 2, profile 2)"
Does this mean that the extension is incompatible with my GPU? I am using GeForce GTX 285.

Alfonse Reinheart
02-10-2011, 10:43 AM
Does this mean that the extension is incompatible with my GPU? I am using GeForce GTX 285.

Yes. Only the 4xx and 5xx GeForce GPUs support GL 4.0 and above (from NVIDIA at least). And EXT_shader_image_load_store is only supported on 4.0 and above class hardware.

Groovounet
02-10-2011, 10:44 AM
You need a GeForce 400 series or more recent...

Load and store is an OpenGL 4 and Direct3D 11 capability.
The GeForce GTX 285 is an OpenGL 3 chip.