mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 21:50:12 +01:00
svga: Use consistent names for public symbol names of shader dumping facilities.
This commit is contained in:
parent
a71f836504
commit
d185c2fd13
5 changed files with 12 additions and 12 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue