<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>For the series,</p>
<p><br>
</p>
<p>Reviewed-by: Neha Bhende <bhenden@vmware.com></p>
<p><br>
</p>
<div id="x_Signature">
<div id="x_divtagdefaultwrapper" style="font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255); font-family:Calibri,Arial,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p>Regards,</p>
<p>Neha<br>
</p>
</div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Brian Paul <brianp@vmware.com><br>
<b>Sent:</b> Monday, July 10, 2017 2:50:25 PM<br>
<b>To:</b> mesa-dev@lists.freedesktop.org<br>
<b>Cc:</b> Charmaine Lee; Neha Bhende<br>
<b>Subject:</b> [PATCH 5/5] svga: s/unsigned/enum tgsi_texture_type/</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">---<br>
src/gallium/drivers/svga/svga_tgsi_vgpu10.c | 7 ++++---<br>
1 file changed, 4 insertions(+), 3 deletions(-)<br>
<br>
diff --git a/src/gallium/drivers/svga/svga_tgsi_vgpu10.c b/src/gallium/drivers/svga/svga_tgsi_vgpu10.c<br>
index bbaad20..d29ac28 100644<br>
--- a/src/gallium/drivers/svga/svga_tgsi_vgpu10.c<br>
+++ b/src/gallium/drivers/svga/svga_tgsi_vgpu10.c<br>
@@ -2955,7 +2955,8 @@ emit_sampler_declarations(struct svga_shader_emitter_v10 *emit)<br>
* Translate TGSI_TEXTURE_x to VGAPU10_RESOURCE_DIMENSION_x.<br>
*/<br>
static unsigned<br>
-tgsi_texture_to_resource_dimension(unsigned target, boolean is_array)<br>
+tgsi_texture_to_resource_dimension(enum tgsi_texture_type target,<br>
+ boolean is_array)<br>
{<br>
switch (target) {<br>
case TGSI_TEXTURE_BUFFER:<br>
@@ -4867,7 +4868,7 @@ setup_texcoord(struct svga_shader_emitter_v10 *emit,<br>
*/<br>
static void<br>
emit_tex_compare_refcoord(struct svga_shader_emitter_v10 *emit,<br>
- unsigned target,<br>
+ enum tgsi_texture_type target,<br>
const struct tgsi_full_src_register *coord)<br>
{<br>
struct tgsi_full_src_register coord_src_ref;<br>
@@ -4901,7 +4902,7 @@ struct tex_swizzle_info<br>
boolean swizzled;<br>
boolean shadow_compare;<br>
unsigned unit;<br>
- unsigned texture_target; /**< TGSI_TEXTURE_x */<br>
+ enum tgsi_texture_type texture_target; /**< TGSI_TEXTURE_x */<br>
struct tgsi_full_src_register tmp_src;<br>
struct tgsi_full_dst_register tmp_dst;<br>
const struct tgsi_full_dst_register *inst_dst;<br>
-- <br>
1.9.1<br>
<br>
</div>
</span></font>
</body>
</html>