Displaying 3 results from an estimated 3 matches for "_maintaintexenvprogram".
2015 Aug 27
2
gallium state tracker calls calloc for 0 sizes arrays ?
...eg_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 libreoffice impress leads
to m...
2015 Aug 27
2
[Mesa-dev] gallium state tracker calls calloc for 0 sizes arrays ?
...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
&...
2015 Aug 27
3
[Mesa-dev] gallium state tracker calls calloc for 0 sizes arrays ?
...ddress (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...