Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Page 10 of 10 FirstFirst ... 8910
Results 91 to 92 of 92

Thread: Official feedback on OpenGL 4.1 thread

  1. #91
    Advanced Member Frequent Contributor
    Join Date
    Dec 2007
    Location
    Hungary
    Posts
    985

    Re: direct_state_access_memory?

    Quote Originally Posted by Gedolo
    Now that OpenGL allows to store and load shader objects.

    Do something about the big/little endian issue that can happen when transporting information from one to another machine.
    You cannot transport the stored shader binaries from one computer to another, that's not what ARB_get_program_binary is for.
    If you check the extension spec you can clearly see that it is primarily only for caching as there is no guarantee that the binary format will be the same across operating systems, hardware vendors or even driver versions.

    Quote Originally Posted by Gedolo
    On wikipedia there is an advantage to little endianness.
    en.wikipedia.org/wiki/Endianness#Optimization

    Little endian seems to have a technical advantage here.
    (Simpler circuit for doing the same.)

    The best choice seems that every file would be best written in/with little endian.

    (I find the bigger memory location is more significant byte very intuitive and logical.)
    Why? What does "simper circuit" do with how you store a binary data on disk? Also the shader binary is just an array of bytes. Why endianness matter there?
    Disclaimer: This is my personal profile. Whatever I write here is my personal opinion and none of my statements or speculations are anyhow related to my employer and as such should not be treated as accurate or valid and in no case should those be considered to represent the opinions of my employer.
    Technical Blog: http://www.rastergrid.com/blog/

  2. #92
    Intern Contributor
    Join Date
    Aug 2009
    Posts
    66

    Re: direct_state_access_memory?

    I have accidental pasted two unrelated pieces of text together that was supposed to be for other forums.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •