projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nv50/ir: fix srcMask computation for TG4 and TXF
[mesa.git]
/
src
/
gallium
/
drivers
/
nouveau
/
nouveau_gldefs.h
diff --git
a/src/gallium/drivers/nouveau/nouveau_gldefs.h
b/src/gallium/drivers/nouveau/nouveau_gldefs.h
index e1015c93a2757c7209f4f8d55451d20ef19cb403..1538c7b6e57a10e0e0098cf18060524e306ffc34 100644
(file)
--- a/
src/gallium/drivers/nouveau/nouveau_gldefs.h
+++ b/
src/gallium/drivers/nouveau/nouveau_gldefs.h
@@
-1,7
+1,7
@@
#ifndef __NOUVEAU_GLDEFS_H__
#define __NOUVEAU_GLDEFS_H__
#ifndef __NOUVEAU_GLDEFS_H__
#define __NOUVEAU_GLDEFS_H__
-static
INLINE
unsigned
+static
inline
unsigned
nvgl_blend_func(unsigned factor)
{
switch (factor) {
nvgl_blend_func(unsigned factor)
{
switch (factor) {
@@
-40,7
+40,7
@@
nvgl_blend_func(unsigned factor)
}
}
}
}
-static
INLINE
unsigned
+static
inline
unsigned
nvgl_blend_eqn(unsigned func)
{
switch (func) {
nvgl_blend_eqn(unsigned func)
{
switch (func) {
@@
-59,7
+59,7
@@
nvgl_blend_eqn(unsigned func)
}
}
}
}
-static
INLINE
unsigned
+static
inline
unsigned
nvgl_logicop_func(unsigned func)
{
switch (func) {
nvgl_logicop_func(unsigned func)
{
switch (func) {
@@
-100,7
+100,7
@@
nvgl_logicop_func(unsigned func)
}
}
}
}
-static
INLINE
unsigned
+static
inline
unsigned
nvgl_comparison_op(unsigned op)
{
switch (op) {
nvgl_comparison_op(unsigned op)
{
switch (op) {
@@
-125,7
+125,7
@@
nvgl_comparison_op(unsigned op)
}
}
}
}
-static
INLINE
unsigned
+static
inline
unsigned
nvgl_polygon_mode(unsigned mode)
{
switch (mode) {
nvgl_polygon_mode(unsigned mode)
{
switch (mode) {
@@
-140,7
+140,7
@@
nvgl_polygon_mode(unsigned mode)
}
}
}
}
-static
INLINE
unsigned
+static
inline
unsigned
nvgl_stencil_op(unsigned op)
{
switch (op) {
nvgl_stencil_op(unsigned op)
{
switch (op) {
@@
-165,7
+165,7
@@
nvgl_stencil_op(unsigned op)
}
}
}
}
-static
INLINE
unsigned
+static
inline
unsigned
nvgl_primitive(unsigned prim) {
switch (prim) {
case PIPE_PRIM_POINTS:
nvgl_primitive(unsigned prim) {
switch (prim) {
case PIPE_PRIM_POINTS:
@@
-189,7
+189,7
@@
nvgl_primitive(unsigned prim) {
case PIPE_PRIM_POLYGON:
return 0x000a;
default:
case PIPE_PRIM_POLYGON:
return 0x000a;
default:
- return 0
x0001
;
+ return 0;
}
}
}
}