diff --git a/src/freedreno/common/freedreno_dev_info.h b/src/freedreno/common/freedreno_dev_info.h index 09e07772c55..fa9a02884d8 100644 --- a/src/freedreno/common/freedreno_dev_info.h +++ b/src/freedreno/common/freedreno_dev_info.h @@ -330,6 +330,14 @@ struct fd_dev_info { * This workaround was seen in the prop driver v512.762.12. */ bool reading_shading_rate_requires_smask_quirk; + + /* Whether the ray_intersection instruction is present. */ + bool has_ray_intersection; + + /* Whether features may be fused off by the SW_FUSE. So far, this is + * just raytracing. + */ + bool has_sw_fuse; } a7xx; }; diff --git a/src/freedreno/common/freedreno_devices.py b/src/freedreno/common/freedreno_devices.py index 90d093c1c40..aa981298f17 100644 --- a/src/freedreno/common/freedreno_devices.py +++ b/src/freedreno/common/freedreno_devices.py @@ -887,6 +887,7 @@ a7xx_gen2 = A7XXProps( has_64b_ssbo_atomics = True, has_primitive_shading_rate = True, reading_shading_rate_requires_smask_quirk = True, + has_ray_intersection = True, ) a7xx_gen3 = A7XXProps( @@ -908,6 +909,8 @@ a7xx_gen3 = A7XXProps( has_persistent_counter = True, has_64b_ssbo_atomics = True, has_primitive_shading_rate = True, + has_ray_intersection = True, + has_sw_fuse = True, ) a730_magic_regs = dict(