freedreno: Fix a couple of warnings

Signed-off-by: Kristian H. Kristensen <hoegsberg@chromium.org>
This commit is contained in:
Kristian H. Kristensen 2019-02-25 22:14:53 -08:00
parent a5a19d1bc8
commit 87c2e8cbc9
2 changed files with 2 additions and 2 deletions

View File

@ -248,7 +248,7 @@ struct ir3_instruction {
int src_offset;
int dst_offset;
int iim_val : 3; /* for ldgb/stgb, # of components */
int d : 3;
unsigned d : 3;
bool typed : 1;
} cat6;
struct {

View File

@ -79,7 +79,7 @@ emit_shader(struct fd_ringbuffer *ring, const struct ir3_shader_variant *so)
{
const struct ir3_info *si = &so->info;
enum a4xx_state_block sb = fd4_stage2shadersb(so->type);
enum adreno_state_src src;
enum a4xx_state_src src;
uint32_t i, sz, *bin;
if (fd_mesa_debug & FD_DBG_DIRECT) {