From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 47955] Celestia hit fallback on r300g from git?
Date: Wed, 28 Mar 2012 06:17:54 +0000 [thread overview]
Message-ID: <bug-47955-502-ZKuc4lyazy@http.bugs.freedesktop.org/> (raw)
In-Reply-To: <bug-47955-502@http.bugs.freedesktop.org/>
https://bugs.freedesktop.org/show_bug.cgi?id=47955
--- Comment #9 from Andrew Randrianasulu <randrik@mail.ru> 2012-03-27 23:17:54 PDT ---
as far as I can see in celestia-1.6.1/src/celengine/render.cpp (function void
Renderer::PointStarVertexBuffer::startSprites() ) - it uses some combination of
GL_ARB_point_sprite and vertex shaders .... Any ideas what can fail with this
combo on rs600 ?
----------------------------
void Renderer::PointStarVertexBuffer::startSprites(const GLContext& _context)
{
context = &_context;
assert(context->getVertexProcessor() != NULL || !useSprites); // vertex
shaders required for new star rendering
unsigned int stride = sizeof(StarVertex);
glEnableClientState(GL_VERTEX_ARRAY);
glVertexPointer(3, GL_FLOAT, stride, &vertices[0].position);
glEnableClientState(GL_COLOR_ARRAY);
glColorPointer(4, GL_UNSIGNED_BYTE, stride, &vertices[0].color);
VertexProcessor* vproc = context->getVertexProcessor();
vproc->enable();
vproc->use(vp::starDisc);
vproc->enableAttribArray(6);
vproc->attribArray(6, 1, GL_FLOAT, stride, &vertices[0].size);
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
glDisableClientState(GL_NORMAL_ARRAY);
glEnable(GL_POINT_SPRITE_ARB);
glTexEnvi(GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, GL_TRUE);
useSprites = true;
}
--------------------------------------------
Any piglit test?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
next prev parent reply other threads:[~2012-03-28 6:17 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-27 17:45 [Bug 47955] New: Celestia hit fallback on r300g from git? bugzilla-daemon
2012-03-27 17:46 ` [Bug 47955] " bugzilla-daemon
2012-03-27 17:47 ` bugzilla-daemon
2012-03-27 17:48 ` bugzilla-daemon
2012-03-27 17:48 ` bugzilla-daemon
2012-03-27 17:48 ` bugzilla-daemon
2012-03-27 17:49 ` bugzilla-daemon
2012-03-27 17:50 ` bugzilla-daemon
2012-03-27 18:24 ` bugzilla-daemon
2012-03-28 5:59 ` bugzilla-daemon
2012-03-28 6:17 ` bugzilla-daemon [this message]
2012-03-28 6:48 ` bugzilla-daemon
2012-03-28 7:06 ` bugzilla-daemon
2012-03-28 7:14 ` bugzilla-daemon
2012-03-28 18:04 ` bugzilla-daemon
2012-03-28 18:45 ` bugzilla-daemon
2012-03-30 3:54 ` bugzilla-daemon
2012-03-30 12:41 ` bugzilla-daemon
2012-03-30 16:38 ` bugzilla-daemon
2012-04-04 13:06 ` bugzilla-daemon
2012-04-04 21:01 ` bugzilla-daemon
2019-09-18 18:50 ` bugzilla-daemon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-47955-502-ZKuc4lyazy@http.bugs.freedesktop.org/ \
--to=bugzilla-daemon@freedesktop.org \
--cc=dri-devel@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).