wined3d: Rename gen_planar_yuv_read() to gen_packed_yuv_read().

UYVY and YUY2 are packed, YV12 and NV12 are planar.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2018-04-30 22:45:00 +04:30 committed by Alexandre Julliard
parent 71f24b8dbd
commit 36a39397bc
1 changed files with 2 additions and 2 deletions

View File

@ -6936,7 +6936,7 @@ static void arbfp_blitter_destroy(struct wined3d_blitter *blitter, struct wined3
heap_free(arbfp_blitter);
}
static void gen_planar_yuv_read(struct wined3d_string_buffer *buffer,
static void gen_packed_yuv_read(struct wined3d_string_buffer *buffer,
const struct arbfp_blit_type *type, char *luminance)
{
char chroma;
@ -7464,7 +7464,7 @@ static GLuint gen_yuv_shader(const struct wined3d_gl_info *gl_info, const struct
{
case COMPLEX_FIXUP_UYVY:
case COMPLEX_FIXUP_YUY2:
gen_planar_yuv_read(&buffer, type, &luminance_component);
gen_packed_yuv_read(&buffer, type, &luminance_component);
break;
case COMPLEX_FIXUP_YV12: