diff options
author | Brian Paul <[email protected]> | 2017-07-10 08:36:15 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-07-10 11:11:26 -0600 |
commit | 3b28eaabf603657c388caa72bc92b1b660d00b2a (patch) | |
tree | b9cbe7a755e6f6d7716b3c3e6ba815d2be2742d0 /src/gallium/drivers/svga/svga_link.h | |
parent | f8f71cb6f394b8b655e760a6acec8ccff1a89cfc (diff) |
svga: fix PIPE_CAP_MAX_TEXTURE_BUFFER_SIZE value
This query is supposed to return the max texture buffer size/width in
texels, not size in bytes. Divide by 16 (the largest format size) to
return texels.
Fixes Piglit arb_texture_buffer_object-max-size test.
Cc: [email protected]
Reviewed-by :Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_link.h')
0 files changed, 0 insertions, 0 deletions