i965: Fix signedness of backend_reg::reg_offset.
authorFrancisco Jerez <currojerez@riseup.net>
Thu, 19 Mar 2015 14:03:57 +0000 (16:03 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 23 Mar 2015 12:09:32 +0000 (14:09 +0200)
And make it 16-bit so it packs nicely with the previous field.

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_shader.h

index f8cc98afd911c1a416535b059eec42f4809a2485..944a8701aa30632da83a4812a46a00f2153e43af 100644 (file)
@@ -77,7 +77,7 @@ struct backend_reg
     *
     * For uniforms, this is in units of 1 float.
     */
-   int reg_offset;
+   uint16_t reg_offset;
 
    struct brw_reg fixed_hw_reg;