search for: glsl_type

Displaying 7 results from an estimated 7 matches for "glsl_type".

2015 May 24
19
[RFC PATCH 00/11] Implement ARB_cull_distance
...st_to_hir.cpp | 14 + src/glsl/builtin_variables.cpp | 13 +- src/glsl/glcpp/glcpp-parse.y | 3 + src/glsl/glsl_parser_extras.cpp | 1 + src/glsl/glsl_parser_extras.h | 3 + src/glsl/glsl_types.cpp | 8 +- src/glsl/glsl_types.h | 10 +- src/glsl/ir_optimization.h | 1 + src/glsl/link_varyings.cpp | 17 +- src/glsl/link_varyings.h | 3 +- src/glsl/linke...
2015 May 24
2
[Mesa-dev] [PATCH 07/11] glsl: Add arb_cull_distance support
...gt;Const.MaxClipPlanes); > } > } > > diff --git a/src/glsl/builtin_variables.cpp b/src/glsl/builtin_variables.cpp > index 6806aa1..78c8db2 100644 > --- a/src/glsl/builtin_variables.cpp > +++ b/src/glsl/builtin_variables.cpp > @@ -298,7 +298,7 @@ public: > const glsl_type *construct_interface_instance() const; > > private: > - glsl_struct_field fields[10]; > + glsl_struct_field fields[11]; > unsigned num_fields; > }; > > @@ -600,6 +600,12 @@ builtin_variable_generator::generate_constants() > add_const("gl_MaxVaryi...
2015 May 24
2
[RFC PATCH 00/11] Implement ARB_cull_distance
...gt;> src/glsl/builtin_variables.cpp | 13 +- >> src/glsl/glcpp/glcpp-parse.y | 3 + >> src/glsl/glsl_parser_extras.cpp | 1 + >> src/glsl/glsl_parser_extras.h | 3 + >> src/glsl/glsl_types.cpp | 8 +- >> src/glsl/glsl_types.h | 10 +- >> src/glsl/ir_optimization.h | 1 + >> src/glsl/link_varyings.cpp | 17 +- >> src/glsl/link_varyings.h...
2015 May 24
2
[RFC PATCH 00/11] Implement ARB_cull_distance
....cpp | 13 +- >>>> src/glsl/glcpp/glcpp-parse.y | 3 + >>>> src/glsl/glsl_parser_extras.cpp | 1 + >>>> src/glsl/glsl_parser_extras.h | 3 + >>>> src/glsl/glsl_types.cpp | 8 +- >>>> src/glsl/glsl_types.h | 10 +- >>>> src/glsl/ir_optimization.h | 1 + >>>> src/glsl/link_varyings.cpp | 17 +- >>>>...
2017 Jun 11
0
[RFC 3/9] st/glsl_to_tgsi: handle precise modifier
...letions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index c5d2e0fcd2..19f90f21fe 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -87,6 +87,13 @@ static int swizzle_for_type(const glsl_type *type, int component = 0) return swizzle; } +static unsigned is_precise(const ir_variable *ir) +{ + if (!ir) + return 0; + return ir->data.precise || ir->data.invariant; +} + /** * This struct is a corresponding struct to TGSI ureg_src. */ @@ -296,6 +303,7 @@ public:...
2017 Jun 11
14
[RFC 0/9] Add precise/invariant semantics to TGSI
Running Tomb Raider on Nouveau I found some flicker caused by ignoring precise modifiers on variables inside Nouveau. This series add precise/invariant handling to TGSI, which can be then used by drivers to disable certain unsafe optimisations which may otherwise alter calculations, which depend on having the same result across shaders. This series fixes this bug in Tomb Raider and one CTS test
2013 Nov 07
3
FreeBSD10-Beta3: No xorg-server-1.12.4
Hi: The FreeBSD10-Beta3 kernel is recompiled successfully with the following in /etc/make.conf WITH_NEW_XORG=yes WITH_KMS=yes WITH_GALLIUM=yes But after installworld, there is no sight of new xorg-server-1.12.4 in pkg cache nor in /usr/ports: How to install new xorg and where is the source? # pkg search xorg linux-f10-xorg-libs-7.4_1 xorg-7.7 xorg-apps-7.7 xorg-cf-files-1.0.5_1