Commit a0e3e55c authored by Dave Airlie's avatar Dave Airlie Committed by Dave Airlie
Browse files

ac/nir: only change the image dim from 3d -> 2d array on gfx9

parent 6422fa75
Pipeline #47376 passed with stages
in 9 minutes and 58 seconds
......@@ -113,7 +113,7 @@ get_ac_image_dim(const struct ac_llvm_context *ctx, enum glsl_sampler_dim sdim,
enum ac_image_dim dim = get_ac_sampler_dim(ctx, sdim, is_array);
if (dim == ac_image_cube ||
(ctx->chip_class <= GFX8 && dim == ac_image_3d))
(ctx->chip_class != GFX9 && dim == ac_image_3d))
dim = ac_image_2darray;
return dim;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment