amd/addrlib: use correct variable name in header
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Sat, 8 Apr 2017 06:36:36 +0000 (08:36 +0200)
committerEdward O'Callaghan <funfunctor@folklore1984.net>
Mon, 10 Apr 2017 02:44:59 +0000 (12:44 +1000)
Since the inclusion in 7f160efcde41b52ad78e562316384373dab419e3
the header used x_biased, while the implementation used y_biased.
This changes the header to macth the implementation since the
uses of the function seems to expect y_biased.
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/amd/addrlib/gfx9/rbmap.h

index f2f2ca8d2da89699aeb0d7a00d651b312ced3559..89c8922d3fedd84322e4b5eac10c6973abba2f0e 100644 (file)
@@ -49,7 +49,7 @@ public:
 
     void Get_Comp_Block_Screen_Space( CoordEq& addr, int bytes_log2, int* w, int* h, int* d = NULL);
 
-    void Get_Meta_Block_Screen_Space( int num_comp_blocks_log2, bool is_thick, bool x_biased,
+    void Get_Meta_Block_Screen_Space( int num_comp_blocks_log2, bool is_thick, bool y_biased,
                                       int comp_block_width_log2, int comp_block_height_log2, int comp_block_depth_log2,
                                       int& meta_block_width_log2, int& meta_block_height_log2, int& meta_block_depth_log2 );
     void cap_pipe( int xmode, bool is_thick, int& num_ses_log2, int bpp_log2, int num_samples_log2, int pipe_interleave_log2,