diff options
author | Gert Wollny <[email protected]> | 2019-04-07 08:37:45 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2019-04-09 08:17:44 +0000 |
commit | 8cf8dfe408a7dda5121cefc2fd5d772186484f76 (patch) | |
tree | 479582b1849e00f16e8d4cc7f597b808bcca6b8d /src/gallium/drivers/softpipe/sp_buffer.c | |
parent | 47dd7c40544e00888ca8942af2914b2fcdcd94f0 (diff) |
softpipe: Add an extra code path for the buffer texel lookup
With buffers the addressing is done on a per-byte bases so the code
path for normal textures doesn't work properly. Also add an assert
to make sure that the bit cound for storing the X coordinate is
large enough.
Signed-off-by: Gert Wollny <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_buffer.c')
0 files changed, 0 insertions, 0 deletions