diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_eu_validate.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_eu_validate.c b/src/mesa/drivers/dri/i965/brw_eu_validate.c index 86f0ec89012..8c2eb99f8e5 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_validate.c +++ b/src/mesa/drivers/dri/i965/brw_eu_validate.c @@ -103,10 +103,8 @@ num_sources_from_inst(const struct gen_device_info *devinfo, */ return 0; } - } else if (desc) { - return desc->nsrc; } else { - return 0; + return desc->nsrc; } switch (math_function) { |