Lines Matching defs:chipset
38 nv30_fp(int chipset, struct tgsi_token tokens[],
44 _nvfx_fragprog_translate(chipset >= 0x40 ? 0x4097 : 0x3097, &fp);
51 nv30_vp(int chipset, struct tgsi_token tokens[],
58 _nvfx_vertprog_translate(chipset >= 0x40 ? 0x4097 : 0x3097, &vp);
65 nv30_codegen(int chipset, int type, struct tgsi_token tokens[],
69 return nv30_fp(chipset, tokens, size, code);
71 return nv30_vp(chipset, tokens, size, code);
105 nouveau_codegen(int chipset, int type, struct tgsi_token tokens[],
112 info.target = chipset;
143 int i, chipset = 0, type = -1;
151 chipset = strtol(argv[++i], NULL, 16);
156 if (!chipset) {
157 _debug_printf("Must specify a chipset (-a)\n");
183 _debug_printf("Compiling for NV%X\n", chipset);
207 if (chipset >= 0x50) {
208 i = nouveau_codegen(chipset, type, tokens, &size, &code);
209 } else if (chipset >= 0x30) {
210 i = nv30_codegen(chipset, type, tokens, &size, &code);
212 _debug_printf("chipset NV%02X not supported\n", chipset);