/**************************************************************************
- *
+ *
* Copyright 2008 VMware, Inc.
* All Rights Reserved.
*
-#include "main/imports.h"
+
#include "main/image.h"
#include "main/macros.h"
#include "main/teximage.h"
return;
}
- z = CLAMP(z, 0.0f, 1.0f);
+ z = SATURATE(z);
/* positions (in clip coords) */
{
{
GLuint i;
for (i = 0; i < NumCachedShaders; i++) {
- cso_delete_vertex_shader(st->cso_context, CachedShaders[i].handle);
+ st->pipe->delete_vs_state(st->pipe, CachedShaders[i].handle);
}
NumCachedShaders = 0;
}