diff options
author | Thomas Hellstrom <[email protected]> | 2011-12-07 20:11:23 +0100 |
---|---|---|
committer | Thomas Hellstrom <[email protected]> | 2011-12-08 09:51:19 +0100 |
commit | 340c0f6f9ece070e3f3245134eabe80d7551a870 (patch) | |
tree | 6afbb0277d8d4493ec67dbcd150bd834fbe1e95a /src/gallium/state_trackers/xa/xa_yuv.c | |
parent | d4976158c7f32705b48c773c3abd1b22bebe9c16 (diff) |
st/xa: Update xa_yuv_planar_blit semantics
Change and document the interpretation of the color conversion matrix
in order to make the function more versatile and to simplify the
generated shader.
Signed-off-by: Thomas Hellstrom <[email protected]>
Reviewed-by: Jakob Bornecrantz <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/xa/xa_yuv.c')
-rw-r--r-- | src/gallium/state_trackers/xa/xa_yuv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xa/xa_yuv.c b/src/gallium/state_trackers/xa/xa_yuv.c index da00b116ade..36213593d15 100644 --- a/src/gallium/state_trackers/xa/xa_yuv.c +++ b/src/gallium/state_trackers/xa/xa_yuv.c @@ -99,7 +99,7 @@ xa_yuv_bind_samplers(struct xa_context *r, struct xa_surface *yuv[]) static void xa_yuv_fs_constants(struct xa_context *r, const float conversion_matrix[]) { - const int param_bytes = 12 * sizeof(float); + const int param_bytes = 16 * sizeof(float); renderer_set_constants(r, PIPE_SHADER_FRAGMENT, conversion_matrix, param_bytes); |