summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_surface.c
diff options
context:
space:
mode:
authorAnuj Phogat <[email protected]>2013-10-07 12:45:44 -0700
committerAnuj Phogat <[email protected]>2013-11-01 16:01:49 -0700
commite7393260befe6bcb9d0905da67bc9253c25c345b (patch)
treee4e65b744ba6eb8c086afeee758f4fe542cd0709 /src/gallium/drivers/llvmpipe/lp_surface.c
parent8d7a934d0982d7c187e2d33c177063a4c3406a76 (diff)
i965/gen7: Enable the features required for GL_ARB_sample_shading
- Enable GEN7_WM_MSDISPMODE_PERSAMPLE, GEN7_WM_POSOFFSET_SAMPLE, GEN7_WM_OMASK_TO_RENDER_TARGET as per extension's specification. - Only enable one of GEN7_WM_8_DISPATCH_ENABLE or GEN7_WM_16_DISPATCH_ENABLE when GEN7_WM_MSDISPMODE_PERSAMPLE is enabled. Refer IVB PRM Vol. 2, Part 1, Page 288 for details. V2: - Use shared function _mesa_get_min_invocations_per_fragment(). - Use brw_wm_prog_data variables: uses_pos_offset, uses_omask. V3: - Enable simd16 dispatch with per sample shading. - Make changes to give preference to 'simd16 only' mode over 'simd8 only' mode in case of non 1x per sample shading. Signed-off-by: Anuj Phogat <[email protected]> Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_surface.c')
0 files changed, 0 insertions, 0 deletions