Closed Bug 1170891 Opened 10 years ago Closed 9 years ago

WebGL 2 - gl.getTexParameter fails on valid enums.

Categories

(Core :: Graphics: CanvasWebGL, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: u480271, Unassigned)

References

()

Details

(Whiteboard: [gfx-noted])

FAIL getError expected: NO_ERROR. Was INVALID_ENUM : should be no errors FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_S"]) should be 10497 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_S"]) should be 10497 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_T"]) should be 10497 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_T"]) should be 10497 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAG_FILTER"]) should be 9729 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAG_FILTER"]) should be 9729 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MIN_FILTER"]) should be 9986 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MIN_FILTER"]) should be 9986 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_WRAP_R"]) should be 10497. Was 33071. FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_WRAP_R"]) should be 10497. Was 33071. FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_R"]) should be 10497 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_R"]) should be 10497 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_COMPARE_FUNC"]) should be 515 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_COMPARE_FUNC"]) should be 515 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_COMPARE_MODE"]) should be 0 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_COMPARE_MODE"]) should be 0 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_BASE_LEVEL"]) should be 0 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_BASE_LEVEL"]) should be 0 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAX_LEVEL"]) should be 1000 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAX_LEVEL"]) should be 1000 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MIN_LOD"]) should be -1000 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MIN_LOD"]) should be -1000 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAX_LOD"]) should be 1000 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAX_LOD"]) should be 1000 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_IMMUTABLE_LEVELS"]) should be 0 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_IMMUTABLE_LEVELS"]) should be 0 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_S"]) should be 33071 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_S"]) should be 33071 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_T"]) should be 33648 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_T"]) should be 33648 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAG_FILTER"]) should be 9728 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAG_FILTER"]) should be 9728 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MIN_FILTER"]) should be 9987 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MIN_FILTER"]) should be 9987 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_WRAP_R"]) should be 33071. Was 10497. FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_WRAP_R"]) should be 33071. Was 10497. FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_R"]) should be 33071 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_R"]) should be 33071 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_WRAP_R"]) should be 33071. Was 10497. FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_WRAP_R"]) should be 33071. Was 10497. FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_COMPARE_FUNC"]) should be 516 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_COMPARE_FUNC"]) should be 516 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_COMPARE_MODE"]) should be 34894 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_COMPARE_MODE"]) should be 34894 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_BASE_LEVEL"]) should be 100 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_BASE_LEVEL"]) should be 100 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAX_LEVEL"]) should be 800 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAX_LEVEL"]) should be 800 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_MIN_LOD"]) should be -500. Was -1000. FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_MIN_LOD"]) should be -500. Was -1000. FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_MIN_LOD"]) should be -500. Was -1000. FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_MIN_LOD"]) should be -500. Was -1000. FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MIN_LOD"]) should be -500 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MIN_LOD"]) should be -500 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_MIN_LOD"]) should be -500. Was -1000. FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_MIN_LOD"]) should be -500. Was -1000. FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_MAX_LOD"]) should be 500. Was 1000. FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_MAX_LOD"]) should be 500. Was 1000. FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_MAX_LOD"]) should be 500. Was 1000. FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_MAX_LOD"]) should be 500. Was 1000. FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAX_LOD"]) should be 500 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAX_LOD"]) should be 500 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_MAX_LOD"]) should be 500. Was 1000. FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_MAX_LOD"]) should be 500. Was 1000. FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_IMMUTABLE_LEVELS"]) should be 0 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_IMMUTABLE_LEVELS"]) should be 0 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_S"]) should be 33071 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_S"]) should be 10497 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_T"]) should be 33648 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_T"]) should be 10497 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAG_FILTER"]) should be 9728 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAG_FILTER"]) should be 9729 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MIN_FILTER"]) should be 9987 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MIN_FILTER"]) should be 9728 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_WRAP_R"]) should be 33071. Was 10497. FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_WRAP_R"]) should be 33648. Was 10497. FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_WRAP_R"]) should be 33648. Was 33071. FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_R"]) should be 33071 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_WRAP_R"]) should be 33648 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_WRAP_R"]) should be 33071. Was 10497. FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_WRAP_R"]) should be 33648. Was 10497. FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_COMPARE_FUNC"]) should be 516 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_COMPARE_FUNC"]) should be 513 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_COMPARE_MODE"]) should be 34894 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_COMPARE_MODE"]) should be 0 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_BASE_LEVEL"]) should be 100 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_BASE_LEVEL"]) should be 99 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAX_LEVEL"]) should be 800 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAX_LEVEL"]) should be 300 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_MIN_LOD"]) should be -500. Was -1000. FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_MIN_LOD"]) should be -999. Was -1000. FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_MIN_LOD"]) should be -500. Was -1000. FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_MIN_LOD"]) should be -999. Was -1000. FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MIN_LOD"]) should be -500 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MIN_LOD"]) should be -999 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_MIN_LOD"]) should be -500. Was -1000. FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_MIN_LOD"]) should be -999. Was -1000. FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_MAX_LOD"]) should be 500. Was 1000. FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_MAX_LOD"]) should be 999. Was 1000. FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_MAX_LOD"]) should be 500. Was 1000. FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_MAX_LOD"]) should be 999. Was 1000. FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAX_LOD"]) should be 500 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_MAX_LOD"]) should be 999 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_MAX_LOD"]) should be 500. Was 1000. FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_MAX_LOD"]) should be 999. Was 1000. FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_IMMUTABLE_LEVELS"]) should be 0 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_IMMUTABLE_LEVELS"]) should be 0 (of type number). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_2D"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_CUBE_MAP"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_2D_ARRAY"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was null (of type object). FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL gl.getTexParameter(gl["TEXTURE_3D"], gl["TEXTURE_IMMUTABLE_FORMAT"]) should be false (of type boolean). Was 0 (of type number). FAIL getError expected: NO_ERROR. Was INVALID_ENUM : should be no errors
These tests pass already.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.