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: driver

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    229

    maximizing performance

    Hi

    I have a GTX570M (notebook).

    By profiling, i seem to find the following specs:
    336 cuda cores
    7 SM Streaming Multiprocessor

    As each SM has an x amount of cuda cores I calculated the...
  2. Replies
    0
    Views
    306

    barrier() stalls which threads

    Hi

    I thought barrier() waits till threads/invocations in the local workgroup come to the same point i.e. Only threads in the same local workgroup are effected.

    Am I wrong?

    Does barrier...
  3. shader storage buffer objects within geometry shader

    Hi


    I have a shader storage buffer defined inside the geometry shader and I am running into problems. Although I know that geometry shaders take primitives as input and output on streams, I would...
  4. Replies
    2
    Views
    692

    value on gpu (check from cpu)

    Hi

    I am pondering over a fast way to do a check for a value on the gpu.
    Since cpu-gpu back and forth data transfers are expensive, I was wondering what is the fastest way for the cpu side...
  5. binding the same buffer object to a different target

    Hi

    Can one bind the same buffer object to different targets at differnt times?


    So for example, let's say I create a buffer
    glGenBuffers(1, &id);
    glBindBuffer(GL_ARRAY_BUFFER,id);...
  6. visio template or some other diagram friendly library/toolkit

    Hi

    I am hoping there is a visio template (another completely different toolkit/library/software is fine as well) to draw my workflow for the software that i am building. I want a big level picture...
  7. I am hoping there is a visio template (another...

    I am hoping there is a visio template (another completely different toolkit/library/software is fine as well) to draw my workflow for the software that i am building. I want a big level picture of...
  8. Replies
    2
    Views
    718

    clearing memory on the cpu side

    Hi

    I have a program where I need to create a few buffers to run in different shader programs. The total size of the buffers's data is 0.7GB. I have a 16 GB cpu RAM and 1.5GB GDDR5 graphics card...
  9. nice library for drawing graphics pipeline workflow

    Hi

    Is there a nice library out there for drawing graphics pipeling workflow? Something other than the squares and lines as in MS visio. Anyone has suggestions based on something they used and it...
  10. ok, thank you for the pointers. I will give it a...

    ok, thank you for the pointers. I will give it a shot.
  11. gpu/cpu memory consumption at particular point

    Hi

    I am trying to allocate some memory in my code and I am running into some exception at the line where I do new BYTE[count].
    This makes me that I am being denied any more memory. BYTE is...
  12. Replies
    1
    Views
    517

    eye coord to texture coord

    Hi



    I have seen some examples where when trying to convert a point in eye coordinate to normalized tecture coordinate space (between 0 and 1) from within the fragment shader , the fllowing...
  13. Replies
    1
    Views
    618

    Note that the output buffer is sent in to the...

    Note that the output buffer is sent in to the shader program by address , not by buffer object bending/name.



    glGetBufferParameterui64vNV(...)
    glMakeBufferResidentNV(...)

    I don't think that...
  14. Replies
    1
    Views
    618

    vertex shader not running on all vertices

    Hi

    I have a vertex shader that reads in a buffer of vertices (buffer bound to a vertex array).



    /*enabling program goes here*/
    glBindVertexArray(id);
    glDrawArraysInstanced(GL_POINTS, 0,...
  15. Replies
    1
    Views
    662

    casting types in shaders

    HI


    Iam running into some problems doing type conversion in a compute shader 4.3

    There is no way to do implicit casts as in C++
    for example,in C++,
    unsigned int a=134217728; // a is...
  16. Replies
    1
    Views
    663

    from the docs, there is no way to do this it...

    from the docs, there is no way to do this it seems...
  17. Replies
    1
    Views
    663

    sub-bindings with GL_SHADER_STORAGE_BUFFER

    Hi

    How can I access a particular buffer at a specific sub-binding for GL_SHADER_STORAGE_BUFFER when doing a map out?


    For example, in the example below, there is no place to specify the...
  18. using unsigned short in glsl compute shader

    Hi

    Is there a way to use unsigned shorts in a glsl compute shader? I noticed that the supported data types do not mention unsigned short - ony 32 bit types like int, float unsigned int.

    I have...
  19. Replies
    2
    Views
    775

    pass by reference buffers in shaders

    Hi

    Can pass by reference buffers work in shaders (opengl 4.3)?

    Inside the shader:


    struct A{
    int a;
    int b;
  20. Replies
    2
    Views
    1,070

    I use glMapBuffer to map over data from the GPU...

    I use glMapBuffer to map over data from the GPU onto the cpu and obtain a pointer to that memory space.
    char* myMem=(char *)glMapBuffer(GL_SHADER_STORAGE_BUFFER,GL_READ_ONLY);

    Then I cast...
  21. Replies
    3
    Views
    1,099

    Hi there I commented it out to show that this...

    Hi there

    I commented it out to show that this is where the line to create a struct would go.

    Right now, with just the casting of bytes to struct, I don't think it is possible to say...
  22. Replies
    3
    Views
    1,099

    reading data back from target and printing it

    Hi

    I am trying to read back data and print it. I use glMapBuffer and woud like my returned data to be mapped to an array of structs. I would then loop over the array and print out the struct...
  23. Replies
    2
    Views
    1,070

    1.#R values from the Gpu

    Hi

    I am returning float value , 1.#R , from the gpu. (I am printing it out).

    What does this indicate and why could i be getting this?

    thanks
  24. Replies
    1
    Views
    738

    same buffer bound to different targets?

    Hi

    Can you change the target of a buffer?

    For example:

    glGenBuffers(1,&buf);
    glBindBuffer(GL_ARRAY_BUFFER,buf);
    glBufferData(GL_ARRAY_BUFFER, 4 * sizeof(float), myData,GL_READ_ONLY);
  25. Replies
    1
    Views
    976

    local variables in glsl shader

    Hi

    I am trying to use some local variables in the glsl shade. However, everytime I simply declare or declare and assign the variable to an initial value , it seems my shader stops working...
Results 1 to 25 of 53
Page 1 of 3 1 2 3