mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-23 06:05:45 +00:00
Ensure all values are used and unstripped in GL_Vertex_Attr_Zoo
This commit is contained in:
@@ -92,6 +92,17 @@ void main()
|
||||
{
|
||||
Color = vec4(0, 1.0f, 0, 1);
|
||||
|
||||
// ensure all values are used
|
||||
Color.g += abs(InSNorm.x);
|
||||
Color.g += InUNorm.x;
|
||||
Color.g += float(InUInt.x);
|
||||
Color.g += float(InDouble.x);
|
||||
Color.g += float(InArray[0].x);
|
||||
Color.g += float(InArray[1].x);
|
||||
Color.g += float(InArray[2].x);
|
||||
Color.g += float(InMatrix[0][0]);
|
||||
Color.g += float(InMatrix[1][1]);
|
||||
|
||||
// check values came through correctly
|
||||
|
||||
// SNorm should be in [-1, 1]
|
||||
|
||||
Reference in New Issue
Block a user