diff options
author | Alex Smith <[email protected]> | 2018-05-30 09:39:27 +0100 |
---|---|---|
committer | Alex Smith <[email protected]> | 2018-06-01 08:53:38 +0100 |
commit | 01a2414045bd819267821423dbf77c3655cc214d (patch) | |
tree | a574b9a832df133ccc41132c28c4b598e35f776d /src/gallium/drivers/nouveau/nouveau_context.h | |
parent | dfff9fb6f8d4b4ecd087cc01e9841244a83558b6 (diff) |
radeonsi: Fix crash on shaders using MSAA image load/store
The value returned by tgsi_util_get_texture_coord_dim() does not
account for the sample index. This means image_fetch_coords() will not
fetch it, leading to a null deref in ac_build_image_opcode() which
expects it to be present (the return value of ac_num_coords() *does*
include the sample index).
Signed-off-by: Alex Smith <[email protected]>
Cc: "18.1" <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_context.h')
0 files changed, 0 insertions, 0 deletions