summaryrefslogtreecommitdiffstats
path: root/src/mesa/SConscript
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2014-03-06 01:56:53 -0800
committerKenneth Graunke <[email protected]>2014-03-07 22:45:25 -0800
commit14ca611258d8737cb79f9f5f2e0aaf58d80a1b1c (patch)
treeef219c80843cc95113f40f48a0090fa3e8be5f54 /src/mesa/SConscript
parent158a7440c37c27783e2968408c74c03858520ec2 (diff)
meta: Support GenerateMipmaps on 1DArray textures.
I don't know how many people care about this case, but it's easy enough to do, so we may as well. The tricky part is that for some reason Mesa stores the number of array slices in Height, not Depth. I thought the easiest way to handle that here was to make Height = 1 (the actual height), and srcDepth = srcImage->Height. This requires some munging when calling _mesa_prepare_mipmap_level, so I created a wrapper that sorts it out for us. Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Anuj Phogat <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/SConscript')
0 files changed, 0 insertions, 0 deletions