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;
}
void
-sh_svga_dump(
+svga_shader_dump(
const unsigned *assem,
unsigned dwords,
unsigned do_binary )
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;
* @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 */
{ "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;
* @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
{
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 */