diff options
author | Brian Paul <[email protected]> | 2018-02-22 14:43:41 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2018-03-02 12:23:50 -0700 |
commit | 35c5cf895920a24062af73d108d20110c2057305 (patch) | |
tree | afb0095bf61009c8e5f480cc2be17b41e3d0aff1 | |
parent | e23192022a2cde122a6ccc70e5495fda009bee12 (diff) |
svga: s/unsigned/boolean/ for a few local vars
Reviewed-by: Charmaine Lee <[email protected]>
-rw-r--r-- | src/gallium/drivers/svga/svga_tgsi_vgpu10.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/svga/svga_tgsi_vgpu10.c b/src/gallium/drivers/svga/svga_tgsi_vgpu10.c index 6b8337ccfdf..b9b3d4fb3fa 100644 --- a/src/gallium/drivers/svga/svga_tgsi_vgpu10.c +++ b/src/gallium/drivers/svga/svga_tgsi_vgpu10.c @@ -856,9 +856,9 @@ emit_dst_register(struct svga_shader_emitter_v10 *emit, const enum tgsi_semantic sem_name = emit->info.output_semantic_name[index]; const unsigned sem_index = emit->info.output_semantic_index[index]; unsigned writemask = reg->Register.WriteMask; - const unsigned indirect = reg->Register.Indirect; + const boolean indirect = reg->Register.Indirect; const unsigned tempArrayId = get_temp_array_id(emit, file, index); - const unsigned index2d = reg->Register.Dimension; + const boolean index2d = reg->Register.Dimension; VGPU10OperandToken0 operand0; if (file == TGSI_FILE_OUTPUT) { @@ -971,15 +971,15 @@ emit_src_register(struct svga_shader_emitter_v10 *emit, { enum tgsi_file_type file = reg->Register.File; unsigned index = reg->Register.Index; - const unsigned indirect = reg->Register.Indirect; + const boolean indirect = reg->Register.Indirect; const unsigned tempArrayId = get_temp_array_id(emit, file, index); - const unsigned index2d = reg->Register.Dimension; + const boolean index2d = reg->Register.Dimension; const unsigned swizzleX = reg->Register.SwizzleX; const unsigned swizzleY = reg->Register.SwizzleY; const unsigned swizzleZ = reg->Register.SwizzleZ; const unsigned swizzleW = reg->Register.SwizzleW; - const unsigned absolute = reg->Register.Absolute; - const unsigned negate = reg->Register.Negate; + const boolean absolute = reg->Register.Absolute; + const boolean negate = reg->Register.Negate; bool is_prim_id = FALSE; VGPU10OperandToken0 operand0; |