Home
last modified time | relevance | path

Searched refs:clamp_int64 (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/intel/vulkan/
Dgen7_cmd_buffer.c38 clamp_int64(int64_t x, int64_t min, int64_t max) in clamp_int64() function
74 .ScissorRectangleYMin = clamp_int64(s->offset.y, 0, max), in gen7_cmd_buffer_emit_scissor()
75 .ScissorRectangleXMin = clamp_int64(s->offset.x, 0, max), in gen7_cmd_buffer_emit_scissor()
76 .ScissorRectangleYMax = clamp_int64((uint64_t) s->offset.y + s->extent.height - 1, 0, max), in gen7_cmd_buffer_emit_scissor()
77 .ScissorRectangleXMax = clamp_int64((uint64_t) s->offset.x + s->extent.width - 1, 0, max) in gen7_cmd_buffer_emit_scissor()