summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/intel/intel_span.c
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-10-11 14:22:45 -0700
committerEric Anholt <[email protected]>2011-11-01 15:42:17 -0700
commit92054cd94e2188c9f4d56ddf9377c5aeb8a4e64e (patch)
tree5d8e3e547842fc44bed8b5cf48e965c3a6fcd40a /src/mesa/drivers/dri/intel/intel_span.c
parent6b341662b3bbde7e86b3b9184266412da1b27977 (diff)
intel: Add an implementation of MapRenderbuffer.
v2: Add separate stencil S8 W-tile swizzling/deswizzling. Tested for the swizzling case with env INTEL_SEPARATE_STENCIL=1 INTEL_HIZ=1 ./bin/hiz-depth-stencil-test-fbo-d24-s8 v3: Apply Chad's fix for S8 window system buffers. Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_span.c')
-rw-r--r--src/mesa/drivers/dri/intel/intel_span.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_span.c b/src/mesa/drivers/dri/intel/intel_span.c
index bdc4a0e158c..2819acb443b 100644
--- a/src/mesa/drivers/dri/intel/intel_span.c
+++ b/src/mesa/drivers/dri/intel/intel_span.c
@@ -165,7 +165,7 @@ intel_set_span_functions(struct intel_context *intel,
* commit e8b1c6d6f55f5be3bef25084fdd8b6127517e137
* mesa: Fix return type of _mesa_get_format_bytes() (#37351)
*/
-static inline intptr_t
+intptr_t
intel_offset_S8(uint32_t stride, uint32_t x, uint32_t y)
{
uint32_t tile_size = 4096;