On Tuesday, February 28, 2017 9:03:23 PM PST Jason Ekstrand wrote:
> While we're at it, we also change the GEN6 binding macro to be a start
> index that gets added to the binding.  This makes things a bit more
> explicit.

Eh.  It's a stylistic choice, I guess.

The old macro,

    #define SURF_INDEX_GEN6_SOL_BINDING(t) (t)

would give the surface index for binding 't'.  It could have been
written as 0 + t, which would have been more explicit.  I didn't think
it was particularly unclear.

But the style you use here isn't bad either, so...*shrug*.

Attachment: signature.asc
Description: This is a digitally signed message part.

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

Reply via email to