svga: Use consistent names for public symbol names of shader dumping facilities.

This commit is contained in:
José Fonseca 2009-11-24 14:43:30 +00:00
parent a71f836504
commit d185c2fd13
5 changed files with 12 additions and 12 deletions

View file

@ -1627,7 +1627,7 @@ svga_dump_commands(const void *commands, uint32_t size)
const SVGA3dCmdDefineShader *cmd = (const SVGA3dCmdDefineShader *)body;
dump_SVGA3dCmdDefineShader(cmd);
body = (const uint8_t *)&cmd[1];
sh_svga_dump((const uint32_t *)body,
svga_shader_dump((const uint32_t *)body,
(unsigned)(next - body)/sizeof(uint32_t),
FALSE );
body = next;

View file

@ -435,7 +435,7 @@ static void dump_srcreg( struct sh_srcreg srcreg, struct sh_srcreg *indreg, cons
}
void
sh_svga_dump(
svga_shader_dump(
const unsigned *assem,
unsigned dwords,
unsigned do_binary )
@ -602,7 +602,7 @@ sh_svga_dump(
default:
{
const struct sh_opcode_info *info = sh_svga_opcode_info( op.opcode );
const struct sh_opcode_info *info = svga_opcode_info( op.opcode );
uint i;
uint num_src = info->num_src + op.predicated;
boolean not_first_arg = FALSE;

View file

@ -30,13 +30,13 @@
* @author Michal Krol <michal@vmware.com>
*/
#ifndef ST_SHADER_SVGA_DUMP_H
#define ST_SHADER_SVGA_DUMP_H
#ifndef SVGA_SHADER_DUMP_H
#define SVGA_SHADER_DUMP_H
void
sh_svga_dump(
svga_shader_dump(
const unsigned *assem,
unsigned dwords,
unsigned do_binary );
#endif /* ST_SHADER_SVGA_DUMP_H */
#endif /* SVGA_SHADER_DUMP_H */

View file

@ -140,7 +140,7 @@ static struct sh_opcode_info opcode_info[] =
{ "breakp", 1, 1, SVGA3DOP_INVALID, },
};
const struct sh_opcode_info *sh_svga_opcode_info( uint op )
const struct sh_opcode_info *svga_opcode_info( uint op )
{
struct sh_opcode_info *info;

View file

@ -30,8 +30,8 @@
* @author Michal Krol <michal@vmware.com>
*/
#ifndef ST_SHADER_SVGA_OP_H
#define ST_SHADER_SVGA_OP_H
#ifndef SVGA_SHADER_OP_H
#define SVGA_SHADER_OP_H
struct sh_opcode_info
{
@ -41,6 +41,6 @@ struct sh_opcode_info
unsigned svga_opcode:16;
};
const struct sh_opcode_info *sh_svga_opcode_info( unsigned op );
const struct sh_opcode_info *svga_opcode_info( unsigned op );
#endif /* ST_SHADER_SVGA_OP_H */
#endif /* SVGA_SHADER_OP_H */