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

Page 1 of 20 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    34
    Views
    2,373

    um, The clipping equations: -w

    um,

    The clipping equations:

    -w <= x <= w
    -w <= y <= w
    -w <= z <= w

    do just as good job of avoiding w being small as
  2. Replies
    34
    Views
    2,373

    yep something like that. The best case for...

    yep something like that.

    The best case for this to be shiny is what I said for extension: ability to disable z-clipping without clamping the value. This would avoid the near plane issue, and I am...
  3. Replies
    34
    Views
    2,373

    I am not estimating as I have consulted those...

    I am not estimating as I have consulted those that have been hardware engineers. Even now, clipping from user defined clip distances for much hardware out there is horror slow implemented and the...
  4. Replies
    34
    Views
    2,373

    I admit that clip control would be more feature...

    I admit that clip control would be more feature encompassing, but to make hardware that runs fast enough, means alot of freaking sand. Current triangle clipper/setup engines are already a great deal...
  5. Replies
    34
    Views
    2,373

    I think doing the clipping in GS with just two...

    I think doing the clipping in GS with just two planes for the custom-z will run faster than doing it in fragment shader. Also, enabling z-clamping will likely make the performance comparable to usual...
  6. Replies
    34
    Views
    2,373

    ahh sighs, there is a bug or two in that geometry...

    ahh sighs, there is a bug or two in that geometry shader version, here it is, hopefullfy will bugs gone.



    in vec3 DivPosition[];



    int count;
    vec3 fan_positions[9];
  7. Replies
    34
    Views
    2,373

    yeps, the approach was so wrong I deleted the...

    yeps, the approach was so wrong I deleted the post :P At any rate look at the newer post using the geometry shader. That is the way to go, but the shaer will need some love to work fast.
  8. Replies
    34
    Views
    2,373

    I was thinking more on this and the situation...

    I was thinking more on this and the situation where the Div factor you want is negative for some verts and positive for others together with when some x's y's or z's are negative will interact in a...
  9. Replies
    34
    Views
    2,373

    Um, I think some things are a touch unclear....

    Um, I think some things are a touch unclear. Ahem. If all one is worried is about z, then there really is a simple way. Lets say one wants to divide gl_Position.z by ZDiv instead of gl_Position.w to...
  10. Replies
    34
    Views
    2,373

    At any rate, this extension idea seems terribly...

    At any rate, this extension idea seems terribly fishy anyways. As pointed out, normalize your w to one then divide by those gl_PositionDiv factors. The only issue where it is a problem is when none...
  11. If you add a \n at the end of each C-src line you...

    If you add a \n at the end of each C-src line you would be able to tell where it complains.




    For OpenGL v3.1, 3.2, and 3.3, Mesa only supports -CORE- profile. So, enumerations and functions...
  12. Replies
    40
    Views
    7,477

    To implement NV_gpu_program4 or 5 one will need...

    To implement NV_gpu_program4 or 5 one will need to first attack just Mesa (not Gallium) to update the assembly interface to accept all that those extensions add, lots of pain there. Then you need to...
  13. Replies
    40
    Views
    7,477

    Looks like I should read everything on the...

    Looks like I should read everything on the internet with a huge grain of salt. It looks like the D3D HLSL compiler does know of sat, which I did not think it did. Learn something everyday. However,...
  14. Replies
    40
    Views
    7,477

    Currently, Mesa's GLSL IR is going through the...

    Currently, Mesa's GLSL IR is going through the pain of turning into a SSA form; In truth the IR in Mesa is, in spite of its age, technologically immature. It takes way too much memory, is difficult...
  15. Replies
    40
    Views
    7,477

    Very often compilers nowadays use SSA: Single...

    Very often compilers nowadays use SSA: Single Static Assignment. In SSA, a register can only be written to -once- but can read many times. LLVM is based off of SSA. So for an IR, the representation...
  16. Replies
    40
    Views
    7,477

    For Intel's Gen7 and before, that only 2 vertices...

    For Intel's Gen7 and before, that only 2 vertices are handled per invocation is a hardware limit. So for vertex and geometry shading, and tessellation too, the backend to the compiler should do...
  17. Replies
    40
    Views
    7,477

    You are missing my point. Lets just first operate...

    You are missing my point. Lets just first operate on the hardware, pure hardware first and then state how it is used in implementing an API. Here goes. Intel is a SIMD8 beast. It has a really...
  18. Replies
    17
    Views
    3,101

    I think it would be a really good idea to decide...

    I think it would be a really good idea to decide how often that primitive mode is going to change. Really important. If it changes rarely, then having the hardware handle primitive mode changes...
  19. Replies
    40
    Views
    7,477

    I am going to put my little bits in on the...

    I am going to put my little bits in on the hardware about differences between NVIDIA, AMD and Intel. Caveat: I've spent far less time with AMD than the other two, and Intel I've spent way too much...
  20. Replies
    17
    Views
    3,101

    I don't want to be too harsh, but what is the...

    I don't want to be too harsh, but what is the purpose of extending the primitive restart to change the primitive type? Is it expected that the index buffer will be made by a feedback mechanism? Is it...
  21. Replies
    40
    Views
    7,477

    My personal pet-preference would be that the IR...

    My personal pet-preference would be that the IR chosen would be scalar based and LLVM. This way, all the optimization passes embodied in the LLVM project become available. However, then a very, hard...
  22. Replies
    40
    Views
    7,477

    Depends on the hardware. Both Intel and AMD are...

    Depends on the hardware. Both Intel and AMD are SIMD based. Intel hardware is SIMD8 based. For fragment shading, the scalar story is fine since it will invoke a SIMD8, SIMD16 or SIMD32 fragment...
  23. This is my two cents on performance counters: ...

    This is my two cents on performance counters:

    Performance counters should be used by tools, not end applications, for the purpose of optimizing an application
    Hardware varies a great deal, what...
  24. for that matter, using xlib to draw anything is...

    for that matter, using xlib to draw anything is usually a really bad idea, typically quite ugly and far from optimal.
  25. Replies
    5
    Views
    1,670

    If the shape draws overitself, the stencil value...

    If the shape draws overitself, the stencil value is already one and the stencil test is equal 0, so the stencil test would fail leaving the stencil buffer as 1. However, step 1.3 should also have...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4