projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56ba13c
)
hack to make dota 2 menus work
author
Kenneth Graunke
<kenneth@whitecape.org>
Fri, 4 Mar 2016 00:21:09 +0000
(16:21 -0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Fri, 4 Mar 2016 00:21:09 +0000
(16:21 -0800)
src/intel/vulkan/genX_cmd_buffer.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/genX_cmd_buffer.c
b/src/intel/vulkan/genX_cmd_buffer.c
index a888c360673020eafe7d28fb9a52dcf32dcabf79..a31ecc398e729626d889baef0a7255db15d34766 100644
(file)
--- a/
src/intel/vulkan/genX_cmd_buffer.c
+++ b/
src/intel/vulkan/genX_cmd_buffer.c
@@
-721,8
+721,8
@@
void genX(CmdBeginRenderPass)(
const VkRect2D *render_area = &pRenderPassBegin->renderArea;
anv_batch_emit(&cmd_buffer->batch, GENX(3DSTATE_DRAWING_RECTANGLE),
- .ClippedDrawingRectangleYMin =
render_area->offset.y
,
- .ClippedDrawingRectangleXMin =
render_area->offset.x
,
+ .ClippedDrawingRectangleYMin =
MAX2(render_area->offset.y, 0)
,
+ .ClippedDrawingRectangleXMin =
MAX2(render_area->offset.x, 0)
,
.ClippedDrawingRectangleYMax =
render_area->offset.y + render_area->extent.height - 1,
.ClippedDrawingRectangleXMax =