mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 00:10:10 +01:00
llvmpipe: Remove loop testing from format testing.
Loop building will be rewritten.
This commit is contained in:
parent
10981c0a76
commit
eb2e41f0c6
1 changed files with 0 additions and 6 deletions
|
|
@ -37,7 +37,6 @@
|
||||||
|
|
||||||
#include "util/u_format.h"
|
#include "util/u_format.h"
|
||||||
|
|
||||||
#include "lp_bld_flow.h"
|
|
||||||
#include "lp_bld_format.h"
|
#include "lp_bld_format.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -103,7 +102,6 @@ add_load_rgba_test(LLVMModuleRef module,
|
||||||
LLVMBasicBlockRef block;
|
LLVMBasicBlockRef block;
|
||||||
LLVMBuilderRef builder;
|
LLVMBuilderRef builder;
|
||||||
LLVMValueRef rgba;
|
LLVMValueRef rgba;
|
||||||
struct lp_build_loop_state loop;
|
|
||||||
|
|
||||||
args[0] = LLVMPointerType(LLVMInt8Type(), 0);
|
args[0] = LLVMPointerType(LLVMInt8Type(), 0);
|
||||||
args[1] = LLVMPointerType(LLVMVectorType(LLVMFloatType(), 4), 0);
|
args[1] = LLVMPointerType(LLVMVectorType(LLVMFloatType(), 4), 0);
|
||||||
|
|
@ -117,13 +115,9 @@ add_load_rgba_test(LLVMModuleRef module,
|
||||||
builder = LLVMCreateBuilder();
|
builder = LLVMCreateBuilder();
|
||||||
LLVMPositionBuilderAtEnd(builder, block);
|
LLVMPositionBuilderAtEnd(builder, block);
|
||||||
|
|
||||||
lp_build_loop_begin(builder, LLVMConstInt(LLVMInt32Type(), 1, 0), &loop);
|
|
||||||
|
|
||||||
rgba = lp_build_load_rgba_aos(builder, format, ptr);
|
rgba = lp_build_load_rgba_aos(builder, format, ptr);
|
||||||
LLVMBuildStore(builder, rgba, rgba_ptr);
|
LLVMBuildStore(builder, rgba, rgba_ptr);
|
||||||
|
|
||||||
lp_build_loop_end(builder, LLVMConstInt(LLVMInt32Type(), 4, 0), NULL, &loop);
|
|
||||||
|
|
||||||
LLVMBuildRetVoid(builder);
|
LLVMBuildRetVoid(builder);
|
||||||
|
|
||||||
LLVMDisposeBuilder(builder);
|
LLVMDisposeBuilder(builder);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue