Commit 97058e38 authored by Ville Syrjälä's avatar Ville Syrjälä

uxa: Get rid of -Wno-shift-negative-value

The minimum CS URB entry size is 1. Let's use that
instead of 0 so that we don't end up left shifting
a -1.
Signed-off-by: Ville Syrjälä's avatarVille Syrjälä <ville.syrjala@linux.intel.com>
parent e95e9d41
......@@ -277,7 +277,7 @@ i965_check_composite_texture(ScreenPtr screen, PicturePtr picture)
/* Set up a default static partitioning of the URB, which is supposed to
* allow anything we would want to do, at potentially lower performance.
*/
#define URB_CS_ENTRY_SIZE 0
#define URB_CS_ENTRY_SIZE 1
#define URB_CS_ENTRIES 0
#define URB_VS_ENTRY_SIZE 1 // each 512-bit row
......
......@@ -378,7 +378,7 @@ static void i965_post_draw_debug(ScrnInfoPtr scrn)
#define URB_SF_ENTRY_SIZE 2
#define URB_CS_ENTRIES 0
#define URB_CS_ENTRY_SIZE 0
#define URB_CS_ENTRY_SIZE 1
static void i965_create_dst_surface_state(ScrnInfoPtr scrn,
PixmapPtr pixmap,
......
......@@ -58,7 +58,6 @@ uxa = static_library('uxa',
include_directories : inc,
c_args : [
'-Wno-deprecated-declarations',
'-Wno-shift-negative-value',
'-Wno-unused-parameter',
'-Wno-sign-compare',
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment