mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
anv: Move clamp_int64() inside the IVB check
It's only used in the gen7_cmd_buffer_emit_scissor() function. Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
ee2f7aa03b
commit
76f36607b0
1 changed files with 1 additions and 1 deletions
|
|
@ -33,6 +33,7 @@
|
|||
#include "genxml/gen_macros.h"
|
||||
#include "genxml/genX_pack.h"
|
||||
|
||||
#if GEN_GEN == 7 && !GEN_IS_HASWELL
|
||||
static inline int64_t
|
||||
clamp_int64(int64_t x, int64_t min, int64_t max)
|
||||
{
|
||||
|
|
@ -44,7 +45,6 @@ clamp_int64(int64_t x, int64_t min, int64_t max)
|
|||
return max;
|
||||
}
|
||||
|
||||
#if GEN_GEN == 7 && !GEN_IS_HASWELL
|
||||
void
|
||||
gen7_cmd_buffer_emit_scissor(struct anv_cmd_buffer *cmd_buffer)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue