nouveau/codegen: drop all ubytes from codegen.
There wasn't that many, so get rid of them in favour of real types. Acked-by: Karol Herbst <kherbst@redhat.com> Reviewed-by: Emma Anholt <emma@anholt.net> Reviewed-by: Yusuf Khan<yusisamerican@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16763>
This commit is contained in:
@@ -275,7 +275,7 @@ LValue::isUniform() const
|
||||
return !insn->srcExists(1) && insn->getSrc(0)->isUniform();
|
||||
}
|
||||
|
||||
Symbol::Symbol(Program *prog, DataFile f, ubyte fidx)
|
||||
Symbol::Symbol(Program *prog, DataFile f, uint8_t fidx)
|
||||
{
|
||||
baseSym = NULL;
|
||||
|
||||
|
||||
@@ -790,7 +790,7 @@ public:
|
||||
class Symbol : public Value
|
||||
{
|
||||
public:
|
||||
Symbol(Program *, DataFile file = FILE_MEMORY_CONST, ubyte fileIdx = 0);
|
||||
Symbol(Program *, DataFile file = FILE_MEMORY_CONST, uint8_t fileIdx = 0);
|
||||
~Symbol() { }
|
||||
|
||||
virtual Symbol *clone(ClonePolicy<Function>&) const;
|
||||
@@ -804,7 +804,7 @@ public:
|
||||
// print with indirect values
|
||||
int print(char *, size_t, Value *, Value *, DataType ty = TYPE_NONE) const;
|
||||
|
||||
inline void setFile(DataFile file, ubyte fileIndex = 0)
|
||||
inline void setFile(DataFile file, uint8_t fileIndex = 0)
|
||||
{
|
||||
reg.file = file;
|
||||
reg.fileIndex = fileIndex;
|
||||
|
||||
@@ -52,9 +52,9 @@ struct nv50_ir_varying
|
||||
unsigned input : 1; /* indicates direction of system values */
|
||||
unsigned oread : 1; /* true if output is read from parallel TCP */
|
||||
|
||||
ubyte id; /* TGSI register index */
|
||||
ubyte sn; /* TGSI semantic name */
|
||||
ubyte si; /* TGSI semantic index */
|
||||
uint8_t id; /* TGSI register index */
|
||||
uint8_t sn; /* TGSI semantic name */
|
||||
uint8_t si; /* TGSI semantic index */
|
||||
};
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
||||
Reference in New Issue
Block a user