diff options
author | Anuj Phogat <[email protected]> | 2014-07-21 16:58:42 -0700 |
---|---|---|
committer | Anuj Phogat <[email protected]> | 2014-07-21 18:33:29 -0700 |
commit | 9548ba6e7bb8e631f6ef6236f7425725239742fe (patch) | |
tree | d1923b0e38b357b187552b6839bb1944e8fdc162 /src/mesa/main/texcompress_s3tc.c | |
parent | 29af97f2804442e7952b98f8cea8e8ff740d196e (diff) |
mesa: Don't use memcpy() in _mesa_texstore() for float depth texture data
because float depth texture data needs clamping to [0.0, 1.0]. Let the
_mesa_texstore() fallback to slower path.
Fixes Khronos GLES3 CTS tests:
shadow_execution_vert
shadow_execution_frag
V2: Move the check to _mesa_texstore_can_use_memcpy() function.
Add check for floating point data types.
Cc: <[email protected]>
Signed-off-by: Anuj Phogat <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress_s3tc.c')
0 files changed, 0 insertions, 0 deletions