Ver código fonte

mesa: updated comment

(cherry picked from commit d9fa9e3290)
tags/mesa_20090313
Brian Paul 16 anos atrás
pai
commit
2a6c12cf53
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2
    0
      src/mesa/shader/slang/slang_codegen.c

+ 2
- 0
src/mesa/shader/slang/slang_codegen.c Ver arquivo

@@ -1474,6 +1474,8 @@ _slang_simple_writemask(GLuint writemask, GLuint swizzle)
* Convert the given swizzle into a writemask. In some cases this
* is trivial, in other cases, we'll need to also swizzle the right
* hand side to put components in the right places.
* See comment above for more info.
* XXX this function could be simplified and should probably be renamed.
* \param swizzle the incoming swizzle
* \param writemaskOut returns the writemask
* \param swizzleOut swizzle to apply to the right-hand-side

Carregando…
Cancelar
Salvar