From bd4250bce0b0df736f41dbfca4b5a902d7cdaf37 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Fri, 3 Jun 2011 20:09:15 -0400 Subject: load material/surface index lookup arrays to the gpu and bind them to textures. also, forgot to include the gpu code for material/surface structures --- src/kernel.cu | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/kernel.cu') diff --git a/src/kernel.cu b/src/kernel.cu index c56bbe7..4d85f6e 100644 --- a/src/kernel.cu +++ b/src/kernel.cu @@ -14,6 +14,12 @@ texture vertices; texture triangles; +/* material/surface index lookup for each triangle */ +texture material1_index; +texture material2_index; +texture surface1_index; +texture surface2_index; + /* lower/upper bounds for the bounding box associated with each node/leaf */ texture upper_bounds; texture lower_bounds; -- cgit