mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-26 23:23:01 +00:00
Glsm tests (#275)
* Tests for GL_DEPTH_BUFFER_BIT * Swizzle DepthState.mask ~> enabled * Use AssertAll so we can clearly see gl/glsm state differences * Reset test state leakage from ColorBufferBit * Add start of test for GL_CURRENT_BIT * Initial basic display list tests * Print mismatched array index for array comparisions * Add message for all tests * Test GL_CURRENT_BIT * Implement GLSM stub functions * Test GL_ENABLE_BIT * Add verifyNotDefaultState when we don't care about the values, just that they're not the default * GL_MULTISAMPLE seems to be broken on Nvidia * Test GL_FOG_BIT * Check glGetError() after every test * Exclude some tests based on vendor * Test most of GL_LIGHTING_BIT --------- Co-authored-by: Darren Eberly <[email protected]>
This commit is contained in:
1 parent
6d1c4bf39c
commit
f8c11967d1
10 files changed
+816
-179
No files matched your search
@@ -17,7 +17,7 @@ public class DepthColorStorage {
|
||||
ColorMask colorMask = GLStateManager.getColorMask();
|
||||
final DepthState depthState = GLStateManager.getDepthState();
|
||||
|
||||
originalDepthEnable = depthState.isMask();
|
||||
originalDepthEnable = depthState.isEnabled();
|
||||
originalColor = new net.coderbot.iris.gl.blending.ColorMask(colorMask.red, colorMask.green, colorMask.blue, colorMask.alpha);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user