IOQUAKE 3 Raytracing Patch (Released)

Locked
michael18
Posts: 26
Joined: Fri Apr 04, 2008 4:08 pm

IOQUAKE 3 Raytracing Patch (Released)

Post by michael18 »

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
a13n
Posts: 1672
Joined: Thu Feb 10, 2005 2:08 am

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by a13n »

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?
obsidian
Posts: 10970
Joined: Mon Feb 04, 2002 8:00 am

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by obsidian »

Raytraced? I'm not seeing it. I see real-time reflections (which look great), but nothing actually raytraced.
User avatar
Scourge
Posts: 15559
Joined: Mon Mar 25, 2002 8:00 am

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by Scourge »

obsidian wrote:Raytraced? I'm not seeing it. I see real-time reflections (which look great), but nothing actually raytraced.
And I've used ray-tracing programs back in the early days. Eggshooters vid was ray-traced.
User avatar
MKJ
Posts: 32579
Joined: Fri Nov 24, 2000 8:00 am

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by MKJ »

10 fps :paranoid:
dubz
Posts: 513
Joined: Tue Sep 27, 2005 3:07 am

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by dubz »

so how do i get this to work
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by ^misantropia^ »

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.
michael18
Posts: 26
Joined: Fri Apr 04, 2008 4:08 pm

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by michael18 »

@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
User avatar
MKJ
Posts: 32579
Joined: Fri Nov 24, 2000 8:00 am

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by MKJ »

i havent tried it sir. i was referring to one of the screenshots posted
michael18
Posts: 26
Joined: Fri Apr 04, 2008 4:08 pm

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by michael18 »

can someone compile it?
I want to test it out but i dont have some c++ experience or something like that -.-
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by ^misantropia^ »

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/
megatog615
Posts: 13
Joined: Fri Nov 16, 2007 12:30 am

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by megatog615 »

Compiling under Ubuntu 8.04 64-bit, I get the following error:

Code: Select all

code/renderer/tr_rtshaders.cpp:236:38: warning: llvm/Support/LLVMBuilder.h: No such file or directory
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.
^misantropia^
Posts: 4022
Joined: Sat Mar 12, 2005 6:24 pm

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by ^misantropia^ »

You could try the llvm-dev package from Debian sid: http://packages.debian.org/sid/llvm-dev
megatog615
Posts: 13
Joined: Fri Nov 16, 2007 12:30 am

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by megatog615 »

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
Any ideas? Perhaps my LLVM installation is too new? What revision are you using? Damn I wish I knew what Reiter's build environment was like. All I know is that he uses Ubuntu 7.10 64-bit.
Grenader
Posts: 202
Joined: Sun Oct 08, 2006 11:38 am

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by Grenader »

Incorrectly patched?
megatog615
Posts: 13
Joined: Fri Nov 16, 2007 12:30 am

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by megatog615 »

I wouldn't think so, the files that are failing are unmodified in the patch.
resistor
Posts: 1
Joined: Tue May 13, 2008 1:52 pm

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by resistor »

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.
michael18
Posts: 26
Joined: Fri Apr 04, 2008 4:08 pm

Re: IOQUAKE 3 Raytracing Patch (Released)

Post by michael18 »

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
Locked