X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fgallium%2Fauxiliary%2Fvl%2Fvl_vertex_buffers.h;h=d77409374fe2c8061c23c880dc20b9d80c272ec3;hb=fb34369eb5e5992591139d5e04b9bc8cf8b2be71;hp=874ecce904109daf75820c29d748001574ba4307;hpb=f8e6d19f3f40931be741b44d3edf210c38e13f0f;p=mesa.git diff --git a/src/gallium/auxiliary/vl/vl_vertex_buffers.h b/src/gallium/auxiliary/vl/vl_vertex_buffers.h index 874ecce9041..d77409374fe 100644 --- a/src/gallium/auxiliary/vl/vl_vertex_buffers.h +++ b/src/gallium/auxiliary/vl/vl_vertex_buffers.h @@ -18,7 +18,7 @@ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. - * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR + * IN NO EVENT SHALL VMWARE AND/OR ITS SUPPLIERS BE LIABLE FOR * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. @@ -27,8 +27,8 @@ #ifndef vl_vertex_buffers_h #define vl_vertex_buffers_h -#include -#include +#include "pipe/p_state.h" +#include "pipe/p_video_state.h" #include "vl_defines.h" #include "vl_types.h" @@ -96,7 +96,7 @@ struct vl_vertex_buffer struct pipe_resource *resource; struct pipe_transfer *transfer; struct vl_ycbcr_block *vertex_stream; - } ycbcr[VL_MAX_PLANES]; + } ycbcr[VL_NUM_COMPONENTS]; struct { struct pipe_resource *resource;