Signed-off-by: Chris Forbes DrawBuffer->Visual.samples;
return;
+ case STATE_SAMPLE_POSITIONS:
+ {
+ int i;
+ for (i = 0; i < ctx->DrawBuffer->Visual.samples; i++) {
+ctx->Driver.GetSamplePosition(ctx, ctx->DrawBuffer, i, &value[2 *
i]);
+ }
+
Signed-off-by: Chris Forbes
---
src/glsl/builtin_variables.cpp | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/glsl/builtin_variables.cpp b/src/glsl/builtin_variables.cpp
index 4d44104..796e18e 100644
--- a/src/glsl/builtin_variables.cpp
+++ b/src/glsl/builtin_variables.cpp
@@ -34,6
Without the rebind, the function enables generic vertex attributes 0 and 1 of
the
array object it does not own. This was causing crashes in Euro Truck Simulator
2,
since the enabled generic attribute 0 got precedence before vertex position
attribute
at later time, leading to NULL pointer derefer
- Original Message -
> On Fri, Nov 8, 2013 at 9:55 AM, wrote:
> > From: José Fonseca
> >
> > By disabling DRI3 support for the time being.
> >
> > I'll add DRI3 support to scons build when the DRI3 dependencies become
> > more widely available (as now there is no convenient way of test
On 10 November 2013 00:51, Chris Forbes wrote:
> Here is the driver-independent part of ARB_gpu_shader5's
> interpolateAtCentroid, interpolateAtOffset builtins.
>
> Before I go further with this approach, I'd like feedback on the following:
>
> 1) I've (ab)used ir_var_shader_in variable mode in f
Will be used to implement interpolateAtCentroid() from ARB_gpu_shader5.
Signed-off-by: Chris Forbes
---
src/glsl/ir.cpp| 2 ++
src/glsl/ir.h | 9 -
src/glsl/ir_builder.cpp| 6 ++
src/glsl/ir_builder.h
Signed-off-by: Chris Forbes
---
src/glsl/builtin_functions.cpp | 19 +++
1 file changed, 19 insertions(+)
diff --git a/src/glsl/builtin_functions.cpp b/src/glsl/builtin_functions.cpp
index 3ea3a3f..c55115c 100644
--- a/src/glsl/builtin_functions.cpp
+++ b/src/glsl/builtin_functio
Will be used to implement interpolateAtOffset() and
interpolateAtSample() from ARB_gpu_shader5.
Signed-off-by: Chris Forbes
---
src/glsl/ir.cpp| 2 ++
src/glsl/ir.h | 10 +-
src/glsl/ir_builder.cpp| 6 ++
Here is the driver-independent part of ARB_gpu_shader5's
interpolateAtCentroid, interpolateAtOffset builtins.
Before I go further with this approach, I'd like feedback on the following:
1) I've (ab)used ir_var_shader_in variable mode in function signatures to
enforce the strange restrictions inte
Signed-off-by: Chris Forbes
---
src/glsl/builtin_functions.cpp | 18 ++
1 file changed, 18 insertions(+)
diff --git a/src/glsl/builtin_functions.cpp b/src/glsl/builtin_functions.cpp
index 8cb75e5..3ea3a3f 100644
--- a/src/glsl/builtin_functions.cpp
+++ b/src/glsl/builtin_function
10 matches
Mail list logo