Skip to content
Snippets Groups Projects
  1. Nov 17, 2011
  2. Nov 10, 2011
    • Emma Anholt's avatar
      glsl: Fix gl_NormalMatrix swizzle setup to match i965's invariants. · 172de77b
      Emma Anholt authored
      
      A driver trying to set up builtin uniforms is faced with a problem:
      How do I walk the ir_variable structure (representing an array of
      structs, or array of matrices, or struct, or whatever), and set up
      driver structures so that dereference of that uniform gets the
      corresponding ParameterValues[] entry.  The rule in general is that
      each corresponding vector-sized field of an array of structs is one
      builtin uniform state slot.  i965 relied on another invariant: each
      state slot has a number of unique channel swizzles corresponding to
      the number of elements in the field's vector, to avoid needing to walk
      the glsl_type in parallel to get at vector_elements.
      
      All of the builtin uniforms followed this behavior, except for
      gl_NormalMatrix.  That's a mat3 (so 3 vec3s), but it was swizzled as 3
      vec4s.
      
      Fixes piglit glsl-fs-normalmatrix.
      Reviewed-by: default avatarPaul Berry <stereotype441@gmail.com>
      (cherry picked from commit cc4ddc3a)
      172de77b
    • Kenneth Graunke's avatar
      mesa/get: Move MAX_LIGHTS from GL/ES2 to GL/ES1. · 6b151886
      Kenneth Graunke authored
      
      It's required for ES 1.0 and 1.1, and isn't specified for ES 2.
      
      While the comment says Mesa depends on it internally, removing it from
      ES2 doesn't seem to regress any Piglit or ES2 conformance tests.
      
      Signed-off-by: Kenneth Graunke's avatarKenneth Graunke <kenneth@whitecape.org>
      Reviewed-by: default avatarIan Romanick <ian.d.romanick@intel.com>
      (cherry picked from commit 5785cd2b)
      6b151886
  3. Nov 05, 2011
    • Jose Fonseca's avatar
      docs: Update llvmpipe docs. · 436db5df
      Jose Fonseca authored
      Recommend LLVM 2.9, it has been working quite well, and unlike earlier
      versions, it works out-of-the-box without patches.
      
      Update Windows instructions.
      436db5df
  4. Nov 03, 2011
  5. Nov 02, 2011
  6. Oct 29, 2011
  7. Oct 27, 2011
  8. Oct 26, 2011
  9. Oct 24, 2011
Loading