summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texfetch.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-06-20 03:07:16 +0200
committerMarek Olšák <[email protected]>2011-07-10 21:41:16 +0200
commit4843c7b24af7408329d33ab16bb946b17244a5f8 (patch)
tree76677de4a399d0c3a74e03a6644774570fc63a6f /src/mesa/main/texfetch.c
parent1165280cbd37dee1e499358633478ab869de21df (diff)
mesa: implement texfetch functions for depth_buffer_float
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/texfetch.c')
-rw-r--r--src/mesa/main/texfetch.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mesa/main/texfetch.c b/src/mesa/main/texfetch.c
index 4b85bc32a92..72283eb68af 100644
--- a/src/mesa/main/texfetch.c
+++ b/src/mesa/main/texfetch.c
@@ -916,17 +916,17 @@ texfetch_funcs[MESA_FORMAT_COUNT] =
},
{
MESA_FORMAT_Z32_FLOAT,
- NULL, /* XXX */
- NULL,
- NULL,
- NULL
+ fetch_texel_1d_f_r_f32, /* Reuse the R32F functions. */
+ fetch_texel_2d_f_r_f32,
+ fetch_texel_3d_f_r_f32,
+ store_texel_r_f32
},
{
MESA_FORMAT_Z32_FLOAT_X24S8,
- NULL, /* XXX */
- NULL,
- NULL,
- NULL
+ fetch_texel_1d_z32f_x24s8,
+ fetch_texel_2d_z32f_x24s8,
+ fetch_texel_3d_z32f_x24s8,
+ store_texel_z32f_x24s8
}
};