aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/lower_vec_index_to_swizzle.cpp
diff options
context:
space:
mode:
authorRichard Sandiford <[email protected]>2013-06-05 15:38:27 +0100
committerAdam Jackson <[email protected]>2013-06-10 16:26:09 -0400
commit337f21bc356a89a9c755aebabb64ba381a59e39b (patch)
tree6ae7b5beb859e3f69a65e472f4f02d3f0d63474b /src/glsl/lower_vec_index_to_swizzle.cpp
parentba6cd796dd60635ca12f036ba9de5b907d8e82f5 (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/lower_vec_index_to_swizzle.cpp')
0 files changed, 0 insertions, 0 deletions