shader: vrend_shader.c linting

Signed-off-by: Ryan Neph <ryanneph@google.com>
Reviewed-by: Gert Wollny <gert.wollny@collabora.com>
macos/master
Ryan Neph 4 years ago
parent bb89187351
commit 87c80a4bea
  1. 9
      src/vrend_shader.c

@ -932,7 +932,8 @@ static bool logiop_require_inout(const struct vrend_shader_key *key)
static enum vec_type get_type(uint32_t signed_int_mask,
uint32_t unsigned_int_mask,
int bit) {
int bit)
{
if (signed_int_mask & (1 << bit))
return VEC_INT;
else if (unsigned_int_mask & (1 << bit))
@ -1708,8 +1709,7 @@ iter_property(struct tgsi_iterate_context *iter,
}
static boolean
iter_immediate(
struct tgsi_iterate_context *iter,
iter_immediate(struct tgsi_iterate_context *iter,
struct tgsi_full_immediate *imm)
{
struct dump_ctx *ctx = (struct dump_ctx *) iter;
@ -5314,7 +5314,8 @@ iter_instruction(struct tgsi_iterate_context *iter,
return false;
srcs[1] = ctx->src_bufs[1].buf;
}
translate_store(ctx, &ctx->glsl_strbufs, ctx->ssbo_memory_qualifier, inst, &sinfo, srcs, dsts[0]);
translate_store(ctx, &ctx->glsl_strbufs, ctx->ssbo_memory_qualifier,
inst, &sinfo, srcs, dsts[0]);
break;
case TGSI_OPCODE_LOAD:
if (ctx->cfg->use_gles) {

Loading…
Cancel
Save