nir: remove has_ddx_intrinsics option

I thought this was already gone but apparently not quite.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37362>
This commit is contained in:
Georg Lehmann 2025-09-14 20:52:14 +02:00 committed by Marge Bot
parent 1754bfa94a
commit 76df6cd321
3 changed files with 0 additions and 9 deletions

View file

@ -745,13 +745,6 @@ typedef struct nir_shader_compiler_options {
*/
bool discard_is_demote;
/**
* Whether the new-style derivative intrinsics are supported. If false,
* legacy ALU derivative ops will be emitted. This transitional option will
* be removed once all drivers are converted to derivative intrinsics.
*/
bool has_ddx_intrinsics;
/** Whether derivative intrinsics must be scalarized. */
bool scalarize_ddx;

View file

@ -171,7 +171,6 @@ static const struct nir_shader_compiler_options gallivm_nir_options = {
/* .support_16bit_alu = true, */
.support_indirect_inputs = (uint8_t)BITFIELD_MASK(MESA_SHADER_STAGES),
.support_indirect_outputs = (uint8_t)BITFIELD_MASK(MESA_SHADER_STAGES),
.has_ddx_intrinsics = true,
.no_integers = true,
};

View file

@ -3672,7 +3672,6 @@ nvir_nir_shader_compiler_options(int chipset, uint8_t shader_type)
((chipset >= NVISA_GV100_CHIPSET) ? nir_lower_ddiv : 0)
);
op.discard_is_demote = true;
op.has_ddx_intrinsics = true;
op.scalarize_ddx = true;
op.support_indirect_inputs = (uint8_t)BITFIELD_MASK(MESA_SHADER_GEOMETRY + 1);
op.support_indirect_outputs = (uint8_t)BITFIELD_MASK(MESA_SHADER_GEOMETRY + 1);