[Mesa-dev] gallium clear and depth mask clarification
Jose Fonseca
jfonseca at vmware.com
Thu Oct 3 04:21:35 PDT 2013
I believe depth clears should not be affected by pipe_depth_state::writemask.
I suspect that the only reason depth mask is not explicitly enable is because it is a boolean, unlike color/stencil write mask which are proper bitmasks.
Therefore there is no additional information in depth write mask than what's already expressed by the PIPE_CLEAR_DEPTH bit.
Jose
----- Original Message -----
> Just want to check an inconsistency,
>
> so GL clears respect glDepthMask, gallium docs don't explicitly
> mention depth masking, they say clear isn't affected by color or
> stencil write masks, should that sentence contain depth?
>
> Dave.
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
More information about the mesa-dev
mailing list