diff options
author | Richard Sandiford <[email protected]> | 2013-06-05 15:38:27 +0100 |
---|---|---|
committer | Adam Jackson <[email protected]> | 2013-06-10 16:26:09 -0400 |
commit | 337f21bc356a89a9c755aebabb64ba381a59e39b (patch) | |
tree | 6ae7b5beb859e3f69a65e472f4f02d3f0d63474b /src/glsl/ir_variable_refcount.h | |
parent | ba6cd796dd60635ca12f036ba9de5b907d8e82f5 (diff) |
util: Use sizeof(void *) rather than 0 as the fallback cache line size
Without this, llvmpipe ends up giving a zero size to all uncompressed textures
on non-x86 systems, since align() cannot handle a 0 alignment.
Reviewed-by: Adam Jackson <[email protected]>
Signed-off-by: Richard Sandiford <[email protected]>
Diffstat (limited to 'src/glsl/ir_variable_refcount.h')
0 files changed, 0 insertions, 0 deletions