mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 00:00:22 +01:00
Small changes
This commit is contained in:
parent
e324c52237
commit
c67f545520
4 changed files with 4 additions and 6 deletions
|
|
@ -55,8 +55,6 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
int NOUVEAU_DEBUG = 0;
|
||||
#endif
|
||||
|
||||
#define NOUVEAU_FALLBACK_DISABLE 1
|
||||
|
||||
static const struct dri_debug_control debug_control[] =
|
||||
{
|
||||
{ NULL, 0 }
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ typedef struct nouveau_context {
|
|||
|
||||
/* Vertex state */
|
||||
GLuint vertex_size;
|
||||
char *verts;
|
||||
GLubyte *verts;
|
||||
struct tnl_attr_map vertex_attrs[VERT_ATTRIB_MAX];
|
||||
GLuint vertex_attr_count;
|
||||
|
||||
|
|
|
|||
|
|
@ -74,7 +74,6 @@ void nouveau_fallback_point(struct nouveau_context *nmesa,
|
|||
void nouveauFallback(struct nouveau_context *nmesa, GLuint bit, GLboolean mode)
|
||||
{
|
||||
GLcontext *ctx = nmesa->glCtx;
|
||||
TNLcontext *tnl = TNL_CONTEXT(ctx);
|
||||
GLuint oldfallback = nmesa->Fallback;
|
||||
|
||||
if (mode) {
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@
|
|||
#include "nouveau_reg.h"
|
||||
#include "nouveau_tex.h"
|
||||
#include "nouveau_fifo.h"
|
||||
#include "nouveau_msg.h"
|
||||
|
||||
/* XXX hack for now */
|
||||
#define channel 1
|
||||
|
|
@ -651,8 +652,7 @@ static inline void nv10OutputVertexFormat(struct nouveau_context* nmesa, GLuint
|
|||
for(i=8;i<16;i++)
|
||||
{
|
||||
if (index&(1<<i))
|
||||
/* FIXME that is very dubious */
|
||||
attr_size[i]=VB->TexCoordPtr[i];
|
||||
attr_size[i]=VB->TexCoordPtr[i]->size;
|
||||
else
|
||||
attr_size[i]=0;
|
||||
}
|
||||
|
|
@ -822,6 +822,7 @@ static void nv10RenderPrimitive( GLcontext *ctx, GLuint prim )
|
|||
static void nv10ResetLineStipple( GLcontext *ctx )
|
||||
{
|
||||
/* FIXME do something here */
|
||||
WARN_ONCE("Unimplemented nv10ResetLineStipple\n");
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue