Quoting Kenneth Graunke (2017-10-10 23:14:17)
> +/* Consider all the restrictions and determine the format of the source. */
> +static mesa_format
> +blorp_get_client_format(struct brw_context *brw,
> +                        GLenum format, GLenum type,
> +                        const struct gl_pixelstore_attrib *packing)
> +{
> +   if (brw->ctx._ImageTransferState)
> +      return MESA_FORMAT_NONE;
> +
> +   if (packing->SwapBytes || packing->LsbFirst || packing->Invert) {
> +      perf_debug("intel_texsubimage_blorp: unsupported 
> gl_pixelstore_attrib\n");
> +      return MESA_FORMAT_NONE;
> +   }
> +
> +   if (format != GL_RED &&
> +       format != GL_RG &&
> +       format != GL_RGB &&
> +       format != GL_RGBA &&

GL_BGRA and friends?
-Chris
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to