IOQUAKE 3 Raytracing Patch (Released)
IOQUAKE 3 Raytracing Patch (Released)
hello in the first Nice Forum
and now back to topic...
Yes there was an Released Raytracing Patch based on Ioquake 3 but many dont know it... so ive make this thread when there was new news about this Patch ive updated this Post
News :
1.4.08- Mac-compatible Raytracing Patch Released
1.4.08- Stephan reiter wrote: "Now I call this mission accomplished! :-)
Now I got to prepare a talk I will hold in two weeks and get busy writing my thesis. I'm also considering to submit a poster proposal to this years symposium on interactive raytracing"
So, its quite possible that this is the last version of the Raytracing patch...
Download Link :
http://ioquake3.org/files/rtpatch1270.zip
Screenshots:
Ioquake 3 Raytraced: http://picasaweb.google.at/stephan.reit ... 3Raytraced
Elite force Raytraced: http://picasaweb.google.at/stephan.reit ... eRaytraced
Videos:
Elite Force Raytraced:
http://thilo.tjps.eu/download/raytracing2.avi
Changelog :
--------------1.4.08 New Raytracing Patch-----------------
Rapdio 0.7:
- Restructured code, respects C++ RAII idiom and separates scene management from the
acceleration structure through templates (next version will feature BIH and Grid as
replacements for the BVH, BIH should yield better results in the ioquake3 environment).
- Rewritten kd-tree builder, does not depend on openmp to utilize all cores (although
openmp allows speeding up some parts of the process)
rt-ioquake3:
- Runtime code generation for shaders using the LLVM: this is blazingly fast and does
not require GCC to be installed anymore!
- SIMD code is not generated yet, expect lower performance due to use of scalar code
only.
- Support for reflections in Elite Force has been removed. We should think about adding
new keywords to the Q3 shader language for raytraced effects.
About Compilie this Patch:
- Code is based on revision 1270.
- Rapido is not built with the ioquake3 makefile - build it manually in code/rapido
- Get the latest version of the LLVM from their Subversion repository, svn co http://llvm.org/svn/llvm-project/llvm/trunk
llvm
- Lightmaps are not sampled yet.
Credits:
Sthephan Reiter
and now back to topic...
Yes there was an Released Raytracing Patch based on Ioquake 3 but many dont know it... so ive make this thread when there was new news about this Patch ive updated this Post
News :
1.4.08- Mac-compatible Raytracing Patch Released
1.4.08- Stephan reiter wrote: "Now I call this mission accomplished! :-)
Now I got to prepare a talk I will hold in two weeks and get busy writing my thesis. I'm also considering to submit a poster proposal to this years symposium on interactive raytracing"
So, its quite possible that this is the last version of the Raytracing patch...
Download Link :
http://ioquake3.org/files/rtpatch1270.zip
Screenshots:
Ioquake 3 Raytraced: http://picasaweb.google.at/stephan.reit ... 3Raytraced
Elite force Raytraced: http://picasaweb.google.at/stephan.reit ... eRaytraced
Videos:
Elite Force Raytraced:
http://thilo.tjps.eu/download/raytracing2.avi
Changelog :
--------------1.4.08 New Raytracing Patch-----------------
Rapdio 0.7:
- Restructured code, respects C++ RAII idiom and separates scene management from the
acceleration structure through templates (next version will feature BIH and Grid as
replacements for the BVH, BIH should yield better results in the ioquake3 environment).
- Rewritten kd-tree builder, does not depend on openmp to utilize all cores (although
openmp allows speeding up some parts of the process)
rt-ioquake3:
- Runtime code generation for shaders using the LLVM: this is blazingly fast and does
not require GCC to be installed anymore!
- SIMD code is not generated yet, expect lower performance due to use of scalar code
only.
- Support for reflections in Elite Force has been removed. We should think about adding
new keywords to the Q3 shader language for raytraced effects.
About Compilie this Patch:
- Code is based on revision 1270.
- Rapido is not built with the ioquake3 makefile - build it manually in code/rapido
- Get the latest version of the LLVM from their Subversion repository, svn co http://llvm.org/svn/llvm-project/llvm/trunk
llvm
- Lightmaps are not sampled yet.
Credits:
Sthephan Reiter
Re: IOQUAKE 3 Raytracing Patch (Released)
Maybe I'm dense but...
Is there any benefit to be raytraced?
Does it have the potential to expand the existing fun factor or just consume much more hardware resource?
Is there any benefit to be raytraced?
Does it have the potential to expand the existing fun factor or just consume much more hardware resource?
Re: IOQUAKE 3 Raytracing Patch (Released)
Raytraced? I'm not seeing it. I see real-time reflections (which look great), but nothing actually raytraced.
Re: IOQUAKE 3 Raytracing Patch (Released)
And I've used ray-tracing programs back in the early days. Eggshooters vid was ray-traced.obsidian wrote:Raytraced? I'm not seeing it. I see real-time reflections (which look great), but nothing actually raytraced.
Re: IOQUAKE 3 Raytracing Patch (Released)
so how do i get this to work
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: IOQUAKE 3 Raytracing Patch (Released)
You have to first patch and then build the ioquake3 source.
There hasn't been a release so far and there may never be one - Stephan Reiter wrote it for his thesis - but this will undoubtedly show up in one of the ioquake3 spinoffs.
There hasn't been a release so far and there may never be one - Stephan Reiter wrote it for his thesis - but this will undoubtedly show up in one of the ioquake3 spinoffs.
Re: IOQUAKE 3 Raytracing Patch (Released)
@MKJ you get it to work
So im a noob in this thing..
Can you please upload the compiled version... or some other person who get it to work?
thank you very much
So im a noob in this thing..
Can you please upload the compiled version... or some other person who get it to work?
thank you very much
Re: IOQUAKE 3 Raytracing Patch (Released)
i havent tried it sir. i was referring to one of the screenshots posted
Re: IOQUAKE 3 Raytracing Patch (Released)
can someone compile it?
I want to test it out but i dont have some c++ experience or something like that -.-
I want to test it out but i dont have some c++ experience or something like that -.-
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: IOQUAKE 3 Raytracing Patch (Released)
Post your request to the ioquake3 mailing list, the kind souls there will quite likely put up a Windows build for you somewhere.
http://ioquake3.org/discussion/
http://ioquake3.org/discussion/
-
- Posts: 13
- Joined: Fri Nov 16, 2007 12:30 am
Re: IOQUAKE 3 Raytracing Patch (Released)
Compiling under Ubuntu 8.04 64-bit, I get the following error:
Then a ridiculously long string of errors caused from that.
For some reason my LLVM install doesn't come with LLVMBuild.h. My install is from the svn source, not the Ubuntu packages.
Code: Select all
code/renderer/tr_rtshaders.cpp:236:38: warning: llvm/Support/LLVMBuilder.h: No such file or directory
For some reason my LLVM install doesn't come with LLVMBuild.h. My install is from the svn source, not the Ubuntu packages.
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: IOQUAKE 3 Raytracing Patch (Released)
You could try the llvm-dev package from Debian sid: http://packages.debian.org/sid/llvm-dev
-
- Posts: 13
- Joined: Fri Nov 16, 2007 12:30 am
Re: IOQUAKE 3 Raytracing Patch (Released)
Code: Select all
In file included from src/renderer/tr_rtshaders.cpp:236:
/usr/local/include/llvm/User.h: In member function ‘llvm::ReturnInst* llvm::LLVMBuilder::CreateRetVoid()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:90: error: within this context
/usr/local/include/llvm/Instructions.h:1519: error: ‘llvm::ReturnInst::ReturnInst(llvm::Value*, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:90: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::ReturnInst* llvm::LLVMBuilder::CreateRet(llvm::Value*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:97: error: within this context
/usr/local/include/llvm/Instructions.h:1519: error: ‘llvm::ReturnInst::ReturnInst(llvm::Value*, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:97: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::BranchInst* llvm::LLVMBuilder::CreateBr(llvm::BasicBlock*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:102: error: within this context
/usr/local/include/llvm/Instructions.h:1596: error: ‘llvm::BranchInst::BranchInst(llvm::BasicBlock*, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:102: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::BranchInst* llvm::LLVMBuilder::CreateCondBr(llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:108: error: within this context
/usr/local/include/llvm/Instructions.h:1598: error: ‘llvm::BranchInst::BranchInst(llvm::BasicBlock*, llvm::BasicBlock*, llvm::Value*, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:108: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::SwitchInst* llvm::LLVMBuilder::CreateSwitch(llvm::Value*, llvm::BasicBlock*, unsigned int)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:115: error: within this context
/usr/local/include/llvm/Instructions.h:1702: error: ‘llvm::SwitchInst::SwitchInst(llvm::Value*, llvm::BasicBlock*, unsigned int, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:115: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::GetElementPtrInst* llvm::LLVMBuilder::CreateGEP(llvm::Value*, llvm::Value*, const char*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:227: error: within this context
/usr/local/include/llvm/Instructions.h:478: error: ‘llvm::GetElementPtrInst::GetElementPtrInst(llvm::Value*, llvm::Value*, const std::string&, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:227: error: within this context
/usr/local/include/llvm/Instructions.h: In member function ‘llvm::PHINode* llvm::LLVMBuilder::CreatePHI(const llvm::Type*, const char*)’:
/usr/local/include/llvm/Instructions.h:1363: error: ‘static void* llvm::PHINode::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:379: error: within this context
/usr/local/include/llvm/Instructions.h:1367: error: ‘llvm::PHINode::PHINode(const llvm::Type*, const std::string&, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:379: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::CallInst* llvm::LLVMBuilder::CreateCall(llvm::Value*, const char*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:383: error: within this context
/usr/local/include/llvm/Instructions.h:934: error: ‘llvm::CallInst::CallInst(llvm::Value*, const std::string&, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:383: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::CallInst* llvm::LLVMBuilder::CreateCall(llvm::Value*, llvm::Value*, const char*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:386: error: within this context
/usr/local/include/llvm/Instructions.h:930: error: ‘llvm::CallInst::CallInst(llvm::Value*, llvm::Value*, const std::string&, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:386: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::SelectInst* llvm::LLVMBuilder::CreateSelect(llvm::Value*, llvm::Value*, llvm::Value*, const char*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:397: error: within this context
/usr/local/include/llvm/Instructions.h:1069: error: ‘llvm::SelectInst::SelectInst(llvm::Value*, llvm::Value*, llvm::Value*, const std::string&, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:397: error: within this context
/usr/local/include/llvm/User.h: In member function ‘llvm::InsertElementInst* llvm::LLVMBuilder::CreateInsertElement(llvm::Value*, llvm::Value*, llvm::Value*, const char*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:411: error: within this context
/usr/local/include/llvm/Instructions.h:1222: error: ‘llvm::InsertElementInst::InsertElementInst(llvm::Value*, llvm::Value*, llvm::Value*, const std::string&, llvm::Instruction*)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:411: error: within this context
In file included from src/renderer/tr_rtshaders.cpp:285:
src/renderer/codegen/floats.h: In member function ‘llvm::Value* Float2::Field::address()’:
src/renderer/codegen/floats.h:98: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h: In constructor ‘Float2::Float2(llvm::Value*)’:
src/renderer/codegen/floats.h:118: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h:118: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h: In member function ‘llvm::Value* Float3::Field::address()’:
src/renderer/codegen/floats.h:207: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h: In constructor ‘Float3::Float3(llvm::Value*)’:
src/renderer/codegen/floats.h:227: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h:227: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h:228: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h: In member function ‘llvm::Value* Float4::Field::address()’:
src/renderer/codegen/floats.h:318: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h: In constructor ‘Float4::Float4(llvm::Value*)’:
src/renderer/codegen/floats.h:338: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h:338: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h:339: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/codegen/floats.h:339: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
/usr/local/include/llvm/User.h: In function ‘llvm::Function* ShaderGlobals::internal::CreateSampleTexture()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:395: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:395: error: within this context
/usr/local/include/llvm/User.h: In function ‘llvm::Function* ShaderGlobals::internal::CreateSampleAnimatedTexture()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:407: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:407: error: within this context
/usr/local/include/llvm/User.h: In function ‘llvm::Function* ShaderGlobals::internal::CreateSampleSkyBox()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:418: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:418: error: within this context
/usr/local/include/llvm/User.h: In function ‘llvm::Function* ShaderGlobals::internal::CreateSine()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:426: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:426: error: within this context
/usr/local/include/llvm/User.h: In function ‘llvm::Function* ShaderGlobals::internal::CreateCosine()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:434: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:434: error: within this context
/usr/local/include/llvm/User.h: In function ‘llvm::Function* ShaderGlobals::internal::CreateGenerateFunction()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:453: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:453: error: within this context
/usr/local/include/llvm/User.h: In function ‘llvm::Function* ShaderGlobals::internal::CreateShadeBackground()’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:463: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:463: error: within this context
/usr/local/include/llvm/BasicBlock.h: In member function ‘Float4 Ast::Shader::ComputeRayColor(llvm::Value*, Float3&, Float2&, Float3&, Float3&, Float3&, Float&, Float3&, Float4&)’:
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:940: error: within this context
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:941: error: within this context
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:942: error: within this context
/usr/local/include/llvm/User.h: In function ‘CompiledShader BuildShader(const std::string&, const shader_t*)’:
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
src/renderer/tr_rtshaders.cpp:1276: error: within this context
/usr/local/include/llvm/Function.h:113: error: ‘llvm::Function::Function(const llvm::FunctionType*, llvm::GlobalValue::LinkageTypes, const std::string&, llvm::Module*)’ is private
src/renderer/tr_rtshaders.cpp:1276: error: within this context
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:1283: error: within this context
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:1297: error: within this context
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:1312: error: within this context
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:1317: error: within this context
/usr/local/include/llvm/BasicBlock.h:73: error: ‘llvm::BasicBlock::BasicBlock(const std::string&, llvm::Function*, llvm::BasicBlock*)’ is private
src/renderer/tr_rtshaders.cpp:1317: error: within this context
src/renderer/tr_rtshaders.cpp:1330: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1331: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1332: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1332: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1340: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1341: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1342: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1343: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
src/renderer/tr_rtshaders.cpp:1344: error: ‘class llvm::LLVMFoldingBuilder’ has no member named ‘CreateStructGEP’
/usr/local/include/llvm/User.h: In member function ‘llvm::CallInst* llvm::LLVMBuilder::CreateCall(llvm::Value*, InputIterator, InputIterator, const char*) [with InputIterator = __gnu_cxx::__normal_iterator<llvm::Value**, std::vector<llvm::Value*, std::allocator<llvm::Value*> > >]’:
src/renderer/tr_rtshaders.cpp:550: instantiated from here
/usr/local/include/llvm/User.h:28: error: ‘static void* llvm::User::operator new(size_t)’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:392: error: within this context
/usr/local/include/llvm/Instructions.h:905: error: ‘llvm::CallInst::CallInst(llvm::Value*, InputIterator, InputIterator, const std::string&, llvm::Instruction*) [with InputIterator = __gnu_cxx::__normal_iterator<llvm::Value**, std::vector<llvm::Value*, std::allocator<llvm::Value*> > >]’ is private
/usr/local/include/llvm/Support/LLVMBuilder.h:392: error: within this context
src/rapido/xmmhelper.h: At global scope:
src/rapido/xmmhelper.h:10: warning: ‘One4’ defined but not used
make[2]: *** [build/release-linux-x86_64/client/tr_rtshaders.o] Error 1
Re: IOQUAKE 3 Raytracing Patch (Released)
Incorrectly patched?
-
- Posts: 13
- Joined: Fri Nov 16, 2007 12:30 am
Re: IOQUAKE 3 Raytracing Patch (Released)
I wouldn't think so, the files that are failing are unmodified in the patch.
Re: IOQUAKE 3 Raytracing Patch (Released)
Hey, LLVM dev here.
Just a note about optimization: There's no reason to use both GVN and GCSE. GVN is both faster and generally better. For pass ordering, I'd suggest mirroring what is done in the opt tool for -std-compile-opts.
Just a note about optimization: There's no reason to use both GVN and GCSE. GVN is both faster and generally better. For pass ordering, I'd suggest mirroring what is done in the opt tool for -std-compile-opts.
Re: IOQUAKE 3 Raytracing Patch (Released)
ive posted in the mailing list but nobody answered ...
And when i want to compile i have too many errors i dont have enough experience
And when i want to compile i have too many errors i dont have enough experience