diff options
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen8_generator.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/gen8_generator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen8_generator.cpp b/src/mesa/drivers/dri/i965/gen8_generator.cpp index ee5f792187f..1e2ac09bfd5 100644 --- a/src/mesa/drivers/dri/i965/gen8_generator.cpp +++ b/src/mesa/drivers/dri/i965/gen8_generator.cpp @@ -299,7 +299,7 @@ gen8_generator::math(unsigned math_function, { gen8_instruction *inst = next_inst(BRW_OPCODE_MATH); - assert(dst.hstride == src0.hstride); + assert(src0.hstride == 0 || src0.hstride == dst.hstride); gen8_set_math_function(inst, math_function); gen8_set_dst(brw, inst, dst); |