Kenneth Graunke <kenn...@whitecape.org> writes:
> diff --git a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp 
> b/src/mesa/drivers/dri/i965/brw_fs_emit.cpp
> index 63f09fe..0c2b696 100644
> --- a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_fs_emit.cpp
> @@ -387,8 +387,11 @@ fs_generator::generate_tex(fs_inst *inst, struct brw_reg 
> dst, struct brw_reg src
>        msg_type = GEN5_SAMPLER_MESSAGE_SAMPLE_RESINFO;
>        break;
>        case SHADER_OPCODE_TXD:
> -      /* There is no sample_d_c message; comparisons are done manually */
> -      msg_type = GEN5_SAMPLER_MESSAGE_SAMPLE_DERIVS;
> +         if (inst->shadow_compare) {

maybe an assert(intel->is_haswell) with a note that otherwise it had
been lowered, here and in the vs?

Attachment: pgp1XdOaCgwD0.pgp
Description: PGP signature

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to