diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-29 09:51:16 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2012-07-30 13:12:04 +0100 |
commit | 33d6afda6cec124494f49b74152768da8a3fbdb5 (patch) | |
tree | 00bbe35eb9f7d908c45597a1ef84705724e8809c /src/sna/sna_render.h | |
parent | eba8d3b3e14a5a16cea6cb8a89f12d3feb8f3d99 (diff) |
sna/gen7: Compile basic kernels at runtime
Diffstat (limited to 'src/sna/sna_render.h')
-rw-r--r-- | src/sna/sna_render.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sna/sna_render.h b/src/sna/sna_render.h index f4fabad8..011b1b78 100644 --- a/src/sna/sna_render.h +++ b/src/sna/sna_render.h @@ -421,16 +421,16 @@ struct gen6_render_state { enum { GEN7_WM_KERNEL_NOMASK = 0, - GEN7_WM_KERNEL_NOMASK_PROJECTIVE, + GEN7_WM_KERNEL_NOMASK_P, GEN7_WM_KERNEL_MASK, - GEN7_WM_KERNEL_MASK_PROJECTIVE, + GEN7_WM_KERNEL_MASK_P, GEN7_WM_KERNEL_MASKCA, - GEN7_WM_KERNEL_MASKCA_PROJECTIVE, + GEN7_WM_KERNEL_MASKCA_P, GEN7_WM_KERNEL_MASKSA, - GEN7_WM_KERNEL_MASKSA_PROJECTIVE, + GEN7_WM_KERNEL_MASKSA_P, GEN7_WM_KERNEL_VIDEO_PLANAR, GEN7_WM_KERNEL_VIDEO_PACKED, @@ -445,7 +445,7 @@ struct gen7_render_state { uint32_t sf_state; uint32_t sf_mask_state; uint32_t wm_state; - uint32_t wm_kernel[GEN7_WM_KERNEL_COUNT]; + uint32_t wm_kernel[GEN7_WM_KERNEL_COUNT][3]; uint32_t cc_vp; uint32_t cc_blend; |