search for: one_float

Displaying 7 results from an estimated 7 matches for "one_float".

2016 Feb 15
1
[PATCH 09/23] nv50-: separate vertex formats from surface format descriptions
...C0, C1, xx, xx, FLOAT, 32_32, IBV), > F2A(R32G32_UNORM, NONE, C0, C1, xx, xx, UNORM, 32_32, TV), > F2A(R32G32_SNORM, NONE, C0, C1, xx, xx, SNORM, 32_32, TV), > @@ -381,64 +381,191 @@ const struct nv50_format > nv50_format_table[PIPE_FORMAT_COUNT] = > C0, C1, C2, ONE_FLOAT, SNORM, SNORM, UNORM, UNORM, 8_8_8_8, > T), > TBLENT_B_(R5SG5SB6U_NORM, 0, > C0, C1, C2, ONE_FLOAT, SNORM, SNORM, UNORM, UNORM, 5_5_6, T), > +}; > > - /* vertex-only formats: */ > +#define V_TBLENT_A_(pf, sf, r, g, b, a, t0, t1, t2, t3, sz, u, br) \ &gt...
2016 Feb 15
0
[PATCH 09/23] nv50-: separate vertex formats from surface format descriptions
...32G32_FLOAT, RG32_FLOAT, C0, C1, xx, xx, FLOAT, 32_32, IBV), F2A(R32G32_UNORM, NONE, C0, C1, xx, xx, UNORM, 32_32, TV), F2A(R32G32_SNORM, NONE, C0, C1, xx, xx, SNORM, 32_32, TV), @@ -381,64 +381,191 @@ const struct nv50_format nv50_format_table[PIPE_FORMAT_COUNT] = C0, C1, C2, ONE_FLOAT, SNORM, SNORM, UNORM, UNORM, 8_8_8_8, T), TBLENT_B_(R5SG5SB6U_NORM, 0, C0, C1, C2, ONE_FLOAT, SNORM, SNORM, UNORM, UNORM, 5_5_6, T), +}; - /* vertex-only formats: */ +#define V_TBLENT_A_(pf, sf, r, g, b, a, t0, t1, t2, t3, sz, u, br) \ + [PIPE_FORMAT_##pf] = {...
2016 May 17
3
External function resolution: MCJIT vs ORC JIT
...T Compilelayer (Objlayer, llvm::orc::SimpleCompiler(*TM)); std::unique_ptr<llvm::Module> M (new llvm::Module("module", Context)); M->setDataLayout (*DL); // Declare stub for external function sqr auto type_float = llvm::Type::getFloatTy (Context); llvm::Type* one_float[] = { type_float }; llvm::FunctionType *functype_ff = llvm::FunctionType::get (type_float, one_float, false); llvm::Function::Create (functype_ff, llvm::Function::ExternalLinkage, "sqr", M.get()); // Create myfunc and generate its IR, which just ca...
2016 Feb 15
24
[PATCH 01/23] nv50: import updated g80_defs.xml.h from rnndb
...AUSED 0x00000007 +#define G80_TIC_SOURCE_ZERO 0x00000000 +#define G80_TIC_SOURCE_R 0x00000002 +#define G80_TIC_SOURCE_G 0x00000003 +#define G80_TIC_SOURCE_B 0x00000004 +#define G80_TIC_SOURCE_A 0x00000005 +#define G80_TIC_SOURCE_ONE_INT 0x00000006 +#define G80_TIC_SOURCE_ONE_FLOAT 0x00000007 +#define G80_TIC_TYPE_SNORM 0x00000001 +#define G80_TIC_TYPE_UNORM 0x00000002 +#define G80_TIC_TYPE_SINT 0x00000003 +#define G80_TIC_TYPE_UINT 0x00000004 +#define G80_TIC_TYPE_SNORM_FORCE_FP16 0x00000005 +#define G80_TIC_TYPE_UNORM_FORCE_FP16 0x00000006 +#define...
2016 May 19
2
External function resolution: MCJIT vs ORC JIT
...::orc::SimpleCompiler(*TM)); > std::unique_ptr<llvm::Module> M (new llvm::Module("module", Context)); > M->setDataLayout (*DL); > > // Declare stub for external function sqr > auto type_float = llvm::Type::getFloatTy (Context); > llvm::Type* one_float[] = { type_float }; > llvm::FunctionType *functype_ff = llvm::FunctionType::get (type_float, one_float, false); > llvm::Function::Create (functype_ff, llvm::Function::ExternalLinkage, > "sqr", M.get()); > > // Create myfunc and gener...
2016 May 20
0
External function resolution: MCJIT vs ORC JIT
...TM)); >> std::unique_ptr<llvm::Module> M (new llvm::Module("module", Context)); >> M->setDataLayout (*DL); >> >> // Declare stub for external function sqr >> auto type_float = llvm::Type::getFloatTy (Context); >> llvm::Type* one_float[] = { type_float }; >> llvm::FunctionType *functype_ff = llvm::FunctionType::get >> (type_float, one_float, false); >> llvm::Function::Create (functype_ff, llvm::Function::ExternalLinkage, >> "sqr", M.get()); >> >>...
2016 May 22
1
External function resolution: MCJIT vs ORC JIT
...M)); >> std::unique_ptr<llvm::Module> M (new llvm::Module("module", Context)); >> M->setDataLayout (*DL); >> >> // Declare stub for external function sqr >> auto type_float = llvm::Type::getFloatTy (Context); >> llvm::Type* one_float[] = { type_float }; >> llvm::FunctionType *functype_ff = llvm::FunctionType::get (type_float, one_float, false); >> llvm::Function::Create (functype_ff, llvm::Function::ExternalLinkage, >> "sqr", M.get()); >> >> // Cre...