Displaying 4 results from an estimated 4 matches for "fragmentprogram".
2015 Aug 27
2
gallium state tracker calls calloc for 0 sizes arrays ?
...sizeof(struct ureg_src));
With the regular glibc malloc these both succeed as it actually
returns a valid memory address (posix says it may also return NULL)
I believe that the fragment program in question comes from:
src/mesa/main/state.c update_program() and then from the
else if (ctx->FragmentProgram._MaintainTexEnvProgram) {
/* Use fragment program generated from fixed-function state */
}
block.
Interestingly enough if I allow malloc(0) to proceed from ElectricFence,
then the glretrace runs fine, and even renders correctly, where as
running the same gl command stream from libreof...
2007 Feb 21
1
blur plugin and GL_ARB_fragment_program extension
The blur plugin has GL_ARB_fragment_program extension as a prerequisite.
At least that's what I'm getting by looking at screen.c.
I think there should be a check for the "CompScreen::fragmentProgram"
flag somewhere in blur.c to prevent it from loading or at least
executing a <null> pointer.
I get a crash in line blur.c:1858, because
CompScreen::programEnvParameter4f is zero.
I have a NV28 with 1.0-9631 binary drivers and a rv250 with Xorg7.1
drivers, none of which have the abo...
2015 Aug 27
2
[Mesa-dev] gallium state tracker calls calloc for 0 sizes arrays ?
...se both succeed as it actually
>> returns a valid memory address (posix says it may also return NULL)
>>
>> I believe that the fragment program in question comes from:
>>
>> src/mesa/main/state.c update_program() and then from the
>>
>> else if (ctx->FragmentProgram._MaintainTexEnvProgram) {
>> /* Use fragment program generated from fixed-function state */
>>
>> }
>>
>> block.
>>
>> Interestingly enough if I allow malloc(0) to proceed from ElectricFence,
>> then the glretrace runs fine, and even render...
2015 Aug 27
3
[Mesa-dev] gallium state tracker calls calloc for 0 sizes arrays ?
...a valid memory address (posix says it may also return NULL)
>>>>
>>>> I believe that the fragment program in question comes from:
>>>>
>>>> src/mesa/main/state.c update_program() and then from the
>>>>
>>>> else if (ctx->FragmentProgram._MaintainTexEnvProgram) {
>>>> /* Use fragment program generated from fixed-function state */
>>>>
>>>> }
>>>>
>>>> block.
>>>>
>>>> Interestingly enough if I allow malloc(0) to proceed from ElectricFence...