Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138515 - dev-games/ogre-1.2.1: segfaults for demo deferred shader
Summary: dev-games/ogre-1.2.1: segfaults for demo deferred shader
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://sourceforge.net/tracker/index....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-29 11:45 UTC by Simon Stelling (RETIRED)
Modified: 2006-07-03 00:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
path by Sergey (ogre-1.2.1-deferredshading-double-precision.patch,1.64 KB, patch)
2006-06-29 11:46 UTC, Simon Stelling (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Stelling (RETIRED) gentoo-dev 2006-06-29 11:45:09 UTC
+++ This bug was initially created as a clone of Bug #138093 +++

will attach a patch by Sergey Belyashov in a sec
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-06-29 11:46:06 UTC
Created attachment 90454 [details, diff]
path by Sergey

taken from bug 138093 comment #11
Comment 2 SpanKY gentoo-dev 2006-07-01 22:32:37 UTC
i dont think that patch is correct ... the demo will break with that patch if you disable double precision correct ?
Comment 3 Sergey Belyashov 2006-07-03 00:26:47 UTC
(In reply to comment #2)
> i dont think that patch is correct ... the demo will break with that patch if
> you disable double precision correct ?
> 

Do You test it? I do and have no problems. ;-)
createVertexBuffer(vertexDecl->getVertexSize(0), vertexData->vertexCount, ...) creates buffer for three float cells. When using Real *pVertex=... and double_precision were enabled "Read" changes to "double". As result operations *pVertex++ = x0;*pVertex++ = y0;*pVertex++ = z0; outs of buffer...

To do this patch I were analise other demos, which uses createVertexBuffer and works with double_precision... ;-)