5edc3381628d1db4468f31b1c66bb518146e35b5 |
|
09-Jan-2017 |
Kenneth Graunke <kenneth@whitecape.org> |
compiler: Merge shader_info's tcs and tes structs. Annoyingly, SPIR-V lets you specify all of these fields in either the TCS or TES, which means that we need to be able to store all of them for either shader stage. Putting them in a union won't work. Combining both is an easy solution, and given that the TCS struct only had a single field, it's pretty inexpensive. This patch renames the combined struct to "tess" to indicate that it's for tessellation in general, not one of the two stages. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/compiler/shader_info.h
|
a4fd84ef5f247f50a3683ecdf7f9d801a6e3cf15 |
|
25-Sep-2016 |
Kenneth Graunke <kenneth@whitecape.org> |
mesa: Introduce a compiler enum for tessellation spacing. It feels weird using GL_* enums in a Vulkan driver. v2: Fix the TESS_SPACING -> PIPE_TESS_SPACING conversion. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/compiler/shader_info.h
|
9bb89175e6487186389b69e8ee0b587d38ed8015 |
|
22-Nov-2016 |
Kenneth Graunke <kenneth@whitecape.org> |
compiler: Change shader_info->tes.vertex_order into a ccw boolean. The vertex order is either clockwise or counterclockwise. We can just store a "ccw" boolean rather than GLenum values. I don't want to use GLenums in a Vulkan driver, and even in GL a simple boolean works fine. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/compiler/shader_info.h
|
8a69ae5345045af4642145ad0bcfd1314d4d949e |
|
31-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa/compiler: add local_size_variable to shader_info This will be used in api_validate.c in a following patch when we switch to using gl_program pointers for the pipelines CurrentProgram array. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/compiler/shader_info.h
|
0de6f6223ab917ec532e3fe3afd14f8f5cd3b87b |
|
31-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
mesa/compiler: add stage to shader_info This will allow us to simplify the current program logic for SSO. Also since we aim to detach shader_info from nir_shader this will come in handy avoiding passing nir_shader around just to keep track of the stage we are dealing with. V2: set stage for arb asm programs also. Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/compiler/shader_info.h
|
039d836d6ea5621ede88ff3504be841a6dd865c6 |
|
30-Nov-2016 |
Lionel Landwerlin <lionel.g.landwerlin@intel.com> |
mesa: add support for GL_INTEL_conservative_rasterization Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Chris Forbes <chrisforbes@google.com>
/external/mesa3d/src/compiler/shader_info.h
|
848138689298c11e7825029484cbaa825cd36b36 |
|
06-Dec-2016 |
Plamena Manolova <plamena.manolova@intel.com> |
mesa: Add GL and GLSL plumbing for ARB_post_depth_coverage for i965 (gen9+). This extension allows the fragment shader to control whether values in gl_SampleMaskIn[] reflect the coverage after application of the early depth and stencil tests. Signed-off-by: Plamena Manolova <plamena.manolova@intel.com> Reviewed-by: Chris Forbes <chrisforbes@google.com>
/external/mesa3d/src/compiler/shader_info.h
|
c447ca64c13f386474e518e0e8dd523ee24507fe |
|
04-Oct-2016 |
Kenneth Graunke <kenneth@whitecape.org> |
compiler: Store the clip/cull distance array sizes in shader_info. We switched from a boolean to array lengths in gl_program a while back. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/compiler/shader_info.h
|
8af1b2a2ce661ffa09c6dd83988158d2afd5ccb7 |
|
16-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
compiler: remove now unused copy_shader_info() declaration Left over from 4ac66861 Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/compiler/shader_info.h
|
29ade71af97ad32c9f5999d99c0f5e6dc91687b6 |
|
16-Nov-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
compiler: include shader_enums.h in shader_info.h We make use of some enums here. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/compiler/shader_info.h
|
54095ed8b9c98701e1fe1e9f8332f9bb34ccdbfa |
|
13-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
compiler: add additional cs metadata fields to shader info And copy values from GLSL. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/compiler/shader_info.h
|
b99ecaf8724cf7fac29dbc2851c3be13d0fed5b2 |
|
13-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
compiler: add input primative field for gs in shader info And copy the value from GLSL. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/compiler/shader_info.h
|
088c25bfb7d77e2a23af7cc8c3357f4c5228c757 |
|
13-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
compiler: add fields for tes metadata to shader info And copy the values from gl_tess_eval_program struct. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/compiler/shader_info.h
|
9d2b391165e64f3c64021e5a563037e0ccc09d84 |
|
19-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
glsl: add temporary copy_shader_info() function This function is added here to ease refactoring towards using the new shared shader_info. Once refactoring is complete and values are set directly it will be removed. We call it from _mesa_copy_linked_program_data() rather than glsl_to_nir() so that the values will be set for all drivers. In order to do this some calls need to be moved around so that we make sure to call do_set_program_inouts() before _mesa_copy_linked_program_data() Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/compiler/shader_info.h
|
094fe3a9591ce200162d955635eee577c13f9324 |
|
13-Oct-2016 |
Timothy Arceri <timothy.arceri@collabora.com> |
nir: move nir_shader_info to a common compiler header This will allow use to stop copying values between structs and will also simplify handling handling these values in the shader cache. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
/external/mesa3d/src/compiler/shader_info.h
|