diff options
author | Brian Paul <[email protected]> | 2015-11-16 10:31:46 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-11-18 09:15:54 -0700 |
commit | 1a90e3e1e3ee70504f2ce57462fb592b448269be (patch) | |
tree | d89f00d00c7ed1e8c7ee5e34d09ceebf54d1e3f4 /src/gallium/drivers/radeon/r600_streamout.c | |
parent | 27ce75ed12c814b0d4b96c32f6e89ba308910e26 (diff) |
svga: add/use new svga_sampler_format() function
This is important for the case of sampling from a depth texture. In
that case, we need to sample the texture as if it were a single-channel
color texture. For other/color formats, we can use the format as-is.
Reviewed-by: Charmaine Lee <[email protected]>
Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_streamout.c')
0 files changed, 0 insertions, 0 deletions