• Brian Paul's avatar
    proxy-texture: test proxy texture error checking · d06c7853
    Brian Paul authored
    When a glTexImage(GL_PROXY_TEXTURE_x) call generates an error there are
    two possible outcomes:
    1. Generate a regular GL error.
    2. Don't generate a GL error.  Instead, zero-out the texture image's
       width, height, depth and format.
    
    The spec isn't totally explicit about all this but in general the second
    case happens when we exceed texture size/memory limits (that's the point
    of proxy textures afterall).
    
    Test passes with NVIDIA's driver.  Untested with AMD.  Mesa fixes/patches
    are pending.
    d06c7853
Name
Last commit
Last update
cmake Loading commit data...
documentation Loading commit data...
examples/glsl_parser_test Loading commit data...
framework Loading commit data...
generated_tests Loading commit data...
glapi Loading commit data...
include/msvc/c99 Loading commit data...
licences Loading commit data...
src Loading commit data...
templates Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
COPYING Loading commit data...
HACKING Loading commit data...
README Loading commit data...
RELEASE Loading commit data...
generate-glean-tests.py Loading commit data...
piglit-merge-results.py Loading commit data...
piglit-print-commands.py Loading commit data...
piglit-run.py Loading commit data...
piglit-summary-html.py Loading commit data...
piglit-summary-junit.py Loading commit data...