search for: out_color

Displaying 4 results from an estimated 4 matches for "out_color".

2014 Apr 30
2
Proper gl_SampleMask output
...e it has nothing to do with sample masks, but my question > about sample mask output still stands even if its :) ) > > Oh, and for completeness, the input GLSL shader is: > > "#version 130\n" > "#extension GL_ARB_sample_shading : enable\n" > "out vec4 out_color;\n" > "void main()\n" > "{\n" > /* For 128x128 image size, below formula produces a bit > * pattern where no two bits of gl_SampleMask[0] are > * correlated. > */ > " gl_SampleMask[0] = (int(gl_FragCoord.x) * 0x10204081) ^\n" >...
2014 Apr 23
2
Proper gl_SampleMask output
Hello, I've been trying to add ARB_sample_shading support to nouveau, and am being defeated by the gl_SampleMask tests. Everything else works fine. (And naturally the tests pass with the proprietary driver.) I'm trying to do this for both GT21x, as well as GF100+. In the GT21x case, it seems like the low bit of method 0x1928 needs to be set (as well as the second-to-lowest bit), for
2014 Apr 24
0
Proper gl_SampleMask output
...is is the source of the error, since it has nothing to do with sample masks, but my question about sample mask output still stands even if its :) ) Oh, and for completeness, the input GLSL shader is: "#version 130\n" "#extension GL_ARB_sample_shading : enable\n" "out vec4 out_color;\n" "void main()\n" "{\n" /* For 128x128 image size, below formula produces a bit * pattern where no two bits of gl_SampleMask[0] are * correlated. */ " gl_SampleMask[0] = (int(gl_FragCoord.x) * 0x10204081) ^\n" " (int(gl_FragC...
2014 Apr 30
0
Proper gl_SampleMask output
...h sample masks, but my question >> about sample mask output still stands even if its :) ) >> >> Oh, and for completeness, the input GLSL shader is: >> >> "#version 130\n" >> "#extension GL_ARB_sample_shading : enable\n" >> "out vec4 out_color;\n" >> "void main()\n" >> "{\n" >> /* For 128x128 image size, below formula produces a bit >> * pattern where no two bits of gl_SampleMask[0] are >> * correlated. >> */ >> " gl_SampleMask[0] = (int(gl_FragCoord.x) *...