projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af3685d
)
r600/eg: fix cube map array buffer images.
author
Dave Airlie
<airlied@redhat.com>
Fri, 2 Feb 2018 06:56:27 +0000
(16:56 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Sun, 4 Feb 2018 19:14:56 +0000
(
05:14
+1000)
This fixes a crash in:
KHR-GL45.texture_cube_map_array.texture_size_compute_sh.
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_state_common.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_state_common.c
b/src/gallium/drivers/r600/r600_state_common.c
index d9c74b5f47c3b227b34635da6b306d16fe6a8761..477372c3c14a551f654b7a4514526ff8c0dda423 100644
(file)
--- a/
src/gallium/drivers/r600/r600_state_common.c
+++ b/
src/gallium/drivers/r600/r600_state_common.c
@@
-1421,7
+1421,7
@@
void eg_setup_buffer_constants(struct r600_context *rctx, int shader_type)
int idx = i - sview_bits;
if (images->enabled_mask & (1 << idx)) {
uint32_t offset = (base_offset / 4) + i;
- constants[offset] = images->views[i].base.resource->array_size / 6;
+ constants[offset] = images->views[i
dx
].base.resource->array_size / 6;
}
}
}