diff options
author | Connor Abbott <[email protected]> | 2019-08-23 10:46:53 +0200 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2019-08-26 11:00:49 +0200 |
commit | b7acf38073b8be8ee17f7618fd9745fca4cabe7a (patch) | |
tree | d7abc13acc0255e94d8bd7860013e31fbf697589 /src/amd/common/ac_shader_abi.h | |
parent | 4849276ea8774329b3330fce22b2bfb03b80c97a (diff) |
ac/nir: Remove gfx9_stride_size_workaround_for_atomic
The workaround was entirely in common code, and it's needed in radeonsi
too so just always do it when necessary. Fixes
KHR-GL45.shader_image_load_store.advanced-allStages-oneImage on gfx9
with LLVM 8.
Reviewed-by: Samuel Pitoiset <[email protected]>
Diffstat (limited to 'src/amd/common/ac_shader_abi.h')
-rw-r--r-- | src/amd/common/ac_shader_abi.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/amd/common/ac_shader_abi.h b/src/amd/common/ac_shader_abi.h index 5d4479c5242..ef628c1ff10 100644 --- a/src/amd/common/ac_shader_abi.h +++ b/src/amd/common/ac_shader_abi.h @@ -207,10 +207,6 @@ struct ac_shader_abi { bool clamp_shadow_reference; bool interp_at_sample_force_center; - /* Whether to workaround GFX9 ignoring the stride for the buffer size if IDXEN=0 - * and LLVM optimizes an indexed load with constant index to IDXEN=0. */ - bool gfx9_stride_size_workaround_for_atomic; - /* Whether bounds checks are required */ bool robust_buffer_access; }; |