Mesa (master): llvmpipe: Remove loop testing from format testing.
Jose Fonseca
jrfonseca at kemper.freedesktop.org
Sun Oct 4 21:03:45 UTC 2009
Module: Mesa
Branch: master
Commit: eb2e41f0c636eb77634ec7ada93b869a43f11e9f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=eb2e41f0c636eb77634ec7ada93b869a43f11e9f
Author: José Fonseca <jfonseca at vmware.com>
Date: Sun Oct 4 11:36:42 2009 +0100
llvmpipe: Remove loop testing from format testing.
Loop building will be rewritten.
---
src/gallium/drivers/llvmpipe/lp_test_format.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/src/gallium/drivers/llvmpipe/lp_test_format.c b/src/gallium/drivers/llvmpipe/lp_test_format.c
index 7d83f89..ab80c01 100644
--- a/src/gallium/drivers/llvmpipe/lp_test_format.c
+++ b/src/gallium/drivers/llvmpipe/lp_test_format.c
@@ -37,7 +37,6 @@
#include "util/u_format.h"
-#include "lp_bld_flow.h"
#include "lp_bld_format.h"
@@ -103,7 +102,6 @@ add_load_rgba_test(LLVMModuleRef module,
LLVMBasicBlockRef block;
LLVMBuilderRef builder;
LLVMValueRef rgba;
- struct lp_build_loop_state loop;
args[0] = LLVMPointerType(LLVMInt8Type(), 0);
args[1] = LLVMPointerType(LLVMVectorType(LLVMFloatType(), 4), 0);
@@ -117,13 +115,9 @@ add_load_rgba_test(LLVMModuleRef module,
builder = LLVMCreateBuilder();
LLVMPositionBuilderAtEnd(builder, block);
- lp_build_loop_begin(builder, LLVMConstInt(LLVMInt32Type(), 1, 0), &loop);
-
rgba = lp_build_load_rgba_aos(builder, format, ptr);
LLVMBuildStore(builder, rgba, rgba_ptr);
- lp_build_loop_end(builder, LLVMConstInt(LLVMInt32Type(), 4, 0), NULL, &loop);
-
LLVMBuildRetVoid(builder);
LLVMDisposeBuilder(builder);
More information about the mesa-commit
mailing list