From: James Glanville Date: Tue, 2 May 2023 14:46:45 +0000 (+0100) Subject: pvr: Adjust clear's region clip words X-Git-Tag: upstream/23.3.3~9135 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba118bb3bc4ddc4b694ed7d3b3247d9adac67868;p=platform%2Fupstream%2Fmesa.git pvr: Adjust clear's region clip words Co-Authored-By: : Karmjit Mahil Signed-off-by: James Glanville Signed-off-by: Karmjit Mahil Reviewed-by: Frank Binns Part-of: --- diff --git a/src/imagination/csbgen/rogue_ppp.xml b/src/imagination/csbgen/rogue_ppp.xml index 37ffea6..61605e6 100644 --- a/src/imagination/csbgen/rogue_ppp.xml +++ b/src/imagination/csbgen/rogue_ppp.xml @@ -168,6 +168,9 @@ SOFTWARE. + + + diff --git a/src/imagination/vulkan/pvr_clear.c b/src/imagination/vulkan/pvr_clear.c index 8ed1bdf..fee7b11 100644 --- a/src/imagination/vulkan/pvr_clear.c +++ b/src/imagination/vulkan/pvr_clear.c @@ -121,9 +121,13 @@ static void pvr_device_setup_graphics_static_clear_ppp_templates( template->config.pds_state = NULL; template->config.region_clip0 = CS_HEADER(TA_REGION_CLIP0); - template->config.region_clip0.mode = PVRX(TA_REGION_CLIP_MODE_NONE); + template->config.region_clip0.mode = PVRX(TA_REGION_CLIP_MODE_OUTSIDE); + template->config.region_clip0.left = 0; + template->config.region_clip0.right = PVRX(TA_REGION_CLIP_MAX); template->config.region_clip1 = CS_HEADER(TA_REGION_CLIP1); + template->config.region_clip1.top = 0; + template->config.region_clip1.bottom = PVRX(TA_REGION_CLIP_MAX); template->config.output_sel = CS_HEADER(TA_OUTPUT_SEL); template->config.output_sel.vtxsize = 4;