mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-02 17:48:17 +02:00
r300: make r300 work with latest changes
This commit is contained in:
parent
c83d0bfe06
commit
56a13a7ca9
4 changed files with 5 additions and 3 deletions
|
|
@ -33,6 +33,7 @@ RADEON_COMMON_SOURCES = \
|
|||
|
||||
DRIVER_SOURCES = \
|
||||
radeon_screen.c \
|
||||
r300_context.c \
|
||||
r300_ioctl.c \
|
||||
r300_cmdbuf.c \
|
||||
r300_state.c \
|
||||
|
|
|
|||
|
|
@ -55,8 +55,9 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
#include "drivers/common/driverfuncs.h"
|
||||
|
||||
#include "radeon_span.h"
|
||||
#include "r300_context.h"
|
||||
#include "radeon_context.h"
|
||||
#include "radeon_span.h"
|
||||
#include "r300_cmdbuf.h"
|
||||
#include "r300_state.h"
|
||||
#include "r300_ioctl.h"
|
||||
|
|
|
|||
|
|
@ -56,6 +56,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include "r300_state.h"
|
||||
#include "r300_ioctl.h"
|
||||
#include "r300_emit.h"
|
||||
#include "r300_tex.h"
|
||||
|
||||
void r300EmitVertexAOS(r300ContextPtr rmesa, GLuint vertex_size, struct radeon_bo *bo, GLuint offset);
|
||||
void r300EmitVbufPrim(r300ContextPtr rmesa, GLuint primitive, GLuint vertex_nr);
|
||||
|
|
@ -628,7 +629,7 @@ void r300_swtcl_flush(GLcontext *ctx, uint32_t current_offset)
|
|||
rcommonEnsureCmdBufSpace(&rmesa->radeon,
|
||||
rmesa->radeon.hw.max_state_size + (12*sizeof(int)),
|
||||
__FUNCTION__);
|
||||
r300EmitState(rmesa);
|
||||
radeonEmitState(&rmesa->radeon);
|
||||
r300EmitVertexAOS(rmesa,
|
||||
rmesa->radeon.swtcl.vertex_size,
|
||||
rmesa->radeon.dma.current,
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
#include "dri_util.h"
|
||||
|
||||
#include "radeon_screen.h"
|
||||
#include "common_misc.h"
|
||||
|
||||
#if R200_MERGED
|
||||
extern void radeonFallback(GLcontext * ctx, GLuint bit, GLboolean mode);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue