Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#167 EXT_direct_state_access detection is incorrect

1.10.2
open
Nigel Stewart
API (59)
1
2014-02-18
2011-07-21
Anonymous
No

The detection for EXT_direct_state_access requires entry points that depend on other extensions to be present. For example, it requires functions such as glGetNamedProgramLocalParameterIivEXT and the others added to NV_gpu_program4 to be supported. These functions are actually added to the NV_gpu_program4 extension and therefore are not expected to be present unless the implementation supports both EXT_direct_state_access and NV_gpu_program4. This causes detection to fail on AMD hardware which supports EXT_direct_state_access but not NV_gpu_program4. The following functions should not be part of the EXT_direct_state access detection mechanism:

glNamedProgramStringEXT
glNamedProgramLocalParameter4dEXT
glNamedProgramLocalParameter4dvEXT
glNamedProgramLocalParameter4fEXT
glNamedProgramLocalParameter4fvEXT
glGetNamedProgramLocalParameterdvEXT
glGetNamedProgramLocalParameterfvEXT
glGetNamedProgramivEXT
glGetNamedProgramStringEXT
glNamedProgramLocalParameters4fvEXT
glNamedProgramLocalParameterI4iEXT
glNamedProgramLocalParameterI4ivEXT
glNamedProgramLocalParametersI4ivEXT
glNamedProgramLocalParameterI4uiEXT
glNamedProgramLocalParameterI4uivEXT
glNamedProgramLocalParametersI4uivEXT
glGetNamedProgramLocalParameterIivEXT
glGetNamedProgramLocalParameterIuivEXT

These interactions are clearly documented at the end of the EXT_direct_state_access extension.

Discussion


  • Anonymous
    2012-10-19

    Confirming. This problem still exists.

     
  • Nigel Stewart
    Nigel Stewart
    2013-04-26

    Agreed, the intention is to make DSA work for AMD (at least) in the next release.

     

  • Anonymous
    2014-02-18

    Just debuged down the reason why I got "no" DSA with glew and found that this entry points are missing in Catalyst 13.11beta9.5:

    glDisableClientStateiEXT
    glEnableClientStateiEXT
    glGetDoublei_vEXT
    glGetFloati_vEXT
    glGetNamedProgramLocalParameterIivEXT
    glGetNamedProgramLocalParameterIuivEXT
    glGetPointeri_vEXT
    glNamedProgramLocalParameterI4iEXT
    glNamedProgramLocalParameterI4ivEXT
    glNamedProgramLocalParameterI4uiEXT
    glNamedProgramLocalParameterI4uivEXT
    glNamedProgramLocalParametersI4ivEXT
    glNamedProgramLocalParametersI4uivEXT
    glNamedRenderbufferStorageMultisampleCoverageEXT

    I understand the ones that depend on NV extensions. But apperently AMD also does exclude the new naming of functions that exist two times with an old and a new naming. e.g. glDisableClientStateIndexedEXT and glDisableClientStateiEXT

     


Anonymous


Cancel   Add attachments