graw: small fixups for the gs examples
This commit is contained in:
@@ -11,7 +11,7 @@ MOV OUT[1], IN[0][1]
|
||||
EMIT
|
||||
|
||||
MOV OUT[0], IN[1][0]
|
||||
MOV OUT[1], IN[0][1]
|
||||
MOV OUT[1], IN[1][1]
|
||||
EMIT
|
||||
|
||||
MOV OUT[0], IN[2][0]
|
||||
|
||||
@@ -85,13 +85,13 @@ static struct vertex vertices_strip[] =
|
||||
{ 1, 0, 0, 1 },
|
||||
{ 1, -1, 0, 1 } },
|
||||
|
||||
{ {-0.9, -0.9, 0.0, 1.0 },
|
||||
{ 0, 1, 0, 1 },
|
||||
{ -1, -1, 0, 1 } },
|
||||
|
||||
{ {-0.9, 0.9, 0.0, 1.0 },
|
||||
{ 1, 1, 0, 1 },
|
||||
{ 0, 1, 0, 1 },
|
||||
{ -1, 1, 0, 1 } },
|
||||
|
||||
{ {-0.9, -0.9, 0.0, 1.0 },
|
||||
{ 1, 1, 0, 1 },
|
||||
{ -1, -1, 0, 1 } },
|
||||
};
|
||||
|
||||
static float constants[] =
|
||||
|
||||
Reference in New Issue
Block a user