mesa/src/mesa
Juan A. Suarez Romero 6d540aa092 mesa: deal with vs_inputs as 64-bit unsigned integer
Commit 78942e ("mesa: shrink VERT_ATTRIB bitfields to 32 bits") uses
vs_prog_data->vs_inputs as if it were a 32-bit unsigned integer.

But actually it is a 64-bit integer, and as such it is used in other
parts of Mesa code. It is worth to note that bits from the entire range
are used, and not only 32-bits. This is due our implementation for
handling 64-bit dual-slot input attributes, which requires to use a
larger bitfield to manage them.

This commit reverts the changes done in brw_draw_upload.c, keeping the
rest of the changes.

This fixes the following tests:

- KHR-GL45.enhanced_layouts.varying_array_locations
- KHR-GL45.enhanced_layouts.varying_locations

Fixes: 78942e ("mesa: shrink VERT_ATTRIB bitfields to 32 bits")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103942
CC: Marek Olšák <marek.olsak@amd.com>
CC: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
2017-11-29 12:13:10 +01:00
..
drivers mesa: deal with vs_inputs as 64-bit unsigned integer 2017-11-29 12:13:10 +01:00
main mesa/gles: adjust internal format in glTexSubImage2D error checks 2017-11-28 08:57:49 +02:00
math tree-wide: remove trailing backslash 2017-06-07 01:18:09 +01:00
program mesa: rework _mesa_add_parameter() to only add a single param 2017-11-29 21:50:48 +11:00
sparc tree-wide: remove trailing backslash 2017-06-07 01:18:09 +01:00
state_tracker st_glsl_to_tgsi: check for the tail sentinel in merge_two_dsts 2017-11-28 09:31:33 +01:00
swrast mesa: s/GLint/gl_buffer_index/ for _ColorDrawBufferIndexes 2017-11-09 14:13:59 -07:00
swrast_setup mesa: replace VP/FP/ATIfs _Enabled flags with helper functions 2017-06-22 01:51:02 +02:00
tnl mesa: remove unused vertex attrib WEIGHT 2017-11-25 17:17:52 +01:00
tnl_dd mesa: replace ctx->Polygon._FrontBit with a helper function 2017-06-22 01:51:02 +02:00
vbo mesa: shrink VERT_ATTRIB bitfields to 32 bits 2017-11-25 17:18:22 +01:00
x86 mesa: move _mesa_exec_malloc/free() prototypes to their own header 2017-10-10 11:28:31 -06:00
x86-64
.gitignore
Android.gen.mk mesa: Fix Android build 2017-06-28 14:41:45 -07:00
Android.libmesa_dricore.mk Android: add libmesa_nir dependency to libmesa_dricore 2017-10-16 14:49:37 -05:00
Android.libmesa_git_sha1.mk buildsys: move file regeneration logic to the script itself 2017-10-27 13:38:37 +01:00
Android.libmesa_glsl_utils.mk
Android.libmesa_sse41.mk android: pass sse4.1 flag as appropriate 2017-03-30 08:02:49 +03:00
Android.libmesa_st_mesa.mk svga: fix git_sha1.h include path in Android.mk (v3) 2017-06-15 15:46:44 +01:00
Android.mesa_gen_matypes.mk
Android.mk svga: fix git_sha1.h include path in Android.mk (v3) 2017-06-15 15:46:44 +01:00
gl.pc.in
Makefile.am mesa/st/tests: Fix classic build regressions introduced with 7be6d8fe12 2017-09-07 14:13:43 +02:00
Makefile.sources meta: Delete the PBO texture upload/download path 2017-10-12 19:58:40 -07:00
meson.build meson: Enable SSE4.1 optimizations 2017-11-22 12:46:00 -08:00
SConscript build: Remove HAVE_DLOPEN 2017-10-02 19:41:22 -07:00