Lines Matching defs:semantic
501 struct wined3d_shader_semantic semantic;
503 fe->shader_read_semantic(&ptr, &semantic);
505 switch (semantic.reg.reg.type)
509 reg_maps->input_registers |= 1 << semantic.reg.reg.idx;
510 shader_signature_from_semantic(&input_signature[semantic.reg.reg.idx], &semantic);
515 reg_maps->output_registers |= 1 << semantic.reg.reg.idx;
516 shader_signature_from_semantic(&output_signature[semantic.reg.reg.idx], &semantic);
517 if (semantic.usage == WINED3DDECLUSAGE_FOG) reg_maps->fog = 1;
522 reg_maps->sampler_type[semantic.reg.reg.idx] = semantic.sampler_type;
526 TRACE("Not recording DCL register type %#x.\n", semantic.reg.reg.type);
781 static void shader_dump_decl_usage(const struct wined3d_shader_semantic *semantic,
786 if (semantic->reg.reg.type == WINED3DSPR_SAMPLER)
788 switch (semantic->sampler_type)
793 default: TRACE("_unknown_ttype(0x%08x)", semantic->sampler_type);
802 switch (semantic->usage)
805 TRACE("position%u", semantic->usage_idx);
817 TRACE("normal%u", semantic->usage_idx);
825 if (semantic->usage_idx == 0) TRACE("color");
826 else TRACE("specular%u", (semantic->usage_idx - 1));
830 TRACE("texture%u", semantic->usage_idx);
846 TRACE("positionT%u", semantic->usage_idx);
862 FIXME("unknown_semantics(0x%08x)", semantic->usage);
1284 struct wined3d_shader_semantic semantic;
1286 fe->shader_read_semantic(&ptr, &semantic);
1288 shader_dump_decl_usage(&semantic, &shader_version);
1289 shader_dump_ins_modifiers(&semantic.reg);
1291 shader_dump_dst_param(&semantic.reg, &shader_version);