Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: sleap

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    502

    Stab in the dark here but have you installed the...

    Stab in the dark here but have you installed the latest video drivers?


    It might also be worth having a quick look at the DLLs your app uses on the other machine - search for "windows dependency...
  2. Running the compute shader seems to give a...

    Running the compute shader seems to give a performance boost to the OIT shader, if the OIT shader uses a large array. If the OIT shader uses a small array (<32) the performance actually drops. In...
  3. Running a compute shader with a large array makes other shaders with arrays faster.

    I've stumbled upon some strange behaviour when playing with compute shaders. I have a basic OIT implementation using linked lists (although my guess is any application which uses a fairly large local...
  4. Replies
    3
    Views
    637

    Nice question. I'm quite in favour of injecting...

    Nice question. I'm quite in favour of injecting #define values and creating permutations of shaders (within reason of course). However, I haven't ever noticed much performance difference doing...
  5. Thanks for the response. I'm aware of the two...

    Thanks for the response. I'm aware of the two formats. They both work for me but I've just chosen size4x32 as it works on my ATI card.

    Your declaration still causes a crash with my 310.19 drivers.
  6. NVIDIA 310.* crashes when compiling GLSL using "restrict" keyword on image unit

    title says it all.

    declare any image unit from the image load store extension will cause a crash on the call to compile the shader, eg:
    layout(size4x32) uniform imageBuffer restrict data;
    ...
  7. Replies
    4
    Views
    1,208

    Re: slow local arrays in GLSL

    Thank you both for your replies.

    Working on a single cell was to stop the compiler optimizing the array out, so I could confirm the array size was my problem, and not the operations I was...
  8. Replies
    4
    Views
    1,208

    slow local arrays in GLSL

    Hi,
    I'm surprised at the cost of declaring arrays in GLSL programs.
    The array doesn't need to be initialized, all I do is write to a random element and read from the same one (so the array can't be...
  9. Replies
    1
    Views
    997

    GLSL while (someFunction) ... infinite loop

    Hi,
    I've had this issue a few times now. I'm trying to create a generator style function for iteration. A basic example would be:

    bool iter(inout int i)
    {
    if (++i >= 10)
    return...
  10. Replies
    1
    Views
    398

    uniform structs with image buffers

    It seems samplers, image buffers and bindless graphics pointers cannot be placed in GLSL structs. This would be quite useful in the following situation where multiple complex structures need to be...
  11. Replies
    2
    Views
    1,910

    Re: GLSL struct packing / texture buffers

    Thanks for the reply! Indeed so - I am using nvidia's GL_NV_shader_buffer_load. I guess I'm allocating memory as a texture buffer and then getting a pointer to that memory with nvidia's extension.
    ...
  12. Replies
    2
    Views
    1,910

    GLSL struct packing / texture buffers

    Hi,
    There seems to be very little information on this or maybe I'm looking in the wrong places. It's now possible to declare a struct in GLSL and an array of that type. This array can map to global...
Results 1 to 12 of 12