mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 00:10:10 +01:00
llvmpipe: fix cube image size query
The 3rd coord wasn't being handled properly Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9746>
This commit is contained in:
parent
b3ff9a02a4
commit
b03cfad77a
1 changed files with 1 additions and 10 deletions
|
|
@ -3922,16 +3922,7 @@ lp_build_size_query_soa(struct gallivm_state *gallivm,
|
|||
|
||||
dims = texture_dims(target);
|
||||
|
||||
switch (target) {
|
||||
case PIPE_TEXTURE_1D_ARRAY:
|
||||
case PIPE_TEXTURE_2D_ARRAY:
|
||||
case PIPE_TEXTURE_CUBE_ARRAY:
|
||||
has_array = TRUE;
|
||||
break;
|
||||
default:
|
||||
has_array = FALSE;
|
||||
break;
|
||||
}
|
||||
has_array = has_layer_coord(target);
|
||||
|
||||
assert(!params->int_type.floating);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue