Lines Matching defs:semantic
542 struct wined3d_shader_semantic *semantic = &ins.declaration.semantic;
544 switch (semantic->reg.reg.type)
548 reg_maps->input_registers |= 1 << semantic->reg.reg.idx[0].offset;
549 shader_signature_from_semantic(&input_signature[semantic->reg.reg.idx[0].offset], semantic);
554 reg_maps->output_registers |= 1 << semantic->reg.reg.idx[0].offset;
555 shader_signature_from_semantic(&output_signature[semantic->reg.reg.idx[0].offset], semantic);
556 if (semantic->usage == WINED3D_DECL_USAGE_FOG)
562 reg_maps->sampler_type[semantic->reg.reg.idx[0].offset] = semantic->sampler_type;
566 TRACE("Not recording DCL register type %#x.\n", semantic->reg.reg.type);
880 static void shader_dump_decl_usage(const struct wined3d_shader_semantic *semantic,
885 if (semantic->reg.reg.type == WINED3DSPR_SAMPLER)
887 switch (semantic->sampler_type)
892 default: TRACE("_unknown_ttype(0x%08x)", semantic->sampler_type);
901 switch (semantic->usage)
904 TRACE("position%u", semantic->usage_idx);
916 TRACE("normal%u", semantic->usage_idx);
924 if (!semantic->usage_idx) TRACE("color");
925 else TRACE("specular%u", (semantic->usage_idx - 1));
929 TRACE("texture%u", semantic->usage_idx);
945 TRACE("positionT%u", semantic->usage_idx);
961 FIXME("unknown_semantics(0x%08x)", semantic->usage);
1408 shader_dump_decl_usage(&ins.declaration.semantic, &shader_version);
1409 shader_dump_ins_modifiers(&ins.declaration.semantic.reg);
1411 shader_dump_dst_param(&ins.declaration.semantic.reg, &shader_version);