- 23 Jan, 2014 40 commits
-
-
Brian Paul authored
In some cases we were converting generic formats to sized formats and vice versa. The point is to simply convert sRGB formats to corresponding linear formats. Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
Brian Paul authored
In the _mesa_get_format_color_encoding() and _mesa_get_srgb_format_linear() functions. Reviewed-by:
Marek Olšák <marek.olsak@amd.com>
-
José Fonseca authored
-
José Fonseca authored
Whitelist platforms instead of blacklisting, as several pthread implementations are missing pthread_barrier_t, in particular MacOSX.
-
José Fonseca authored
-
José Fonseca authored
Became apparent with the C11 thread changes. Unfortunately I didn't have all dependencies to build the driver, and only noticed this issue on build server.
-
José Fonseca authored
On Windows64.
-
José Fonseca authored
-
José Fonseca authored
Reviewed-by:
Brian Paul <brianp@vmware.com> Reviewed-by:
Ian Romanick <ian.d.romanick@intel.com> Reviewed-by:
Chad Versace <chad.versace@linux.intel.com>
-
José Fonseca authored
Reviewed-by:
Brian Paul <brianp@vmware.com> Reviewed-by:
Chad Versace <chad.versace@linux.intel.com>
-
José Fonseca authored
Note that PIPE_ROUTINE now returns an int. Reviewed-by:
Brian Paul <brianp@vmware.com> Reviewed-by:
Chad Versace <chad.versace@linux.intel.com>
-
José Fonseca authored
Implementation is based of https://gist.github.com/2223710 with the following modifications: - inline implementatation - retain XP compatability - add temporary hack for static mutex initializers (as they are not part of the stack but still widely used internally) - make TIME_UTC a conditional macro (some system headers already define it, so this prevents conflict) - respect HAVE_PTHREAD macro Reviewed-by:
Brian Paul <brianp@vmware.com> Acked-by:
Ian Romanick <ian.d.romanick@intel.com> Acked-by:
Chad Versace <chad.versace@linux.intel.com>
-
José Fonseca authored
Never used. Reviewed-by:
Brian Paul <brianp@vmware.com>
-
Timothy Arceri authored
Signed-off-by:
Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Timothy Arceri authored
Previously the reason we needed is_array was because we used array_size == NULL to represent both non-arrays and unsized arrays. Now that we use a non-NULL array_specifier to represent an unsized array, is_array is redundant. Signed-off-by:
Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Timothy Arceri authored
We need to insert outermost dimensions in the correct spot otherwise the dimension order will be backwards Signed-off-by:
Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Timothy Arceri authored
Signed-off-by:
Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Timothy Arceri authored
array This change does not help fix or prevent any bugs it just seems reasonable to do Signed-off-by:
Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Timothy Arceri authored
Adds array specifier object to hold array information Signed-off-by:
Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Timothy Arceri authored
Signed-off-by:
Timothy Arceri <t_arceri@yahoo.com.au> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
No regressions on IVB (piglit quick + unit tests). v2 (Paul): - no need to patch the unit tests anymore. Original logic was altered and unit tests updated to match the fs-generator - lrp emission moves from the blorp compiler core into the emitter here (previously there was a separate refactoring patch which is not really needed anymore as the lrp logic got refactored when the original lrp logic got fixed). - pass 'BRW_BLORP_RENDERBUFFER_BINDING_TABLE_INDEX' to the generator in fs_inst::target instead of hardcoding it Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
Needed for compiling blorp blit programs. Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
The compiler for blorp programs likes to emit instructions for the message construction itself meaning that the generator needs to skip any such when blorp programs are translated for the hw. In addition, the binding table control is special for blorp programs and the generator does not need to update the binding tables associated with the compiler bookkeeping (this in fact gets thrown away as the blorp compiler sets the program data in its own way). v2 (Paul): do not hardcode the binding table index but use fs_inst::target instead. Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
Unit tests comparing generated blorp programs to known good need to have the dump in designated file instead of in default standard output. The comparison also expects the jump counters of if-else-instructions to be correctly set and hence the dump needs to be taken _after_ 'patch_IF_ELSE()' is run (the default dump of the fs_generator does this before). v2 (Paul): dropped the redundant 'dump_enabled' argument Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
v2 (Paul): renamed emit_if() to emit_cmp_if() Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
In addition, the special case requiring explicit execution size control is wrapped manually. Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
In addition, the two special cases requiring explicit execution size control are wrapped manually. Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
v2 (Paul): pass the combining opcode as an argument to emit_combine(). This keeps manual_blend_average() selfcontained documentation wise. Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
Resolving of the hardware message type is moved into the emitter also in preparation for switching to use fs_generator. The generator wants to translate the high level op-code into the message type and hence the emitter needs to know the original op-code. Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-
Topi Pohjolainen authored
v2: introduces 'SHADER_OPCODE_TXF_UMS' also for gen8 Signed-off-by:
Topi Pohjolainen <topi.pohjolainen@intel.com> Reviewed-by:
Paul Berry <stereotype441@gmail.com>
-