diff options
author | Brian Paul <[email protected]> | 2017-06-30 14:11:01 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-07-03 10:10:14 -0600 |
commit | 6158c0b5d8b6367a46acbe2fe20357210422c96f (patch) | |
tree | d42d43e845c2224c83d5c0975e6fc86c5dfbe351 /.gitattributes | |
parent | e6d1cc31fa7a7252c07933a7e311fb0d8b331e12 (diff) |
svga: don't call svga_texture_device_format_has_alpha() for PIPE_BUFFER
svga_texture_device_format_has_alpha() is only intended to work for
texture resources, not buffer resources. This fixes a failed assertion
in the svga_texture() cast function when running texture buffer tests.
Also, add an assertion in svga_texture_device_format_has_alpha() to
catch the issue sooner.
Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions