intel: Don't propagate conditional modifiers if a UD source is negated
This fixes a bug uncovered by my NIR integer division by constant optimization series. Fixes:19f9cb72c8
"i965/fs: Add pass to propagate conditional..." Fixes:627f94b72e
"i965/vec4: adding vec4_cmod_propagation..." Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
@@ -291,6 +291,7 @@ public:
|
||||
int swizzle, int swizzle_mask);
|
||||
void reswizzle(int dst_writemask, int swizzle);
|
||||
bool can_do_source_mods(const struct gen_device_info *devinfo);
|
||||
bool can_do_cmod();
|
||||
bool can_do_writemask(const struct gen_device_info *devinfo);
|
||||
bool can_change_types() const;
|
||||
bool has_source_and_destination_hazard() const;
|
||||
|
Reference in New Issue
Block a user