~ubuntu-branches/ubuntu/precise/mesa/precise-updates

« back to all changes in this revision

Viewing changes to src/gallium/drivers/r600/r700_asm.c

  • Committer: Package Import Robot
  • Author(s): Robert Hooker
  • Date: 2012-02-02 12:05:48 UTC
  • mfrom: (1.7.1) (3.3.27 sid)
  • Revision ID: package-import@ubuntu.com-20120202120548-nvkma85jq0h4coix
Tags: 8.0~rc2-0ubuntu4
Drop drisearchdir handling, it is no longer needed with multiarch
and dri-alternates being removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include "r600_asm.h"
27
27
#include "r700_sq.h"
28
28
 
29
 
void r700_bc_cf_vtx_build(uint32_t *bytecode, const struct r600_bc_cf *cf)
 
29
void r700_bytecode_cf_vtx_build(uint32_t *bytecode, const struct r600_bytecode_cf *cf)
30
30
{
31
31
        unsigned count = (cf->ndw / 4) - 1;
32
32
        *bytecode++ = S_SQ_CF_WORD0_ADDR(cf->addr >> 1);
33
 
        *bytecode++ = S_SQ_CF_WORD1_CF_INST(cf->inst) |
 
33
        *bytecode++ = cf->inst |
34
34
                        S_SQ_CF_WORD1_BARRIER(1) |
35
35
                        S_SQ_CF_WORD1_COUNT(count) |
36
36
                        S_SQ_CF_WORD1_COUNT_3(count >> 3);
37
37
}
38
38
 
39
 
int r700_bc_alu_build(struct r600_bc *bc, struct r600_bc_alu *alu, unsigned id)
 
39
int r700_bytecode_alu_build(struct r600_bytecode *bc, struct r600_bytecode_alu *alu, unsigned id)
40
40
{
41
41
        bc->bytecode[id++] = S_SQ_ALU_WORD0_SRC0_SEL(alu->src[0].sel) |
42
42
                S_SQ_ALU_WORD0_SRC0_REL(alu->src[0].rel) |